From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/1805 Path: news.gmane.org!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: Best bikeshed ever (feature test macros) Date: Sun, 2 Sep 2012 11:44:59 -0400 Message-ID: <20120902154458.GB27715@brightrain.aerifal.cx> References: <20120824214138.GA17792@brightrain.aerifal.cx> <9fa94dd223adf9ad8f60fe1e1b653bed@exys.org> <20120902151918.GA27715@brightrain.aerifal.cx> 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 1346600569 29572 80.91.229.3 (2 Sep 2012 15:42:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 2 Sep 2012 15:42:49 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-1806-gllmg-musl=m.gmane.org@lists.openwall.com Sun Sep 02 17:42:51 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 1T8CK3-0000UB-4q for gllmg-musl@plane.gmane.org; Sun, 02 Sep 2012 17:42:51 +0200 Original-Received: (qmail 13440 invoked by uid 550); 2 Sep 2012 15:42:48 -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 13432 invoked from network); 2 Sep 2012 15:42:47 -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:1805 Archived-At: On Sun, Sep 02, 2012 at 05:27:26PM +0200, Arvid E. Picciani wrote: > On Sun, 2 Sep 2012 11:19:18 -0400, Rich Felker wrote: > > >If software is already correctly using feature test macros, it's > >getting an environment it selected, not the default environment, so > >changing the default will have no effect on such software. > > I see, thanks. But then there is no software that benefits from the > default kitchen sink. > So it seems like a pseudo option put up just to show how bad it is :) Well, glibc seems to be the only major system that's essentially locked the default profile to a certain point in history, and forced the use of a feature test macro to access even its own newer features. Most of the BSDs reportedly make (their version of) the kitchen sink available by default, so such a behavior might be more compatible with certain software that was intended only for use on BSD. Aside from that, I agree that option 2 is mostly a pseudo-option. Rich