This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: problem concating (>>) to a large file


-----BEGIN PGP SIGNED MESSAGE-----
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             ebb9@byu.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGVtZb84KuGfSFAYARAmfrAJ9/ShI0kltP1So4I/pri8/diNG8TACeI0o/
+R1ZSw7x6lYzZvFVXIJEFsA=
=72Yh
-----END PGP SIGNATURE-----

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]