Go to file
Ulrich Drepper 511676f708 Update.
2004-03-08  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from gnulib.  We now assume C89 or better.
	* posix/getopt1.c (const): Remove.
	* posix/getopt.c (const): Likewise.
	* posix/getopt1.c (getopt_long, _getopt_long_r, getopt_long_only,
	_getopt_long_only_r, main): Use prototypes, not old-style definitions.
	* posix/getopt.c (exchange, _getopt_initialize, _getopt_internal_r,
	_getopt_internal, getopt, main): Likewise.
	* posix/getopt.h (getopt, getopt_long, getopt_long_only): Likewise.
	* posix/getopt.c [!defined VMS || !HAVE_STRING_H]:
	Include <string.h> regardless.  No need for <strings.h>.
	[!defined _LIBC]: Include "gettext.h" rather than rolling it ourselves.
	(_): Define to gettext always.
	(my_index): Remove: all uses changed to strchr.
	(strlen): Remove declaration.
	* posix/getopt.h (struct option.name): Always const char *.

2004-03-08  Marcus Brinkmann  <marcus@gnu.org>

	* posix/getopt.h (_getopt_internal): Move to ...
	* posix/getopt_int.h: ... here.  New file.
	* include/getopt_int.h: New file.
	* include/getopt.h: Remove libc_hidden_proto for getopt_long
	and getopt_long_only.
	* posix/getopt1.c: Include "getopt_int.h".  Remove
	libc_hidden_def for getopt_long and getopt_long_only.
	(_getopt_long_r, _getopt_long_only_r): New functions.
	* posix/getopt.c: Include "getopt_int.h".
	(__getopt_initialized): Variable removed.
	(nextchar, ordering, posixly_correct, first_nonopt, last_nonopt):
	Static variables removed.
	(nonoption_flags_max_len, nonoption_flags_len) [_LIBC &&
	USE_NONOPTION_FLAGS]: Static variables removed.
	(getopt_data): New static variable.
	(SWAP_FLAGS): Use d->__nonoption_flags_len instead
	nonoption_flags_len.
	(exchange): Add new argument D of type struct getopt_data *.
	Replace optind with d->optind, optarg with d->optarg, opterr with
	d->opterr, optopt with d->optopt, nextchar with d->__nextchar,
	first_nonopt with d->__first_nonopt, last_nonopt with
	d->__last_nonopt, d->ordering with d->__ordering,
	d->posixly_correct with d->__posixly_correct (which is now an
	int instead a string, so fix users), nonoption_flags_len
	with d->__nonoption_flags_len, nonoption_flags_max_len with
	d->__nonoption_flags_max_len.
	(_getopt_initialize): Likewise.
	(_getopt_internal): Rename to ...
	(_getopt_internal_r): ... this.  Also add new argument D of type
	struct getopt_data * and use of members of D rather than global or
	static variables as described for exchange() above.  Add new argument
	to invocations of _getopt_initialize and exchange.
	(_getopt_internal): Reimplement in terms of _getopt_internal_r.
	* argp/argp-parse.c: Include <getopt_int.h>.
	[_LIBC]: Do not include <bits/libc-lock.h>.
	[!_LIBC && HAVE_CTHREADS_H]: Do not include <cthreads.h>.
	[!_LIBC] (_argp_hang): Make static.
	(getopt_lock, LOCK_GETOPT, UNLOCK_GETOPT): Remove.
	(_argp_unlock_xxx): Remove.
	(parser_init): Do not use LOCK_GETOPT.
	(parser_finalize): Do not use UNLOCK_GETOPT.
	(struct parser): New member OPT_DATA.
	(parser_init): Initialize parser->opt_data.  Use
	parser->opt_data.opterr instead of opterr.
	(parser_parse_opt): Use parser->opt_data.optarg instead optarg.
	(parser_parse_next): Likewise.  Use parser->opt_data.optind
	instead optind.  Use parser->opt_data.optopt instead of optopt.
	Call _getopt_long_only_r and _getopt_long_r instead of
	getopt_long_only and getopt_long, and pass the extra argument.
