Go to file
Roland McGrath 3efdabe762 * libio/ftello.c (ftello): Use _IO_off64_t for type of POS.
Check for the result overflowing off_t and fail with EOVERFLOW.
	* libio/ioftell.c (_IO_ftell): Likewise.
	* libio/iofgetpos.c (_IO_new_fgetpos): Likewise.

	* login/logwtmp.c (logwtmp): If sizeof ut_tv != sizeof struct timeval,
	use a temporary timeval on the stack for gettimeofday and copy it.
	* login/logout.c (logout): Likewise.
	Reported by Steven Munroe <sjmunroe@us.ibm.com>.

	* sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs):
	Use __SWORD_TYPE instead of int for member types.
	(struct statfs64): Likewise.
	* sysdeps/unix/sysv/linux/alpha/bits/statfs.h: New file.
	* sysdeps/unix/sysv/linux/s390/bits/statfs.h: New file.
	* sysdeps/unix/sysv/linux/ia64/bits/statfs.h: File removed.
	* sysdeps/unix/sysv/linux/sparc/bits/statfs.h: File removed.
	* sysdeps/unix/sysv/linux/x86_64/bits/statfs.h: File removed.

	* sysdeps/unix/sysv/linux/sparc/bits/statvfs.h: Moved to ...
	* sysdeps/unix/sysv/linux/bits/statvfs.h: ... here.
	(ST_NODIRATIME): Restore fixed value of 2048.
	* sysdeps/unix/sysv/linux/alpha/bits/statvfs.h: File removed.
	* sysdeps/unix/sysv/linux/ia64/bits/statvfs.h: File removed.

	Rearranged <bits/types.h> definitions to reduce duplication.
	* sysdeps/generic/bits/types.h: Rewritten, using macros from
	<bits/wordsize.h> and new header <bits/typesizes.h>.
	* posix/Makefile (headers): Add bits/typesizes.h here.
	* sysdeps/generic/bits/typesizes.h: New file.
	* sysdeps/unix/sysv/linux/alpha/bits/typesizes.h: New file.
	* sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: New file.
	* sysdeps/mach/hurd/bits/typesizes.h: New file.
	* sysdeps/unix/sysv/linux/alpha/bits/types.h: File removed.
	* sysdeps/unix/sysv/linux/bits/types.h: File removed.
	* sysdeps/unix/sysv/linux/ia64/bits/types.h: File removed.
	* sysdeps/unix/sysv/linux/mips/bits/types.h: File removed.
	* sysdeps/unix/sysv/linux/s390/bits/types.h: File removed.
	* sysdeps/unix/sysv/linux/sparc/bits/types.h: File removed.
	* sysdeps/unix/sysv/linux/x86_64/bits/types.h: File removed.
	* posix/sys/types.h [__USE_POSIX199506 || __USE_UNIX98]: Include
	<bits/pthreadtypes.h> here, not in <bits/types.h>.
	* signal/signal.h: Likewise.

	* streams/stropts.h: Include <bits/xtitypes.h>.
	* streams/Makefile (headers): Add bits/xtitypes.h here.
	* sysdeps/generic/bits/xtitypes.h: New file.
	* sysdeps/s390/bits/xtitypes.h: New file.
	* sysdeps/ia64/bits/xtitypes.h: New file.
	* sysdeps/x86_64/bits/xtitypes.h: New file.

	* sysvipc/Makefile (headers): Add bits/ipctypes.h here.
	* sysdeps/generic/bits/ipctypes.h: New file.
	* sysdeps/mips/bits/ipctypes.h: New file.
	* sysdeps/gnu/bits/shm.h: Include <bits/ipctypes.h>.
	* sysdeps/gnu/bits/msq.h: Likewise.
	* sysvipc/sys/ipc.h: Likewise.

