This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Remove _BSD_SOURCE and _SVID_SOURCE
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Roland McGrath <roland at hack dot frob dot com>
- Cc: <libc-alpha at sourceware dot org>
- Date: Tue, 11 Feb 2014 23:36:51 +0000
- Subject: Re: Remove _BSD_SOURCE and _SVID_SOURCE
- Authentication-results: sourceware.org; auth=none
- References: <Pine dot LNX dot 4 dot 64 dot 1312052315530 dot 16480 at digraph dot polyomino dot org dot uk> <20131216225338 dot 6FA7E7442E at topped-with-meat dot com> <Pine dot LNX dot 4 dot 64 dot 1312172307580 dot 3620 at digraph dot polyomino dot org dot uk> <20131220211322 dot F039874435 at topped-with-meat dot com> <Pine dot LNX dot 4 dot 64 dot 1402072338170 dot 12232 at digraph dot polyomino dot org dot uk> <20140211180457 dot 8963374448 at topped-with-meat dot com> <Pine dot LNX dot 4 dot 64 dot 1402112256080 dot 11759 at digraph dot polyomino dot org dot uk> <20140211232451 dot 33E8C74441 at topped-with-meat dot com>
On Tue, 11 Feb 2014, Roland McGrath wrote:
> > One thing I had in mind was eliminating (i.e. preventing newly linked
> > programs from using) the SVID matherr mechanism for libm error handling
> > and the _LIB_VERSION variable for setting the libm error handling
> > mechanism.
>
> Sounds reasonable, if there are no currentish standards that still
> incorporate those parts of the old SVID spec.
They're not in XPG4 (System Interfaces and Headers Issue 4, Version 2,
September 1994), which is the oldest such standard supported in glibc
(used to define -D_XOPEN_SOURCE - what conformtest calls XPG3 - and
-D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED - what conformtest calls XPG4).
Notes therein suggest they were removed between Issue 3 and Issue 4.
--
Joseph S. Myers
joseph@codesourcery.com