2004-03-09 10:36:53 +00:00
abilist Merged in current data for powerpc-.*-linux.*/notls. 2003-04-02 04:39:52 +00:00
aout Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
argp Update. 2004-03-09 10:36:53 +00:00
assert Update. 2003-08-15 17:55:25 +00:00
bare Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
bits Update. 2003-09-09 00:07:08 +00:00
catgets Update. 2004-01-20 23:44:55 +00:00
conf (NEED_INETADDR, NEED_INETATON): Define to 1, not empty. 1995-09-08 20:24:57 +00:00
conform Add strerror_r prototype. 2002-04-23 21:16:22 +00:00
crypt * crypt/md5-crypt.c: Doc fix. 2002-11-11 02:43:35 +00:00
csu Update. 2004-03-08 21:31:23 +00:00
ctype 2002-09-23 Roland McGrath <roland@redhat.com> 2002-09-24 04:20:50 +00:00
debug Update copyright year. 2004-01-01 20:42:01 +00:00
dirent Update. 2003-09-17 01:19:43 +00:00
dlfcn Update. 2004-03-08 21:31:23 +00:00
elf Update. 2004-03-09 07:44:07 +00:00
gmon Update. 2003-09-04 14:26:36 +00:00
gnulib Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
grp Update. 2004-02-09 07:39:42 +00:00
hesiod Update. 2002-08-26 07:06:57 +00:00
hurd Update. 2003-02-21 07:07:52 +00:00
iconv Update. 2004-03-09 10:04:55 +00:00
iconvdata Update. 2004-03-07 09:37:36 +00:00
include Update. 2004-03-09 10:36:53 +00:00
inet Update. 2003-12-31 21:44:08 +00:00
intl Update. 2004-01-14 05:38:11 +00:00
io 2004-01-29 Roland McGrath <roland@redhat.com> 2004-02-09 20:12:23 +00:00
libidn Update. 2004-03-08 21:43:46 +00:00
libio Update. 2004-03-09 10:04:55 +00:00
linuxthreads * sysdeps/i386/tls.h (TLS_DO_MODIFY_LDT_KERNEL_CHECK): 2004-03-08 09:53:49 +00:00
linuxthreads_db * thread_dbP.h (DB_FUNCTION): New macro. 2003-12-18 02:51:10 +00:00
locale Update. 2004-02-12 17:06:35 +00:00
localedata Update. 2004-02-17 02:35:52 +00:00
login Update. 2004-01-14 18:41:22 +00:00
mach 2003-05-11 Andreas Schwab <schwab@suse.de> 2003-05-28 21:05:12 +00:00
malloc Update. 2004-03-05 11:12:46 +00:00
manual (Tools for Compilation): Autoconf 2.53 is required. (Supported Configurations): Add x86_64-*-linux. 2004-02-29 19:50:28 +00:00
math Update. 2004-02-12 21:00:59 +00:00
misc Update. 2004-02-09 07:39:42 +00:00
nis Cleanup last patch. 2004-02-09 21:19:19 +00:00
nptl Update. 2004-03-09 06:32:58 +00:00
nptl_db * sysdeps/alpha/tls.h (DB_THREAD_SELF): Pass bit size of thread 2004-01-06 10:31:21 +00:00
nscd Update. 2004-03-01 22:35:28 +00:00
nss Update. 2004-02-27 00:55:39 +00:00
po Replaced with nb.po. 2004-03-08 08:27:14 +00:00
posix Update. 2004-03-09 10:36:53 +00:00
pwd Update. 2004-02-09 07:39:42 +00:00
resolv Update. 2004-03-08 04:10:31 +00:00
resource Update. 2002-07-20 04:01:22 +00:00
rpm Update. 1998-05-18 11:43:16 +00:00
rt Update. 2003-12-11 20:46:47 +00:00
scripts Update. 2003-12-06 00:20:16 +00:00
setjmp Prepare headers for use in ISO C++ compliant implementations. 2002-08-28 08:01:11 +00:00
shadow Update. 2004-02-09 07:39:42 +00:00
signal Update. 2003-12-29 17:59:41 +00:00
socket Update. 2003-04-19 16:57:17 +00:00
soft-fp * soft-fp/quad.h (union _FP_UNION_Q): Add longs structure. * sysdeps/alpha/Implies: Add alpha/soft-fp. * sysdeps/alpha/soft-fp/sfp-machine.h: Rewrite for GEM interface. * sysdeps/alpha/Subdirs, sysdeps/alpha/soft-fp/Makefile, sysdeps/alpha/soft-fp/Versions, sysdeps/alpha/soft-fp/local-soft-fp.h, sysdeps/alpha/soft-fp/ots_add.c, sysdeps/alpha/soft-fp/ots_cmp.c, sysdeps/alpha/soft-fp/ots_cmpe.c, sysdeps/alpha/soft-fp/ots_cvtqux.c, sysdeps/alpha/soft-fp/ots_cvtqx.c, sysdeps/alpha/soft-fp/ots_cvttx.c, sysdeps/alpha/soft-fp/ots_cvtxq.c, sysdeps/alpha/soft-fp/ots_cvtxt.c, sysdeps/alpha/soft-fp/ots_div.c, sysdeps/alpha/soft-fp/ots_mul.c, sysdeps/alpha/soft-fp/ots_nintxq.c, sysdeps/alpha/soft-fp/ots_sub.c: New files. 2004-03-06 20:46:23 +00:00
stdio-common (_i18n_number_rewrite): Few more changes to make the code smaller. 2004-02-10 21:57:59 +00:00
stdlib Update. 2004-02-26 20:38:54 +00:00
streams Update. 2003-04-19 16:57:17 +00:00
string Update. 2004-03-07 09:05:18 +00:00
sunrpc Update. 2004-02-26 19:22:02 +00:00
sysdeps Update. 2004-03-09 07:44:07 +00:00
sysvipc Update. 2003-06-15 21:22:26 +00:00
termios Update. 2003-06-15 21:22:26 +00:00
time * time/tzset.c (tzset_internal): Cap hour in POSIX $TZ rule format to 2004-02-09 20:16:34 +00:00
timezone Update. 2003-10-06 17:48:42 +00:00
wcsmbs Update. 2004-02-23 23:30:12 +00:00
wctype Update. 2004-03-05 10:54:16 +00:00
.cvsignore Also ignore names such as autom4te-2.53.cache. 2002-12-06 11:07:54 +00:00
BUGS Update. 2002-09-30 20:56:47 +00:00
CANCEL-FCT-WAIVE Update. 2004-03-08 07:58:18 +00:00
CANCEL-FILE-WAIVE Update. 2004-03-08 07:58:18 +00:00
CONFORMANCE 2003-12-31 Joseph S. Myers <jsm@polyomino.org.uk> 2003-12-31 23:53:18 +00:00
COPYING Update. 2001-07-06 06:58:28 +00:00
COPYING.LIB 2002-08-26 Brian Youmans <3diff@gnu.org> 2002-08-26 22:40:48 +00:00
ChangeLog Update. 2004-03-09 10:36:53 +00:00
ChangeLog.1 * Makefile (distribute): Add ChangeLog.[0-9]. 1995-04-14 03:52:54 +00:00
ChangeLog.2 * Makefile (distribute): Add ChangeLog.[0-9]. 1995-04-14 03:52:54 +00:00
ChangeLog.3 * Makefile (distribute): Add ChangeLog.[0-9]. 1995-04-14 03:52:54 +00:00
ChangeLog.4 * Makefile (distribute): Add ChangeLog.[0-9]. 1995-04-14 03:52:54 +00:00
ChangeLog.5 Thu Jul 18 12:33:57 1996 Roland McGrath <roland@baalperazim.frob.com> 1996-07-20 12:06:21 +00:00
ChangeLog.6 Update. 1997-07-22 00:10:33 +00:00
ChangeLog.7 Update. 1997-11-18 02:50:07 +00:00
ChangeLog.8 Update. Old logs are in ChangeLog.7. 1998-08-11 18:44:11 +00:00
ChangeLog.9 Update. 2000-04-28 06:14:43 +00:00
ChangeLog.10 Update. 2000-02-29 01:13:44 +00:00
ChangeLog.11 Update. 2000-11-10 04:15:55 +00:00
ChangeLog.12 Update. 2001-08-16 05:39:18 +00:00
ChangeLog.13 Update. 2002-10-03 16:37:04 +00:00
FAQ Regenerated: /usr/bin/perl scripts/gen-FAQ.pl FAQ.in 2003-02-21 06:17:16 +00:00
FAQ.in No need for compile time measurements. 2003-10-22 19:07:07 +00:00
INSTALL Update. 2004-02-29 19:50:54 +00:00
INTERFACE Update. 1999-10-31 17:37:43 +00:00
LICENSES 2002-08-20 Brian Youmans <3diff@gnu.org> 2002-08-20 21:51:55 +00:00
Make-dist 2003-02-20 Roland McGrath <roland@redhat.com> 2003-02-21 03:02:16 +00:00
MakeTAGS 2003-02-22 Roland McGrath <roland@redhat.com> 2003-02-22 20:20:29 +00:00
Makeconfig Define relro-LDFLAGS if have-z-relro==yes. Add it to LDFLAGS.so and LDFLAGS-rtld. (+link): Add relro-LDFLAGS. 2004-01-13 08:17:00 +00:00
Makefile Update. 2004-03-08 21:43:46 +00:00
Makefile.in Update. 2000-11-15 23:56:34 +00:00
Makerules Update. 2004-03-08 21:31:23 +00:00
NAMESPACE Add and update many more entries. 2000-03-20 00:42:58 +00:00
NEWS Update. 2003-11-29 07:20:47 +00:00
NOTES Regenerated. 2000-03-10 09:36:06 +00:00
PROJECTS Update. 2002-09-04 23:40:45 +00:00
README Remade for stable-2.3.3 2003-12-01 08:29:33 +00:00
README-alpha Update. 1999-05-13 10:22:54 +00:00
README.libm update from main archive 961105 1996-11-06 04:24:40 +00:00
README.template Update. 2002-10-03 00:24:35 +00:00
Rules * Makerules (check-abi-%): Use two rules for $(common-objpfx) and 2003-01-15 08:08:20 +00:00
Versions.def Update. 2004-03-08 04:10:31 +00:00
abi-tags * sysdeps/generic/utmp-equal.h: New file, extracted from utmp_file.c. 2002-09-20 22:07:20 +00:00
aclocal.m4 * scripts/abilist.awk: New file. 2002-11-14 03:59:56 +00:00
config-name.in initial import 1995-02-18 01:27:10 +00:00
config.h.in Update. 2004-03-08 04:10:31 +00:00
config.make.in Update. 2004-03-06 09:51:56 +00:00
configure Update. 2004-03-08 04:10:31 +00:00
configure.in Update. 2004-03-08 04:10:31 +00:00
cppflags-iterator.mk * cppflags-iterator.mk (CPPFLAGS-$(cpp-src)): Variable removed. 2002-10-16 22:09:55 +00:00
extra-lib.mk * cppflags-iterator.mk (CPPFLAGS-$(cpp-src)): Variable removed. 2002-10-16 22:09:55 +00:00
extra-modules.mk Update. 2004-03-08 21:31:23 +00:00
o-iterator.mk Fri Mar 17 12:58:37 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> 1995-03-17 18:42:51 +00:00
shlib-versions Update. 2002-09-05 10:28:51 +00:00
test-skeleton.c Update. 2004-02-19 00:55:28 +00:00
tls.make.c * sysdeps/unix/make-syscalls.sh: When an undefined syscall has 2003-03-26 22:49:50 +00:00
version.h Automatic version bump. 2003-12-01 08:28:54 +00:00

