X-Recipient: archive-cygwin@delorie.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:message-id:date:from:mime-version:to:subject
	:references:in-reply-to:content-type; q=dns; s=default; b=CuqdI1
	7lI2J2I81+FAP3Ugz2928mUsHG1e1MZG7wpz1QeeSvTlCCHPEEPWyi1qViBA82jz
	QUZhBwVknXywZPex+QuOZZDqVMP53PikUEWyuYtfG82QjCOmH9pLFrO2Ozfr2vTy
	EkBlP0CefE/C9bYhlEhXxCmrYHJXjtiUu7VHs=
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:message-id:date:from:mime-version:to:subject
	:references:in-reply-to:content-type; s=default; bh=fY5t+WBPalUf
	6dRD9VyZszUxowk=; b=Rm9jcPayddop8TpO8liDNH+Hpxkm1nLVI9rEr1BM76Ig
	LpGsmItk3uTYEbLNYmHs3xQF3k7zceLPfDuteBlMoTJnB1FlJge10sLRK09n4+l6
	XJzM8TJnRTQ23rSkUryLzt8MQX12wCbl+B1kmWNDe7IKm4uOEzEa/WptVs/QV9c=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.5 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,SPF_HELO_PASS,T_RP_MATCHES_RCVD autolearn=no version=3.3.2
X-HELO: mx1.redhat.com
Message-ID: <5543E431.6060203@redhat.com>
Date: Fri, 01 May 2015 14:38:09 -0600
From: Eric Blake <eblake@redhat.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: [64bit] cygwin-devel headers broken
References: <554279F0.5040505@towo.net> <5543090D.9030409@gmail.com> <55436D3A.2050200@dronecode.org.uk> <5543BEAE.3000703@towo.net> <5543DE10.7060206@gmail.com>
In-Reply-To: <5543DE10.7060206@gmail.com>
OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg
Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="adhigwVmKRaaMSQ7CFN81ajbELqKD71CG"
X-IsSubscribed: yes

--adhigwVmKRaaMSQ7CFN81ajbELqKD71CG
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

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.

POSIX says:

http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/sys_time.h.html#ta=
g_13_64

"Inclusion of the <sys/time.h> header may make visible all symbols from
the <sys/select.h> header."

which means <sys/time.h> may (but not must) pollute the namespace with
select().  This means two things:

1. Portable applications should not depend on the pollution (so
reporting it to upstream projects is the right thing to do)

2. Cygwin should do better at emulating Linux and include the namespace
pollution, for the sake of applications that have not yet been patched.

Anyone want to tackle the patch to cygwin's sys/time.h?

--=20
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org


--adhigwVmKRaaMSQ7CFN81ajbELqKD71CG
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
Comment: Public key at http://people.redhat.com/eblake/eblake.gpg
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBCAAGBQJVQ+QxAAoJEKeha0olJ0NqYe0H/0ycHAVSSEQdICrqmqQ1qwxf
VmoombCxg3oSF1l0QMffDu2TRv+2OYEOhn2kBtHb6jKCCJFziT0mPQvM9xt7Fo7x
bbXlh9mQickyJXZJ0mPbF4BxPmzLteYqkDNt0Tvm4wbNQK0dlgUHGEzhTEXLNiUb
GCKGb2LipLlcp99FXe4UBbruzHRsDtApC/QCkQzMLUJtJGnjeUgo4+vcJ7RF7Ird
V8US30pwTWK22KQqeGcCAniCtZSsI3Y3ypHBl46YO8HYRyP4Py0iKG+pgz2DSkQ1
obNty+MXPPtXyAwyjtj0W/KFjtW7jedo+eDb4Ts6UVYNYvc88miQsL789Bs2A8k=
=pqeq
-----END PGP SIGNATURE-----

--adhigwVmKRaaMSQ7CFN81ajbELqKD71CG--
