X-Spam-Check-By: sourceware.org Message-ID: <4656D65B.3020203@byu.net> Date: Fri, 25 May 2007 06:28:11 -0600 From: Eric Blake User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.10) Gecko/20070221 Thunderbird/1.5.0.10 Mnenhy/0.7.5.666 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: problem concating (>>) to a large file References: <001201c79ea3$4d82bce0$8500a8c0 AT RUSNAK> <46569B8B DOT 1C15A76E AT dessent DOT net> In-Reply-To: <46569B8B.1C15A76E@dessent.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com -----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 AT byu DOT 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/