README

This directory contains the version 2.3.3 release of the GNU C Library.
Many bugs have been fixed since the last release.
Some bugs surely remain.

As of this release, the GNU C library is known to run on the following
configurations:

		*-*-gnu			GNU Hurd
		i[3456]86-*-linux-gnu	Linux-2.x on Intel
		m68k-*-linux-gnu	Linux-2.x on Motorola 680x0
		alpha*-*-linux-gnu	Linux-2.x on DEC Alpha
		powerpc-*-linux-gnu     Linux and MkLinux on PowerPC systems
		powerpc64-*-linux-gnu	Linux-2.4.19+ on 64-bit PowerPC systems
		sparc-*-linux-gnu	Linux-2.x on SPARC
		sparc64-*-linux-gnu	Linux-2.x on UltraSPARC 64-bit
		arm-*-none		ARM standalone systems
		arm-*-linux		Linux-2.x on ARM
		arm-*-linuxaout		Linux-2.x on ARM using a.out binaries
		mips*-*-linux-gnu	Linux-2.x on MIPS
		ia64-*-linux-gnu	Linux-2.x on ia64
		s390-*-linux-gnu	Linux-2.x on IBM S/390
		s390x-*-linux-gnu	Linux-2.4+ on IBM S/390 64-bit
		sh-*-linux-gnu		Linux-2.x on Super Hitachi
		cris-*-linux-gnu	Linux-2.4+ on CRIS
		x86-64-*-linux-gnu	Linux-2.4+ on x86-64

