glibc/scripts
Zack Weinberg 48a8f83281 Deprecate external use of libio.h and _G_config.h.
libio.h was originally the header for a set of supported GNU
extensions, but they have not been maintained as such in many years,
they are now standing in the way of improvements to stdio, and we
don't think there are any remaining external users.  _G_config.h was
never intended for public use, but predates the bits convention.
Move both of these headers into the bits directory and provide stubs
at top level which issue deprecation warnings.

The contents of (bits/)libio.h and (bits/)_G_config.h are still
exposed to external software via stdio.h; changing that requires more
complex surgery than I have time to attempt right now.

	* libio/libio.h, libio/_G_config.h: New stub headers which issue a
	deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
	respectively.
	* libio/libio.h: Rename the original version of this file to
	libio/bits/libio.h.  Error out if not included by stdio.h or the
	stub libio.h.
	* include/libio.h: Move to include/bits.  Forward to libio/bits/libio.h.
	* sysdeps/generic/_G_config.h: Move to top-level bits/.  Error out
	if not included by bits/libio.h or the stub _G_config.h.
	* sysdeps/unix/sysv/linux/_G_config.h: Move to
	sysdeps/unix/sysv/linux/bits.  Error out if not included by
	bits/libio.h or the stub _G_config.h.
	* libio/stdio.h: Include bits/libio.h, not libio.h.
	* libio/Makefile: Install bits/libio.h and bits/_G_config.h as
	well as libio.h and _G_config.h.

	* csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
	* libio/strfile.h, stdio-common/vfscanf.c
	* sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
	Include stdio.h, not _G_config.h nor libio.h.
	* libio/iofgetpos.c: Also rename fgetpos64 out of the way.
	* libio/iofsetpos.c: Also rename fsetpos64 out of the way.

	* scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
2017-12-24 09:03:28 -08:00
..
abi-versions.awk
abilist.awk
backport-support.sh
build-many-glibcs.py Add aarch64 disable-multi-arch variant to build-many-glibcs.py 2017-12-21 10:24:14 +00:00
check-c++-types.sh
check-execstack.awk
check-installed-headers.sh Deprecate external use of libio.h and _G_config.h. 2017-12-24 09:03:28 -08:00
check-local-headers.sh crypt: Adjust check-local-headers.sh for nspr4 include directory [BZ #17956] 2017-10-04 15:49:06 +02:00
check-localplt.awk
check-textrel.awk
config-uname.sh
config.guess Update miscellaneous files from upstream sources. 2017-12-20 22:28:20 +00:00
config.sub Update miscellaneous files from upstream sources. 2017-12-20 22:28:20 +00:00
cpp
cross-test-ssh.sh
documented.sh
evaluate-test.sh
firstversions.awk
gen-as-const.awk
gen-libc-abis
gen-libc-modules.awk
gen-posix-conf-vars.awk
gen-py-const.awk
gen-rrtypes.py
gen-sorted.awk Remove add-ons mechanism. 2017-10-05 15:58:13 +00:00
gen-tunables.awk Fix range check in do_tunable_update_val 2017-09-27 02:44:09 +05:30
install-sh Update miscellaneous files from upstream sources. 2017-12-20 22:28:20 +00:00
lib-names.awk
list-fixed-bugs.py
list-sources.sh
localplt.awk
merge-test-results.sh
mkinstalldirs
move-if-change Update miscellaneous files from upstream sources. 2017-12-20 22:28:20 +00:00
output-format.sed
pylint
pylintrc
rellns-sh
soversions.awk
sysd-rules.awk
test_printers_common.py
test_printers_exceptions.py
test-installation.pl Remove add-ons mechanism. 2017-10-05 15:58:13 +00:00
update-abilist.sh
update-copyrights Remove scripts/update-copyrights handling of intl/plural.c. 2017-11-30 21:25:25 +00:00
versionlist.awk
versions.awk Also create and use ldbl-compat-choose.h. 2017-05-19 11:30:26 +00:00