problem concating (>>) to a large file

Eric Blake
Fri May 25 12:46:00 GMT 2007

Hash: SHA1

According to Brian Dessent on 5/25/2007 2:17 AM:
>> Until recently in cygwin I could just type:
>>             cat B >> A
> I think there is a newlib bug (or maybe it's a Cygwin bug) where
> stdin/stdout start off opened in 32 bit mode.  I'm not sure of the
> details, and all I know about it is from observing that Eric Blake has
> been working on compensating for this dilemma in gnulib as it seems to
> cause problems seeking in some circumstances.

Now that you mention it, I guess I could release an updated version of
coreutils where cat uses this gnulib fix to work around the issue in
1.5.24, rather than requiring uses to upgrade to snapshots.  But that only
fixes cat.  The problem is that since the bug is in newlib, the choice is
either hacking every app that deals with stdin, or just updating cygwin.

- --
Don't work too hard, make some time for fun as well!

Eric Blake   
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at
Comment: Using GnuPG with Mozilla -


Unsubscribe info:
Problem reports:

More information about the Cygwin mailing list