2002-10-22  Roland McGrath  <roland@redhat.com>

	* sysdeps/generic/libc-tls.c (_dl_tls_static_used): New variable.
	* sysdeps/generic/ldsodefs.h (struct rtld_global): New member
	`_dl_tls_static_used'.
	(TLS_STATIC_MIN): New macro.
	* elf/dl-reloc.c [USE_TLS] (allocate_static_tls): New function.
	(CHECK_STATIC_TLS): Use it.
2002-10-23 23:50:19 +00:00
aout Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
argp * catgets/open_catalog.c (__open_catalog): Don't use a value type 2002-09-24 04:24:25 +00:00
assert * sysdeps/mach/_strerror.c (__strerror_r): Add libc_hidden_def. 2002-08-30 01:31:18 +00:00
bare Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
bits * libio/ftello.c (ftello): Use _IO_off64_t for type of POS. 2002-10-23 23:50:19 +00:00
catgets Fix format strings. 2002-09-30 07:47:16 +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 2002-08-26 Brian Youmans <3diff@gnu.org> 2002-08-26 22:40:48 +00:00
csu Pretty printing. 2002-10-21 17:55:08 +00:00
ctype 2002-09-23 Roland McGrath <roland@redhat.com> 2002-09-24 04:20:50 +00:00
debug Update. 2002-05-15 03:36:41 +00:00
dirent Update. 2002-10-14 18:10:15 +00:00
dlfcn (foo): Add prototype to avoid warning. 2002-08-23 08:52:49 +00:00
elf (struct filebuf): For buf element to have the alignment of ElfXX_Ehdr since this is what will be stored in it. 2002-10-23 06:18:24 +00:00
gmon Use correct types for frompcindex and toindex variables. 2002-08-29 09:27:50 +00:00
gnulib Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
grp Update. 2002-03-13 19:21:13 +00:00
hesiod Update. 2002-08-26 07:06:57 +00:00
hurd * elf/rtld-Rules ($(objpfx)rtld-libc.a): Use $(verbose) in ar command. 2002-10-14 01:03:16 +00:00
iconv Update. 2002-09-24 04:19:03 +00:00
iconvdata Update. 2002-10-02 07:30:48 +00:00
include Update. 2002-10-17 21:51:21 +00:00
inet 2002-10-16 Jakub Jelinek <jakub@redhat.com> 2002-10-15 22:50:43 +00:00
intl * intl/dcigettext.c (DCIGETTEXT): Restore errno only right before 2002-09-20 23:25:36 +00:00
io * configure: Regenerated (using Autoconf 2.54). 2002-10-19 20:07:18 +00:00
libio * libio/ftello.c (ftello): Use _IO_off64_t for type of POS. 2002-10-23 23:50:19 +00:00
linuxthreads * locale/programs/locarchive.c (add_alias): Change locrec_offset arg 2002-10-22 16:11:43 +00:00
linuxthreads_db Update. 2002-09-29 07:03:57 +00:00
locale * locale/programs/locarchive.c (add_alias): Change locrec_offset arg 2002-10-22 16:11:43 +00:00
localedata Update. 2002-09-28 05:28:44 +00:00
login * libio/ftello.c (ftello): Use _IO_off64_t for type of POS. 2002-10-23 23:50:19 +00:00
mach * sysdeps/mach/_strerror.c (__strerror_r): Add libc_hidden_def. 2002-08-30 01:31:18 +00:00
malloc * malloc/malloc.c [! MALLOC_DEBUG] (assert): #undef before defining. 2002-09-29 22:53:29 +00:00
manual * sysdeps/generic/bits/libc-tsd.h [USE___THREAD]: Conditional 2002-10-11 10:52:20 +00:00
math Update. 2002-09-10 01:40:26 +00:00
misc Update. 2002-10-09 09:42:48 +00:00
nis Update. 2002-08-26 07:06:57 +00:00
nscd * cppflags-iterator.mk (CPPFLAGS-$(cpp-src)): Variable removed. 2002-10-16 22:09:55 +00:00
nss Update. 2002-09-29 18:25:48 +00:00
po Update. 2002-10-14 20:04:25 +00:00
posix * libio/ftello.c (ftello): Use _IO_off64_t for type of POS. 2002-10-23 23:50:19 +00:00
pwd Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
resolv Update. 2002-10-17 21:51:21 +00:00
resource Update. 2002-07-20 04:01:22 +00:00
rpm Update. 1998-05-18 11:43:16 +00:00
rt 2002-09-30 Roland McGrath <roland@redhat.com> 2002-09-30 07:19:21 +00:00
scripts * locale/xlocale.h (struct __locale_struct): New member `__names'. 2002-08-30 10:36:44 +00:00
setjmp Prepare headers for use in ISO C++ compliant implementations. 2002-08-28 08:01:11 +00:00
shadow * include/stdlib.h: Use libc_hidden_proto for qsort. 2002-08-03 22:26:33 +00:00
signal * libio/ftello.c (ftello): Use _IO_off64_t for type of POS. 2002-10-23 23:50:19 +00:00
socket Update. 2002-02-01 23:24:05 +00:00
soft-fp Update. 2002-10-17 23:16:26 +00:00
stdio-common 2002-10-12 Roland McGrath <roland@redhat.com> 2002-10-12 18:45:26 +00:00
stdlib Update. 2002-10-10 00:42:24 +00:00
streams 2002-10-23 Roland McGrath <roland@redhat.com> 2002-10-23 23:48:42 +00:00
string Update. 2002-10-09 09:42:48 +00:00
sunrpc * cppflags-iterator.mk (CPPFLAGS-$(cpp-src)): Variable removed. 2002-10-16 22:09:55 +00:00
sysdeps * libio/ftello.c (ftello): Use _IO_off64_t for type of POS. 2002-10-23 23:50:19 +00:00
sysvipc * libio/ftello.c (ftello): Use _IO_off64_t for type of POS. 2002-10-23 23:50:19 +00:00
termios Update. 2002-02-01 23:24:05 +00:00
time * catgets/open_catalog.c (__open_catalog): Don't use a value type 2002-09-24 04:24:25 +00:00
timezone Update from tzdata2002d. 2002-10-15 18:25:07 +00:00
wcsmbs * catgets/open_catalog.c (__open_catalog): Don't use a value type 2002-09-24 04:24:25 +00:00
wctype * sysdeps/generic/libc-tls.c (__pthread_initialize_minimal): Pass 2002-09-01 12:39:40 +00:00
.cvsignore Update. 2002-09-15 04:25:03 +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 * sysdeps/unix/alpha/sysdep.h (INLINE_SYSCALL, INLINE_SYSCALL1) 2002-10-18 22:16:45 +00:00
BUGS Update. 2002-09-30 20:56:47 +00:00
ChangeLog * libio/ftello.c (ftello): Use _IO_off64_t for type of POS. 2002-10-23 23:50:19 +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
config-name.in initial import 1995-02-18 01:27:10 +00:00
config.h.in 2002-10-16 Jakub Jelinek <jakub@redhat.com> 2002-10-15 22:50:43 +00:00
config.make.in * configure: Regenerated (using Autoconf 2.54). 2002-10-19 20:07:18 +00:00
configure 2002-10-19 Art Haas <ahaas@neosoft.com> 2002-10-20 00:21:33 +00:00
configure.in 2002-10-19 Art Haas <ahaas@neosoft.com> 2002-10-20 00:21:33 +00:00
CONFORMANCE Update. 2001-01-11 17:50:24 +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
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
FAQ Update. 2002-10-03 01:03:45 +00:00
FAQ.in Update. 2002-10-03 00:24:35 +00:00
glibcbug.in Update. 2002-07-16 18:15:34 +00:00
INSTALL * configure.in: Make GCC version check require 3.[2-9]* and no others. 2002-08-22 00:13:04 +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 Update. 2002-10-10 00:42:24 +00:00
Makeconfig * Makeconfig (CPPFLAGS): Fix last change to use $(libof-$(<F)) 2002-10-17 09:16:52 +00:00
Makefile 2002-10-05 Roland McGrath <roland@redhat.com> 2002-10-14 08:03:18 +00:00
Makefile.in Update. 2000-11-15 23:56:34 +00:00
Makerules * cppflags-iterator.mk (CPPFLAGS-$(cpp-src)): Variable removed. 2002-10-16 22:09:55 +00:00
MakeTAGS Update. 2002-10-13 08:42:30 +00:00
NAMESPACE Add and update many more entries. 2000-03-20 00:42:58 +00:00
NEWS 2002-10-05 Roland McGrath <roland@redhat.com> 2002-10-14 08:03:18 +00:00
NOTES Regenerated. 2000-03-10 09:36:06 +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
PROJECTS Update. 2002-09-04 23:40:45 +00:00
README Update. 2002-10-10 00:42:24 +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 Update. 2002-04-20 20:36:26 +00:00
shlib-versions Update. 2002-09-05 10:28:51 +00:00
test-skeleton.c 2002-09-29 Roland McGrath <roland@redhat.com> 2002-09-30 00:22:13 +00:00
version.h Update. 2002-10-09 23:39:33 +00:00
Versions.def * elf/rtld-Rules ($(objpfx)rtld-libc.a): Use $(verbose) in ar command. 2002-10-14 01:03:16 +00:00

This directory contains the version 2.3.1 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.