X-Original-To: alpine-devel@lists.alpinelinux.org Received: from mail-qk0-f180.google.com (mail-qk0-f180.google.com [209.85.220.180]) by lists.alpinelinux.org (Postfix) with ESMTP id 9384E5C4A03 for ; Tue, 31 Jan 2017 19:25:29 +0000 (GMT) Received: by mail-qk0-f180.google.com with SMTP id u25so174921752qki.2 for ; Tue, 31 Jan 2017 11:25:29 -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=P3mQ8qw/LkSYcp7RZWEkz5ykSJpVB5Q8sEtdGG0ZNfo=; b=jD9MhjL0YRR8JwmSWoGNeKS19NO5A2qHVSi1RZ5wieGGIz5kcDMkY56Wjj/fihgRnf mYau7lbCuWcIUvUF9QPPlIFgVUahtbwReU8ojfnHK98w8wb+epN8EWT/G83Cg8IwQeI/ 6/diGK6q4+i57ny5/v98YTAjfTo7mNONK/8cYMNkvQ6ynO8GMuAoauL6qDdtuNVaX0xL fK2mUPuWWFN4gZ1aEosIU7JnSs1wrvDxD6Pg32SyvsvFGByo9mVUGsMAp442eL0A/pPs +QfPIJSwqotFPUm6IEcfvL8LTB5bFNKqgTH97PA4JHVZMPmgf0A5DBXW+XVKVBSVNR1S qDYQ== 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=P3mQ8qw/LkSYcp7RZWEkz5ykSJpVB5Q8sEtdGG0ZNfo=; b=YePacCHjD6gtwr3lwJrwCnUM3lXrKVmrwU5RKaUk298BfmTSd3HVGZSXKjZQ6xm4Hr 24p4DfargLYMvAFJpubrMhVuh8raokpsU0HJlWPT8x7mSGGEfP+oRL7K4wWVmo+oah0z fvoevKACtSa3LMrRcg6LZg7FTPg+7zucrilZI/L6v0lgqlz3trKzGHb84ZdAK/cR1FNi vIiFjtegMgK7wNmOOPDjVwFQiCqlghCHORxkeRPwX2kJfjQI8L7ZBVCkQeGSdvv1oHYH fu2qkMOJacSVEbHcYaCfmppAergK5q8OhaX9MDFZ5QL/kEoG7+jNa5jfqMMlX2hkyHAi 8OhQ== X-Gm-Message-State: AIkVDXIYEmiVPn1HOgtZ4CGQJsng4BK3+BwxZDbC24wdjryjBV+PqyTZYVQQD4cNH9ND3jbbYM/dqrpK82pd4A== X-Received: by 10.55.77.77 with SMTP id a74mr31458150qkb.265.1485890729141; Tue, 31 Jan 2017 11:25:29 -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 11:25:28 -0800 (PST) In-Reply-To: <717ca2a3-d579-4ab6-ace2-1bc0dbbb111c@skogtun.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> From: William Pitcock Date: Tue, 31 Jan 2017 13:25:28 -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 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. > > > This is from a conversation with Snobol maintainer Phil Budne: > >> > This one is from an old Asus EeePC 900, running AlpineLinux, which uses >> > the musl libc instead of glibc. A compile error ('IPPORT_RESERVED' >> > undeclared) in 'lib/auxil/bindresvport.c' was fixed by >> > '#include ' > > Thanks! > > I'd report it as a bug in libc.... IPPORT_RESERVED is a property of > on the wire protocol (or at least the local TCP stack), while > is the interface for hostname lookups. 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. William --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---