Former releases of this library (version 1.09.1 and perhaps earlier
versions) used to run on the following configurations:

		alpha-dec-osf1
		i[3456]86-*-bsd4.3
		i[3456]86-*-isc2.2
		i[3456]86-*-isc3
		i[3456]86-*-sco3.2
		i[3456]86-*-sco3.2v4
		i[3456]86-*-sysv
		i[3456]86-*-sysv4
		i[3456]86-force_cpu386-none
		i[3456]86-sequent-bsd
		i960-nindy960-none
		m68k-hp-bsd4.3
		m68k-mvme135-none
		m68k-mvme136-none
		m68k-sony-newsos3
		m68k-sony-newsos4
		m68k-sun-sunos4
		mips-dec-ultrix4
		mips-sgi-irix4
		sparc-sun-solaris2
		sparc-sun-sunos4

Since no one has volunteered to test and fix the above configurations,
these are not supported at the moment.  It's expected that these don't
work anymore.  Porting the library is not hard.  If you are interested
in doing a port, please contact the glibc maintainers by sending
electronic mail to <bug-glibc@gnu.org>.

There are some add-ons which can be used together with GNU libc.  They
are designed in a way to ease the installation by integrating them in
the libc source tree.  Simply get the add-ons you need and use the
--enable-add-ons option of the `configure' script to tell where the
add-ons are found.  Please read the FAQ file for more details.

See the file INSTALL to find out how to configure, build, install, and port
the GNU C library.  You might also consider reading the WWW pages for the
GNU libc at http://www.gnu.org/software/libc/libc.html.

The GNU C Library is completely documented by the Texinfo manual found
in the `manual/' subdirectory.  The manual is still being updated and
contains some known errors and omissions; we regret that we do not
have the resources to work on the manual as much as we would like.
Please send comments on the manual to <bug-glibc-manual@gnu.org>, and
not to the library bug-reporting address.

The file NOTES contains a description of the feature-test macros used
in the GNU C library, explaining how you can tell the library what
facilities you want it to make available.

We prefer to get bug reports sent using the `glibcbug' shell script which
is installed together with the rest of the GNU libc to <bugs@gnu.org>.
Simply run this shell script and fill in the information.  Nevertheless
you can still send bug reports to <bug-glibc@gnu.org> as normal electronic
mails.

The GNU C Library is free software.  See the file COPYING.LIB for copying
conditions, and LICENSES for notices about a few contributions that require
these additional notices to be distributed.