www.delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
DomainKey-Signature: | a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:date:from:to:subject:message-id:reply-to | |
:references:mime-version:content-type:in-reply-to; q=dns; s= | |
default; b=Gr1uxEnvFXub2nBC2u7RZ6Uq6+7SIOJTGebj9ecJ/X4IVOHyoBolD | |
HOHDZfGpbUgaXRIkLWzZyR5HiP4kpUANiQl1UjPpYI9SMK3x/QQGVkujxsdWShPr | |
j7no6pDhapirI+Mycju9cuQ/mLdb0D9D+qD98/vWbN6tWcHvVqJY28= | |
DKIM-Signature: | v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:date:from:to:subject:message-id:reply-to | |
:references:mime-version:content-type:in-reply-to; s=default; | |
bh=UHKlQIEcDV/smAZGohM2M2Yv6Q0=; b=HDDhr7C188JpIpmpLhNBch/Esgrx | |
QlEHw7TZypg2jn3dBDqKtYapOGvpeYFwuCYprn2EWENWSTednnMup517ctZ0AvXv | |
9K+MJswoyygmPtk3PXyH8A2n8rTXoLiPvWdhEOlG72dBULG5nXiwaAW1I5b0w8Qn | |
C9jouMogWyGIOA8= | |
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 |
Authentication-Results: | sourceware.org; auth=none |
X-Virus-Found: | No |
X-Spam-SWARE-Status: | No, score=-4.5 required=5.0 tests=AWL,BAYES_20,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2 |
X-HELO: | calimero.vinschen.de |
Date: | Sat, 2 May 2015 15:09:40 +0200 |
From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: [64bit] cygwin-devel headers broken |
Message-ID: | <20150502130940.GA12723@calimero.vinschen.de> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <554279F0 DOT 5040505 AT towo DOT net> <5543090D DOT 9030409 AT gmail DOT com> <55436D3A DOT 2050200 AT dronecode DOT org DOT uk> <5543BEAE DOT 3000703 AT towo DOT net> <5543DE10 DOT 7060206 AT gmail DOT com> <5543E431 DOT 6060203 AT redhat DOT com> |
MIME-Version: | 1.0 |
In-Reply-To: | <5543E431.6060203@redhat.com> |
User-Agent: | Mutt/1.5.23 (2014-03-12) |
--VS++wcV0S1rZb1Fb Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On May 1 14:38, Eric Blake wrote: > On 05/01/2015 02:12 PM, Marco Atzeri wrote: > >>> It seems that sys/select.h is no longer implicitly included by some > >>> other header, I think probably sys/time.h. >=20 > POSIX says: >=20 > http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/sys_time.h.html#= tag_13_64 >=20 > "Inclusion of the <sys/time.h> header may make visible all symbols from > the <sys/select.h> header." >=20 > which means <sys/time.h> may (but not must) pollute the namespace with > select(). This means two things: >=20 > 1. Portable applications should not depend on the pollution (so > reporting it to upstream projects is the right thing to do) >=20 > 2. Cygwin should do better at emulating Linux and include the namespace > pollution, for the sake of applications that have not yet been patched. I screwed that up, didn't I? This is a result of the newlib change to sys/time.h. It has been updated to the latest stuff from FreeBSD in March. Before, we had a <cygwin/sys_time.h> header which defines futimes and lutimes. Since these symbols are now defined in newlib's new sys/time.h, I concluded razor-sharp, that we don't need the cygwin-specific cygwin/sys_time.h anymore. Unfortunately I missed the fact that this file also includes <sys/select.h>. > Anyone want to tackle the patch to cygwin's sys/time.h? I applied a patch. A new version of Cygwin has to wait until I'm back from vaca, sorry. Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --VS++wcV0S1rZb1Fb Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJVRMyUAAoJEPU2Bp2uRE+gzr8P/jzy39qU5SUn8V1yjBJzvVyK RxV4rn1VsdzzQImnEgbMQ8au0tUqsmSdKnDGnj7pY7DANpNTt7MnCyW07o5vLjd1 sKhW65oqel3/VkCyMeInil3RzJT4B55jENu5Y3NB3YFmaTgZB/zQf41D5EIvPy+X +brzBXjMRTpi0aj8dfE+077fwXS77UH5i2CPxYMR97Jq/vwTIaQqNNxc/cu3JWoO gSKlSQeXoqLDCpXFeQfSsRPYZ/V/AB/tKOq60/ulVHAkH3djRuqP9Jn6VeEhkEDq kDXXsQQsFWvZQjm60GDStVDY0OmohFSPZkMAafLqUmKamgHqBcfJfIZ7wvBLq88t dpsDpDebOgNKHH7jeZcjs8VVh6gGkCc7bAkU5/396umoB4ajwkkRV9l66ZVqE3Fs z3JrV2fnr4OdPiKYqGYVTznB6jjzGfb/Al2p996jw+E+7mnkX0NmQAxCb/eGqlfN NOTZ4CnguVftkbkYqmusos2ghMOR7aIt72YzSV9EfERlNjcMp43ej2ru3q0eNhC6 1p6qr+WTagX4GtBwRBufJ/IykySLZsa7fB3J4uTIhxZL9c7VK1HyWpmflJtw1N5m 2f9sqkAnpS2uhEvwV/x0qR0E0aOJtQC8tOEIBDIU8x+aaiftGcoqc21SMsJTtI9R oYIzVjhAr9HI9dCTUxPs =Ysrz -----END PGP SIGNATURE----- --VS++wcV0S1rZb1Fb--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |