X-Original-To: alpine-devel@lists.alpinelinux.org Received: from mail-qk0-f196.google.com (mail-qk0-f196.google.com [209.85.220.196]) by lists.alpinelinux.org (Postfix) with ESMTP id 139EC5C422F for ; Tue, 31 Jan 2017 23:52:14 +0000 (GMT) Received: by mail-qk0-f196.google.com with SMTP id e1so26292647qkh.1 for ; Tue, 31 Jan 2017 15:52:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dereferenced-org.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=Fv6anmt3folbLp5M235SX+dKZv3MzhSB9LDzT+HJBQU=; b=IprNYa59VJnbaq0rqxnmTlV7pEidRjlTz/Io/toozILAgYszT/muBLdSOHyG7ttcHC E0w8gcfB+rviHrQHm/xGmY1YCqYGIrTwOOuTJzDPF6Og7vKKEziuExUms1ou8drB9WtN mkV2LetsPCqNOhwH1oZ9UxEkS6wcXNAQg34h0fF77ptxOtAmTmrBMo+IedHpnSd+VG2l av79YSngv49+IhoEElLJuxFn6HVHMhlfzGxyZBXnTHZrHJ3tzYFJGJzbvmc1Vm81dKhK LqFG7U1OusV4CUqsnOLKkknVDahlhwES3bB5wns/rxXiYsXsA7h+llW2pM+LkY4yi8P8 wsmA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=Fv6anmt3folbLp5M235SX+dKZv3MzhSB9LDzT+HJBQU=; b=trknQKMSqA2DKD9nGMqRA6HUrmcDPbdxvm15XYEouxsw35z4fMf8Jol6dhLAo2SlSc NzLAPoLBgvVbnTjCrfqQO+ek72AfI4b+YgfBNM5NANQu5ZTlDSU/nGLgd1tXB/xWgzqO lwpPZqQ4Flrr7e+87WHcI5Kapr49cjelQ4fqj4af9gOuuRi7iAyJ7XOeTRDc6DtZGF32 h8IDWhXBiB9Loacn7bQAIyQKjs6K4kpSOaoFhYK8AiPzSCbEQOFAGlsL6kBxsyJQJoEV yFT7Whq/Bqo8NP/UO0pvDpe6r0vXPgwtWSt/M+oRoH86BKkAOfSAEVbNS1+Wl2LXT2jo jksA== X-Gm-Message-State: AIkVDXJ5LhQ8/zFzP1sRKgeUO7Vpcy4BTAkaX0wn2cR83uC+tKZX9Dj+6gJMc/d0w/AaQe/aR0/ZqzJg5NjEfg== X-Received: by 10.55.148.133 with SMTP id w127mr32656881qkd.217.1485906733547; Tue, 31 Jan 2017 15:52:13 -0800 (PST) X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Received: by 10.200.1.17 with HTTP; Tue, 31 Jan 2017 15:52:12 -0800 (PST) In-Reply-To: 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> From: William Pitcock Date: Tue, 31 Jan 2017 17:52:12 -0600 Message-ID: Subject: Re: [alpine-devel] Non-standard C library To: Harald Arnesen Cc: alpine-dev Content-Type: text/plain; charset=UTF-8 Hello, On Tue, Jan 31, 2017 at 3:33 PM, Harald Arnesen wrote: > William Pitcock [2017-01-31 20:25]: > >> I asked about it on the musl list for you. They rejected the change >> request, citing POSIX: >> >> http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/netdb.h.html >> >> which explicitly says: >> >> "The header shall define the IPPORT_RESERVED symbolic >> constant with the value of the highest reserved Internet port number." >> >> Including both and is likely more portable >> than the Snobol maintainer's current approach, as well. > > And which operating systems follow that Posix standard? Almost all UNIX-like operating systems follow POSIX. GNU systems running on Glibc will pick up IPPORT_RESERVED from due to it's inclusion of . While in general, there is an argument which may be made for following implementation quirks of the past, depending on to provide IPPORT_RESERVED is not a requirement of POSIX. The solution I mentioned earlier will provide portability for systems which do not provide IPPORT_RESERVED in netinet/in.h without harming the build process. William --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---