From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/10997 Path: news.gmane.org!.POSTED!not-for-mail From: "A. Wilcox" Newsgroups: gmane.linux.lib.musl.general Subject: Re: Re: [alpine-devel] Non-standard C library Date: Tue, 31 Jan 2017 13:08:07 -0600 Organization: =?UTF-8?Q?Ad=c3=a9lie_Linux?= Message-ID: <5890E097.1060601@adelielinux.org> References: <20170126112655.44ad5c0e@vostro.util.wtbts.net> <4EDA0683-3991-44D0-882C-C34FBD4C38B2@jirutka.cz> <5blaf1.okfi73.2tnq26-qmf@gmx.com> <5890704A.8090402@mail.com> <717ca2a3-d579-4ab6-ace2-1bc0dbbb111c@skogtun.org> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1485889712 11192 195.159.176.226 (31 Jan 2017 19:08:32 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 31 Jan 2017 19:08:32 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 To: musl@lists.openwall.com Original-X-From: musl-return-11012-gllmg-musl=m.gmane.org@lists.openwall.com Tue Jan 31 20:08:24 2017 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by blaine.gmane.org with smtp (Exim 4.84_2) (envelope-from ) id 1cYdmy-0002b7-CA for gllmg-musl@m.gmane.org; Tue, 31 Jan 2017 20:08:24 +0100 Original-Received: (qmail 9960 invoked by uid 550); 31 Jan 2017 19:08:28 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 9936 invoked from network); 31 Jan 2017 19:08:27 -0000 X-Enigmail-Draft-Status: N1110 In-Reply-To: Xref: news.gmane.org gmane.linux.lib.musl.general:10997 Archived-At: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 31/01/17 12:50, William Pitcock wrote: > On Tue, Jan 31, 2017 at 12:22 PM, Harald Arnesen > wrote: >> musl defines "IPPORT_RESERVED" in "netdb.h", while both GNU libc >> and BSD libc define it in "netinet/in.h". And I can't find an >> e-mail address for a musl developer without subscribing to their >> mailing list. POSIX.1-2008 clearly says IPPORT_RESERVED shall be defined in : http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/netdb.h.html .... > I checked on both a Debian and FreeBSD machine and indeed, they > both have it in netinet/in.h. .... however, POSIX.1-2008 also clearly says "may also make visible all symbols from ". > What shall we do? Theoretically, the code they are compiling is wrong; POSIX only guarantees the definition in . However, there is a bit of leeway in the standard since may include all symbols from ; if it's defined there, can pull that header in providing the definition. I would say that the best thing to do in the interests of compatibility would be to put the definition in *and* fix whatever broken project that is (Snobol?) to include . This is what FreeBSD and glibc both do; define it in and include that header in . - --arw - -- A. Wilcox (awilfox) Project Lead, Adélie Linux http://adelielinux.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJYkOCRAAoJEMspy1GSK50Uuv4P/04VgUNWW2Dg50BNiF7zbvE8 KDEF6N781XwcwIO31+ndIRGWo0+CiHHtOHjyZ+Wspr6Zcu5/Lrpau/XAaPXHq/0B Tu64tZxoCBuuXpyqu+fKR/wxyXDEY0YD7SRnLQc4k5QwjskAKPnt1UyvsC6pmwaW Jy+zj91cVWlthfoFzNigprhIJ3TPCFRlZCnmnzDvK2hQZRNTR70LXpSN7ZoZjIl5 xxHVsErjMA9PWTeyFLYJ72rAwTvuFgszD9Gqo8o2WcAr8VKpdgjeoFcmC017fEHr ajQcmpbCrEeo7stMRu7lGmoktnOnA+UAnNrTak44Eic2n6bNrK29Sa6TuB4xEg3u 3+NH/jMA8lsoMtOrdiCtLio56pU8eezP5Z4JDQE0RhKXonAF7io87FNIdJ3s6z/6 dMHXDb69hSxS60YEX1S/5djFbfXkv8PkfEsdu+e5mSTOVmFBK/FyAj52q3rrvz17 rkdYH7i0EBQJnYB2B4SKjJrgrVDBAETxue/H5sdbLFKqryMS3HPEdsJSR2Ks2Aj5 pJmdhAG3upsgMgPuyLzHcOUec3dytRIE6zo45bHgTtFuWN8031bajovp9G3Wigyj vMDKxlNI4vwW4YQd4P5bd8ZuHzBnwvF65+AOW+yMahEzURz87X6FVm1u+xEZlV1d gE5t9bvOnDE7+1VRtfwo =xIKa -----END PGP SIGNATURE-----