glibc/manual
Joseph Myers c941736c92 Remove _BSD_SOURCE and _SVID_SOURCE.
This is a minimal patch to remove _BSD_SOURCE and _SVID_SOURCE from
the documented user API, making them into aliases for _DEFAULT_SOURCE
with a #warning given, but keeping most of the features.h logic using
those macros and all the exising __USE_* conditionals, on the basis
that all the consequent cleanups will go in followup patches.

Tested x86_64.

	* include/features.h: Update comment documenting feature test
	macros.
	[_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
	_DEFAULT_SOURCE.
	* manual/creature.texi (_BSD_SOURCE): Remove documentation.
	(_SVID_SOURCE): Likewise.
	(_DEFAULT_SOURCE): Update description of default features.
	(Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
	with _GNU_SOURCE.
	* manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
	(S_ISVTX): Likewise.
	* manual/math.texi (Mathematical Constants): Likewise.
	* manual/signal.texi (Interrupted Primitives): Likewise.
	* manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
	* math/test-matherr.c (_SVID_SOURCE): Do not define.
	* sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
	Don't refer to _SVID_SOURCE in warning text.
2014-02-11 23:40:07 +00:00
..
examples Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
argp.texi * manual/argp.texi: Document MTASC-safety properties. 2014-01-29 05:24:32 -02:00
arith.texi * manual/arith.texi: Document MTASC-safety properties. 2014-01-29 05:25:36 -02:00
charset.texi * manual/charset.texi: Document MTASC-safety properties. 2014-01-29 15:29:59 -02:00
check-safety.sh * manual/check-safety.sh: New. 2014-02-01 04:31:05 -02:00
conf.texi * manual/conf.texi: Document MTASC-safety properties. 2014-01-29 05:26:47 -02:00
contrib.texi Update contrib.texi 2014-02-06 11:01:35 +05:30
creature.texi Remove _BSD_SOURCE and _SVID_SOURCE. 2014-02-11 23:40:07 +00:00
crypt.texi * manual/crypt.texi: Document MTASC-safety properties. 2014-01-29 05:27:54 -02:00
ctype.texi * manual/ctype.texi: Document MTASC-safety properties. 2014-01-31 23:14:14 -02:00
debug.texi * manual/debug.texi: Document MTASC-safety properties. 2014-01-30 18:50:57 -02:00
dir .. 2005-11-21 15:45:19 +00:00
errno.texi * manual/errno.texi: Document MTASC-safety properties. 2014-02-01 03:49:25 -02:00
fdl-1.3.texi BZ#13738: Switch manual to FDL 1.3. 2012-02-24 12:58:10 -08:00
filesys.texi Remove _BSD_SOURCE and _SVID_SOURCE. 2014-02-11 23:40:07 +00:00
freemanuals.texi Update to canonical freemanuals.texi file. 2013-09-24 14:06:56 -07:00
getopt.texi * manual/getopt.texi: Document MTASC-safety properties. 2014-01-31 23:16:56 -02:00
header.texi Use Texinfo macros to refer to the GNU C Library within the manual. 2012-02-28 14:44:20 +00:00
install-plain.texi BZ #15941: Fix INSTALL file regeneration failure with makeinfo 5.x 2013-12-05 09:58:20 +05:30
install.texi Stop partial menu generation in INSTALL file 2013-12-19 11:54:06 +10:00
intro.texi * manual/intro.texi: Document safety identifiers and 2014-02-01 03:48:32 -02:00
io.texi Clean up glibc manual references to "GNU system" (bug 6911). 2012-03-08 01:27:38 +00:00
job.texi * manual/job.texi: Document MTASC-safety properties. 2014-01-31 23:20:02 -02:00
lang.texi * manual/lang.texi: Document MTASC-safety properties. 2014-01-31 23:21:48 -02:00
lgpl-2.1.texi Use canonical FSF .texi files for LGPL and FDL texts. 2011-06-06 16:16:55 -07:00
libc-texinfo.sh Add @detailmenu to subsection node listing 2013-02-24 21:05:58 +10:00
libc.texinfo Update remaining copyright dates 2014-01-01 22:02:55 +10:00
libcbook.texi initial import 1995-02-18 01:27:10 +00:00
libdl.texi * manual/libdl.texi: New. 2014-01-31 23:23:59 -02:00
libm-err-tab.pl Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
llio.texi * manual/llio.texi: Document MTASC-safety properties. 2014-01-31 23:25:06 -02:00
locale.texi * manual/locale.texi: Document MTASC-safety properties. 2014-01-31 23:26:23 -02:00
macros.texi * manual/macros.texi: Add comments before MTASC-safety macros. 2014-02-03 17:26:08 -02:00
maint.texi rename configure.in to configure.ac 2013-10-30 17:32:08 +10:00
Makefile * manual/check-safety.sh: New. 2014-02-01 04:31:05 -02:00
math.texi Remove _BSD_SOURCE and _SVID_SOURCE. 2014-02-11 23:40:07 +00:00
memory.texi [BZ #12751] 2014-01-31 23:28:38 -02:00
message.texi * manual/message.texi: Document MTASC-safety properties. 2014-01-31 23:31:22 -02:00
nss.texi manual: Remove frobnicate @pxref. 2013-02-20 13:30:23 -05:00
nsswitch.texi update from main archive 960814 1996-08-15 01:23:29 +00:00
pattern.texi * manual/pattern.texi: Document MTASC-safety properties. 2014-01-31 23:36:46 -02:00
pipe.texi * manual/pipe.texi: Document MTASC-safety properties. 2014-01-31 23:37:28 -02:00
platform.texi * manual/platform.texi: Document MTASC-safety properties. 2014-01-31 23:40:29 -02:00
probes.texi manual/probes.texi: Use "triggered" instead of "hit" 2014-02-11 10:21:00 +00:00
process.texi * manual/process.texi: Document MTASC-safety properties. 2014-01-31 23:44:19 -02:00
resource.texi * manual/resource.texi: Document MTASC-safety properties. 2014-01-31 23:46:01 -02:00
search.texi * manual/search.texi: Document MTASC-safety properties. 2014-01-31 23:47:28 -02:00
setjmp.texi manual: setjmp: fix typos/grammar 2014-02-08 07:59:36 -05:00
signal.texi Remove _BSD_SOURCE and _SVID_SOURCE. 2014-02-11 23:40:07 +00:00
socket.texi * manual/socket.texi: Document MTASC-safety properties. 2014-02-01 01:03:33 -02:00
startup.texi Remove _BSD_SOURCE and _SVID_SOURCE. 2014-02-11 23:40:07 +00:00
stdio-fp.c update from main archive 970225 1997-02-25 05:18:05 +00:00
stdio.texi * manual/stdio.texi: Document MTASC-safety properties. 2014-02-01 01:27:52 -02:00
string.texi * manual/string.texi (wcstok): Fix prototype. 2014-02-01 03:38:33 -02:00
summary.awk Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
sysinfo.texi * manual/sysinfo.texi: Document MTASC-safety properties. 2014-02-01 01:16:09 -02:00
syslog.texi * manual/syslog.texi: Document MTASC-safety properties. 2014-02-01 01:22:09 -02:00
terminal.texi * manual/terminal.texi: Document MTASC-safety properties. 2014-02-01 03:53:15 -02:00
texinfo.tex Update texinfo.tex, config.guess, config.sub from upstream. 2013-12-19 17:36:10 +00:00
texis.awk Correct close statement. 2001-05-18 13:01:32 +00:00
threads.texi * manual/threads.texi (pthread_key_create, pthread_key_delete, 2014-02-03 17:17:59 -02:00
time.texi * manual/time.texi (timegm): Add missing blank after @c. 2014-02-02 21:50:54 -02:00
tsort.awk Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
users.texi * manual/users.texi: Document MTASC-safety properties. 2014-02-03 17:25:38 -02:00
xtract-typefun.awk * manual/xtract-typefun.awk: Swallow [(){}*] from function names. 2003-11-12 00:50:03 +00:00