From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/3938 Path: news.gmane.org!not-for-mail From: Szabolcs Nagy Newsgroups: gmane.linux.lib.musl.general Subject: Re: SUN_LEN Date: Wed, 21 Aug 2013 16:45:52 +0200 Message-ID: <20130821144552.GD30088@port70.net> References: <5214AC94.9090408@barfooze.de> <5214B4CF.4090202@barfooze.de> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1377096368 28905 80.91.229.3 (21 Aug 2013 14:46:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 21 Aug 2013 14:46:08 +0000 (UTC) To: musl@lists.openwall.com, yukoba@accelart.jp Original-X-From: musl-return-3942-gllmg-musl=m.gmane.org@lists.openwall.com Wed Aug 21 16:46:09 2013 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1VC9fh-0002KP-Hl for gllmg-musl@plane.gmane.org; Wed, 21 Aug 2013 16:46:05 +0200 Original-Received: (qmail 19894 invoked by uid 550); 21 Aug 2013 14:46:04 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 19885 invoked from network); 21 Aug 2013 14:46:04 -0000 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Xref: news.gmane.org gmane.linux.lib.musl.general:3938 Archived-At: * ?$B>.NSM* [2013-08-21 22:27:22 +0900]: > > So is this mean, you don't want to add glibc non-standard APIs to musl? i think SUN_LEN can be added, but it should be under _BSD_SOURCE because it violates the posix namespace #if defined(_BSD_SOURCE) || defined(_GNU_SOURCE) #define SUN_LEN(s) (sizeof *(s) - sizeof (s)->sun_path + strlen((s)->sun_path)) #endif