From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/2168 Path: news.gmane.org!not-for-mail From: John Spencer Newsgroups: gmane.linux.lib.musl.general Subject: Re: [PATCH 2/4] Add basic sys/cdefs.h found on most unix Date: Sun, 21 Oct 2012 02:39:49 +0200 Message-ID: <50834455.3070407@barfooze.de> References: <1350764145-10305-1-git-send-email-awg@embtoolkit.org> <1350764145-10305-3-git-send-email-awg@embtoolkit.org> <20121020161841.ef32cdd2.idunham@lavabit.com> <5083360C.3020602@embtoolkit.org> <20121020233852.GS254@brightrain.aerifal.cx> <50833E3B.1070003@embtoolkit.org> <20121021001118.GW254@brightrain.aerifal.cx> <508343F9.6050007@embtoolkit.org> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1350780022 5071 80.91.229.3 (21 Oct 2012 00:40:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 21 Oct 2012 00:40:22 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-2169-gllmg-musl=m.gmane.org@lists.openwall.com Sun Oct 21 02:40:30 2012 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 1TPjae-0005Qo-1A for gllmg-musl@plane.gmane.org; Sun, 21 Oct 2012 02:40:28 +0200 Original-Received: (qmail 28057 invoked by uid 550); 21 Oct 2012 00:40:20 -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 28049 invoked from network); 21 Oct 2012 00:40:20 -0000 User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.14) Gecko/20110221 SUSE/3.1.8 Mail/1.0 In-Reply-To: <508343F9.6050007@embtoolkit.org> Xref: news.gmane.org gmane.linux.lib.musl.general:2168 Archived-At: On 10/21/2012 02:38 AM, Abdoulaye Walsimou GAYE wrote: > On 10/21/2012 02:11 AM, Rich Felker wrote: >> As it stands, these libraries/apps won't work anywhere but GNU/Linux >> (by "GNU/" I mean glibc-based) or BSD. If the offending code is >> removed and replaced with what should be there, they'd be a lot more >> portable. So I would not say sys/cdefs.h aids in porting them; I'd say >> its presence gives these libs/apps a way to be lazy and >> non-portable... > > I am not the writer of these applications and going to patch old > applications > that are there for a while is just not an option. why not ? > > > May be it is incorrect, unfortunately it there for a while and some > applications > rely on it. > and can be patched easily, as sabotage does for example.