delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/01/18/17:22:31

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,SPF_SOFTFAIL
X-Spam-Check-By: sourceware.org
Message-ID: <4973ABA7.2040908@byu.net>
Date: Sun, 18 Jan 2009 15:22:31 -0700
From: Eric Blake <ebb9 AT byu DOT net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.19) Gecko/20081209 Thunderbird/2.0.0.19 Mnenhy/0.7.5.666
MIME-Version: 1.0
To: cygwin AT cygwin DOT com, mailinglist AT dazjorz DOT com
Subject: Re: GNU coreutils does not work on Cygwin because of freopen() ?
References: <49738867 DOT 702 AT dazjorz DOT com> <49739D07 DOT 7020507 AT cygwin DOT com> <49739E38 DOT 5080305 AT dazjorz DOT com> <4973A2B1 DOT 9060601 AT users DOT sourceforge DOT net> <4973A927 DOT 1010003 AT dazjorz DOT com>
In-Reply-To: <4973A927.1010003@dazjorz.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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 Sjors Gielen on 1/18/2009 3:11 PM:
>> cygwin bash maintainer hasn't managed to send upstream yet...
> [snip]
>> ?? Are you using an old version??  It should be fixed by now.
>>
>> http://www.mail-archive.com/bug-coreutils AT gnu DOT org/msg10188.html
> 
> Oooh. Can I get a list of patches the Cygwin project has already applied
> to packages? :)

Yes.  Use setup.exe, and select the "src" checkbox next to coreutils (or
any other package where you want to know what went into the cygwin
version).  For coreutils, that will get you all of my cygwin-specific
patches to coreutils.

> So this bug was fixed in Cygwin's version of GNU coreutils, but not in
> Debian's version of GNU coreutils. Has a patch for that been sent
> upstream? I took GNU coreutils from Debian sid, which should be almost
> as up to date as it gets...

Debian coreutils does not care about cygwin-specific patches, and the
freopen in question, while it is indeed buggy upstream, only affects
cygwin and other platforms that define O_BINARY.  Since that excludes
debian, then debian's fork of coreutils has no reason to patch it.

- --
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.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAklzq6cACgkQ84KuGfSFAYC0ogCfSvjhCtwLoUbTlLV7S4GR2HFV
wpkAoLdjblp/mz+7OhrIcIk3jZTDv01E
=xvRw
-----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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019