glibc/libio
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
..
bits Update. 2001-08-02 16:11:13 +00:00
__fbufsize.c Update. 2002-04-09 20:36:24 +00:00
__flbf.c Update. 2002-04-09 20:36:24 +00:00
__fpending.c Update. 2002-04-09 20:36:24 +00:00
__fpurge.c Update. 2002-04-09 20:36:24 +00:00
__freadable.c Update. 2002-04-09 20:36:24 +00:00
__freading.c Update. 2002-04-09 20:36:24 +00:00
__fsetlocking.c Update. 2002-04-09 20:36:24 +00:00
__fwritable.c Update. 2002-04-09 20:36:24 +00:00
__fwriting.c Update. 2002-04-09 20:36:24 +00:00
.cvsignore Tue May 14 14:07:10 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> 1996-05-14 20:30:25 +00:00
Banner update from main archive 960907 1996-09-07 23:56:19 +00:00
bug-fopena+.c Update. 2002-08-27 06:41:29 +00:00
bug-fseek.c Update. 2002-07-24 11:18:48 +00:00
bug-mmap-fflush.c Update. 2002-08-27 12:10:11 +00:00
bug-rewind2.c Update. 2002-08-26 08:08:50 +00:00
bug-rewind.c Update. 2002-08-26 08:08:50 +00:00
bug-ungetc.c 2002-07-24 Roland McGrath <roland@frob.com> 2002-07-24 09:34:59 +00:00
bug-ungetwc1.c Update. 2002-04-03 09:26:58 +00:00
bug-ungetwc2.c Update. 2002-04-24 21:09:14 +00:00
clearerr_u.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
clearerr.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
Depend New file, libio needs localedata for tests. 2000-07-29 07:57:34 +00:00
fcloseall.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
feof_u.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
feof.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
ferror_u.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
ferror.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
filedoalloc.c Update. 2002-07-06 06:36:39 +00:00
fileno.c * locale/programs/ld-ctype.c (ctype_read): When given a repertoire 2002-08-26 11:39:12 +00:00
fileops.c (_IO_new_file_fopen): Recognize new mode specifier 'm' to enable mmap I/O. 2002-08-30 07:04:16 +00:00
fmemopen.c Update. 2002-08-25 04:51:08 +00:00
fputc_u.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
fputc.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
fputwc_u.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
fputwc.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
freopen64.c Update. 2002-10-03 08:38:41 +00:00
freopen.c Update. 2002-10-03 08:38:41 +00:00
fseek.c Update. 2002-08-04 20:54:20 +00:00
fseeko64.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
fseeko.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
ftello64.c Update. 2002-02-26 01:45:59 +00:00
ftello.c * libio/ftello.c (ftello): Use _IO_off64_t for type of POS. 2002-10-23 23:50:19 +00:00
fwide.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
fwprintf.c Update. 2001-08-17 07:51:36 +00:00
fwscanf.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
genops.c Update. 2002-08-30 07:07:16 +00:00
getc_u.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
getc.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
getchar_u.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
getchar.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
getwc_u.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
getwc.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
getwchar_u.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
getwchar.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
iofclose.c Update. 2002-04-03 03:12:43 +00:00
iofdopen.c Update. 2002-08-30 07:07:16 +00:00
iofflush_u.c Update. 2002-08-04 20:54:20 +00:00
iofflush.c Update. 2002-02-26 01:45:59 +00:00
iofgetpos64.c Update. 2002-02-26 01:45:59 +00:00
iofgetpos.c * libio/ftello.c (ftello): Use _IO_off64_t for type of POS. 2002-10-23 23:50:19 +00:00
iofgets_u.c Update. 2002-08-04 20:54:20 +00:00
iofgets.c * locale/programs/ld-ctype.c (ctype_read): When given a repertoire 2002-08-26 11:39:12 +00:00
iofgetws_u.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
iofgetws.c update. 2001-08-09 00:11:12 +00:00
iofopen64.c Update. 2002-01-07 09:33:53 +00:00
iofopen.c Update. 2002-08-30 07:07:16 +00:00
iofopncook.c Update. 2002-02-26 01:45:59 +00:00
iofputs_u.c Update. 2002-08-04 20:54:20 +00:00
iofputs.c * locale/programs/ld-ctype.c (ctype_read): When given a repertoire 2002-08-26 11:39:12 +00:00
iofputws_u.c Update. 2002-08-04 20:54:20 +00:00
iofputws.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
iofread_u.c Update. 2002-08-04 20:54:20 +00:00
iofread.c * locale/programs/ld-ctype.c (ctype_read): When given a repertoire 2002-08-26 11:39:12 +00:00
iofsetpos64.c Update. 2002-02-26 01:45:59 +00:00
iofsetpos.c Update. 2002-02-26 01:45:59 +00:00
ioftell.c * libio/ftello.c (ftello): Use _IO_off64_t for type of POS. 2002-10-23 23:50:19 +00:00
iofwide.c Update. 2002-03-13 06:33:52 +00:00
iofwrite_u.c Update. 2002-08-04 20:54:20 +00:00
iofwrite.c * include/wchar.h (putwc): Use libc_hidden_proto. 2002-08-10 09:24:53 +00:00
iogetdelim.c Realloc error handling memory leak fix. 2001-12-29 15:57:15 +00:00
iogetline.c Update. 2002-02-26 01:45:59 +00:00
iogets.c Update. 2002-02-26 01:45:59 +00:00
iogetwline.c Update. 2002-02-26 01:45:59 +00:00
iolibio.h Update. 2002-08-04 20:54:20 +00:00
iopadn.c Update. 2002-02-26 01:45:59 +00:00
iopopen.c Update. 2002-02-26 01:45:59 +00:00
ioputs.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
ioseekoff.c Update. 2002-02-26 01:45:59 +00:00
ioseekpos.c Update. 2002-02-26 01:45:59 +00:00
iosetbuffer.c Update. 2002-02-26 01:45:59 +00:00
iosetvbuf.c Update. 2002-06-22 05:24:45 +00:00
ioungetc.c Update. 2002-02-26 01:45:59 +00:00
ioungetwc.c Update. 2002-02-26 01:45:59 +00:00
iovdprintf.c Update. 2002-08-03 07:02:10 +00:00
iovsprintf.c Update. 2002-02-26 01:45:59 +00:00
iovsscanf.c Update. 2002-02-26 01:45:59 +00:00
iovswscanf.c Update. 2002-08-04 20:54:20 +00:00
iowpadn.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
libio.h Update. 2002-08-30 07:07:16 +00:00
libioP.h Update. 2002-08-03 19:46:32 +00:00
Makefile Update. 2002-08-27 06:41:29 +00:00
memstream.c * include/wchar.h (putwc): Use libc_hidden_proto. 2002-08-10 09:24:53 +00:00
obprintf.c Update. 2002-02-26 01:45:59 +00:00
oldfileops.c * catgets/open_catalog.c (__open_catalog): Don't use a value type 2002-09-24 04:24:25 +00:00
oldiofclose.c Update. 2002-02-26 01:45:59 +00:00
oldiofdopen.c Update. 2002-02-26 01:45:59 +00:00
oldiofgetpos64.c Update. 2002-02-26 01:45:59 +00:00
oldiofgetpos.c Update. 2002-02-26 01:45:59 +00:00
oldiofopen.c Update. 2002-02-26 01:45:59 +00:00
oldiofsetpos64.c Update. 2002-02-26 01:45:59 +00:00
oldiofsetpos.c Update. 2002-02-26 01:45:59 +00:00
oldiopopen.c * include/bits/dlfcn.h: New file. 2002-08-10 07:54:55 +00:00
oldpclose.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
oldstdfiles.c * locale/programs/ld-ctype.c (ctype_read): When given a repertoire 2002-08-26 11:39:12 +00:00
oldtmpfile.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
pclose.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
peekc.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
putc_u.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
putc.c Update. 2002-02-26 01:45:59 +00:00
putchar_u.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
putchar.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
putwc_u.c Update. 2002-08-04 20:54:20 +00:00
putwc.c * include/wchar.h (putwc): Use libc_hidden_proto. 2002-08-10 09:24:53 +00:00
putwchar_u.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
putwchar.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
rewind.c * include/wchar.h (putwc): Use libc_hidden_proto. 2002-08-10 09:24:53 +00:00
setbuf.c Update. 2002-02-26 01:45:59 +00:00
setlinebuf.c Update. 2002-02-26 01:45:59 +00:00
stdfiles.c Update. 2002-03-13 02:17:12 +00:00
stdio.c Update. 2002-03-17 12:09:12 +00:00
stdio.h Prepare headers for use in ISO C++ compliant implementations. 2002-08-28 08:01:11 +00:00
strfile.h Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
strops.c Update. 2002-02-26 01:45:59 +00:00
swprintf.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
swscanf.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
test-fmemopen.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
test-freopen.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
test-freopen.sh Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
tst_getwc.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
tst_getwc.input Update. 2000-06-23 06:22:36 +00:00
tst_putwc.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
tst_swprintf.c Fix format strings. 2002-09-30 07:47:16 +00:00
tst_swscanf.c Update. 2001-02-09 17:57:28 +00:00
tst_wprintf2.c Update. 2000-07-20 08:56:12 +00:00
tst_wprintf.c Update. 2000-06-17 19:22:43 +00:00
tst_wscanf.c Update. 2001-02-09 17:57:28 +00:00
tst_wscanf.input Update. 1999-06-16 22:55:47 +00:00
tst-atime.c Update. 2002-09-05 10:28:51 +00:00
tst-eof.c pdate. 2002-07-23 00:31:41 +00:00
tst-ext.c Update. 2001-03-27 00:16:51 +00:00
tst-fgetws.c Fix format strings. 2002-09-30 07:47:16 +00:00
tst-fopenloc.c Update. 2001-07-27 18:09:56 +00:00
tst-freopen.c Update. 2002-08-25 08:44:43 +00:00
tst-mmap2-eofsync.c * catgets/open_catalog.c (__open_catalog): Don't use a value type 2002-09-24 04:24:25 +00:00
tst-mmap-eofsync.c * locale/xlocale.h (struct __locale_struct): New member `__names'. 2002-08-30 10:36:44 +00:00
tst-mmap-fflushsync.c * locale/xlocale.h (struct __locale_struct): New member `__names'. 2002-08-30 10:36:44 +00:00
tst-mmap-offend.c * locale/xlocale.h (struct __locale_struct): New member `__names'. 2002-08-30 10:36:44 +00:00
tst-mmap-setvbuf.c * locale/xlocale.h (struct __locale_struct): New member `__names'. 2002-08-30 10:36:44 +00:00
tst-sscanf.c Update. 2001-08-22 18:40:06 +00:00
tst-swscanf.c Update. 2002-02-26 18:08:08 +00:00
tst-ungetwc1.c * libio/tst-ungetwc1.c (main): Add a const to quiet a warning. 2001-08-23 08:36:47 +00:00
tst-ungetwc2.c Update. 2001-08-17 04:49:12 +00:00
tst-widetext.c * catgets/open_catalog.c (__open_catalog): Don't use a value type 2002-09-24 04:24:25 +00:00
tst-widetext.input Update. 2000-07-25 21:09:46 +00:00
vasprintf.c Update. 2002-02-26 01:45:59 +00:00
Versions Update. 2000-09-01 08:56:06 +00:00
vscanf.c Update. 2002-02-26 01:45:59 +00:00
vsnprintf.c Update. 2002-02-26 01:45:59 +00:00
vswprintf.c Update. 2002-06-22 05:24:45 +00:00
vwprintf.c Update. 2001-08-17 07:51:36 +00:00
vwscanf.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
wfiledoalloc.c Update. 2002-07-06 06:36:39 +00:00
wfileops.c Update. 2002-08-26 08:08:50 +00:00
wgenops.c Update. 2002-08-04 09:27:27 +00:00
wprintf.c Update. 2001-08-17 07:51:36 +00:00
wscanf.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
wstrops.c Update. 2002-08-25 04:51:08 +00:00