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
argp.texi
arith.texi
charset.texi
check-safety.sh * manual/check-safety.sh: New. 2014-02-01 04:31:05 -02:00
conf.texi
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
ctype.texi
debug.texi
dir
errno.texi * manual/errno.texi: Document MTASC-safety properties. 2014-02-01 03:49:25 -02:00
fdl-1.3.texi
filesys.texi Remove _BSD_SOURCE and _SVID_SOURCE. 2014-02-11 23:40:07 +00:00
freemanuals.texi
getopt.texi
header.texi
install-plain.texi
install.texi
intro.texi * manual/intro.texi: Document safety identifiers and 2014-02-01 03:48:32 -02:00
io.texi
job.texi
lang.texi
lgpl-2.1.texi
libc-texinfo.sh
libc.texinfo
libcbook.texi
libdl.texi
libm-err-tab.pl
llio.texi
locale.texi
macros.texi * manual/macros.texi: Add comments before MTASC-safety macros. 2014-02-03 17:26:08 -02:00
maint.texi
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
message.texi
nss.texi
nsswitch.texi
pattern.texi
pipe.texi
platform.texi
probes.texi manual/probes.texi: Use "triggered" instead of "hit" 2014-02-11 10:21:00 +00:00
process.texi
resource.texi
search.texi
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
startup.texi Remove _BSD_SOURCE and _SVID_SOURCE. 2014-02-11 23:40:07 +00:00
stdio-fp.c
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
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
texis.awk
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
users.texi * manual/users.texi: Document MTASC-safety properties. 2014-02-03 17:25:38 -02:00
xtract-typefun.awk