glibc/libio
Roland McGrath ffa8d2a098 * locale/programs/ld-ctype.c (ctype_read): When given a repertoire
name of "", store a null pointer instead.

	* configure.in (elf): Set to yes for freebsd*, netbsd*.
	* configure: Regenerated.

	* locale/xlocale.c [! (USE_TLS && HAVE___THREAD)] (__libc_tsd_LOCALE):
	Initialize this instead of __libc_tsd_LOCALE_data.

	* sysdeps/unix/grantpt.c (pts_name): Convert ENOTTY return from
	ptsname_r to EINVAL.

	* sysdeps/generic/ptsname.c (__ptsname_r): Return ENOSYS instead of 0.

	* rt/Makefile: Revert last change, it was inappropriate to presume aio
	implementations depend on pthreads.
	* rt/tst-aio.c (do_test): Exit happy if first failure is ENOSYS.
	* rt/tst-aio64.c (do_test): Likewise.
	* rt/tst-aio2.c (do_test): Likewise.
	* rt/tst-aio3.c (do_test): Likewise.
	* rt/tst-aio4.c (do_test): Likewise.
	* rt/tst-aio5.c (do_test): Likewise.
	* rt/tst-aio6.c (do_test): Likewise.
	* rt/tst-aio7.c (do_test): Likewise.

	* sysdeps/generic/bits/libc-lock.h (__libc_setspecific): Use a cast to
	void so as to avoid compiler warnings.

	* libio/oldstdfiles.c [! _IO_MTSAFE_IO] (DEF_STDFILE): Don't define
	_IO_wide_data_FD, which is never used here.

	* libio/iofread.c
	[! _IO_MTSAFE_IO] (fread_unlocked): Add libc_hidden_ver defn.
	* libio/iofputs.c [! _IO_MTSAFE_IO] (fputs_unlocked): Likewise.
	* libio/iofgets.c [! _IO_MTSAFE_IO] (fgets_unlocked): Likewise.

	* include/resolv.h [! _LIBC_REENTRANT] (_res): #undef it before decl.
	* include/netdb.h [! _LIBC_REENTRANT] (h_errno): Declare normal extern.

	* misc/syslog.c (openlog): Conditionalize locking on [_LIBC_REENTRANT].
	(closelog): Likewise.

2002-07-06  Bruno Haible  <bruno@clisp.org>

	* sysdeps/alpha/fpu/fpu_control.h: Comment fix.

	* sysdeps/unix/sysv/linux/alpha/pipe.S: Moved to ...
	* sysdeps/unix/alpha/pipe.S: ... here.
	* sysdeps/unix/bsd/osf/alpha/pipe.S: File removed.

	* sysdeps/unix/i386/brk.S: Rename local label to '.Lhere' in ELF.

	* sysdeps/unix/i386/brk.S: Add PSEUDO_END invocation.
	* sysdeps/unix/i386/fork.S: Likewise.
	* sysdeps/unix/i386/pipe.S: Likewise.
	* sysdeps/unix/i386/wait.S: Likewise.

	* sysdeps/unix/fork.S: Fix PSEUDO_END argument.
	* sysdeps/unix/arm/fork.S: Likewise.

	* sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): Swap DO_CALL
	arguments.
	(DO_CALL): Swap argument order.
	* sysdeps/unix/sysv/linux/hppa/sysdep.h (PSEUDO): Swap DO_CALL
	arguments.
	(DO_CALL): Swap argument order.
	* sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Swap DO_CALL
	arguments.
	(DO_CALL): Swap argument order.
	* sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (PSEUDO): Swap DO_CALL
	arguments.
	(DO_CALL): Swap argument order.
	* sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (PSEUDO): Swap DO_CALL
	arguments.
	(DO_CALL): Swap argument order.
	* sysdeps/unix/sysv/linux/sh/sysdep.h (PSEUDO): Swap DO_CALL
	arguments.
	(DO_CALL): Swap argument order.
	* sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Swap DO_CALL
	arguments.
	(DO_CALL): Swap argument order.

	* sysdeps/i386/sysdep.h (PSEUDO): Fix syntax error.
	(L): Define right for ELF.
	* sysdeps/unix/sysv/linux/i386/sysdep.h (L): Remove definition.
	Now defined in sysdeps/i386/sysdep.h.

	* sysdeps/posix/readv.c: Ansify function definition.
	* sysdeps/posix/writev.c: Likewise.

	* stdio-common/tst-fseek.c (main): Don't assume that off_t and size_t
	have the same size. Avoid direct cast from size_t to off_t.

	* login/tst-utmp.c (simulate_login): Don't leave garbage after the
	nul byte in entry[n].ut_user.
	(simulate_logout): Likewise.

	* login/programs/utmpdump.c (print_entry): Test _HAVE_UT_TYPE,
	_HAVE_UT_PID, _HAVE_UT_ID, _HAVE_UT_HOST, instead of assuming the
	existence of corresponding members of 'struct utmp'.
	* login/tst-utmp.c: Trivialize the test if testing 'struct utmp' and
	!_HAVE_UT_TYPE.

	* sysdeps/unix/opendir.c (__opendir): If st_blksize is 0 or too small,
	allocate a buffer of at least BUFSIZ bytes, not just of
	sizeof (struct dirent).

	* sysdeps/generic/glob.c: Include <limits.h>.
	(NAME_MAX): Define a fallback.
	(glob_in_dir): Allocate enough room for a 'struct dirent64' on the
	stack.
	* posix/tst-dir.c: Include <stddef.h>, for offsetof.
	(main): Allocate enough room for a 'struct dirent64' on the stack.
	* posix/tst-gnuglob.c (my_DIR): Allocate enough room for a
	'struct dirent'.

	* sysdeps/unix/sysv/linux/init-first.c: Don't include
	kernel-features.h.

	* inet/htontest.c: Include <sys/types.h>.

	* sysdeps/generic/sys/sysinfo.h: Surround with __{BEGIN,END}_DECLS.

	* include/sys/sysctl.h: Comment fix.

	* elf/rtld.c (_rtld_global) [! _LIBC_REENTRANT]: Don't initialize
	_dl_load_lock.
	* libio/fileno.c (fileno_unlocked): Define regardless of _IO_MTSAFE_IO.

	* sysdeps/unix/bsd/bsd4.4/syscalls.list (__sigaltstack): New alias.

	* sysdeps/unix/inet/syscalls.list (__connect_internal): New alias.
	(__getpeername): New alias.
	(__getsockname): New alias.
	(__socket): New alias.

	* sysdeps/unix/common/syscalls.list (getpgid): Remove.

	* sysdeps/unix/syscalls.list (__chown_internal): New alias.
	(__fcntl_internal): New alias.
	(__profil): New alias.
2002-08-26 11:39:12 +00:00
..
bits Update. 2001-08-02 16:11:13 +00:00
.cvsignore
__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
Banner
bug-fseek.c Update. 2002-07-24 11:18:48 +00:00
bug-mmap-fflush.c * libio/fileops.c (_IO_file_sync_mmap): New function. 2002-08-02 01:29:37 +00:00
bug-rewind.c Update. 2002-08-26 08:08:50 +00:00
bug-rewind2.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.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
clearerr_u.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.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
ferror.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
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 Update. 2002-08-25 04:51:08 +00:00
fmemopen.c Update. 2002-08-25 04:51:08 +00:00
fputc.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
fputc_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
fputwc_u.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
freopen.c Update. 2002-07-10 23:09:16 +00:00
freopen64.c Update. 2002-07-10 23:09:16 +00:00
fseek.c Update. 2002-08-04 20:54:20 +00:00
fseeko.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
fseeko64.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
ftello.c Update. 2002-02-26 01:45:59 +00:00
ftello64.c Update. 2002-02-26 01:45:59 +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-04 20:54:20 +00:00
getc.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
getc_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
getchar_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
getwc_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
getwchar_u.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-03 07:02:10 +00:00
iofflush.c Update. 2002-02-26 01:45:59 +00:00
iofflush_u.c Update. 2002-08-04 20:54:20 +00:00
iofgetpos.c Update. 2002-02-26 01:45:59 +00:00
iofgetpos64.c Update. 2002-02-26 01:45:59 +00:00
iofgets.c * locale/programs/ld-ctype.c (ctype_read): When given a repertoire 2002-08-26 11:39:12 +00:00
iofgets_u.c Update. 2002-08-04 20:54:20 +00:00
iofgetws.c update. 2001-08-09 00:11:12 +00:00
iofgetws_u.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
iofopen.c 2002-07-31 Roland McGrath <roland@frob.com> 2002-08-02 01:27:53 +00:00
iofopen64.c Update. 2002-01-07 09:33:53 +00:00
iofopncook.c Update. 2002-02-26 01:45:59 +00:00
iofputs.c * locale/programs/ld-ctype.c (ctype_read): When given a repertoire 2002-08-26 11:39:12 +00:00
iofputs_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
iofputws_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
iofread_u.c Update. 2002-08-04 20:54:20 +00:00
iofsetpos.c Update. 2002-02-26 01:45:59 +00:00
iofsetpos64.c Update. 2002-02-26 01:45:59 +00:00
ioftell.c Update. 2002-02-26 01:45:59 +00:00
iofwide.c Update. 2002-03-13 06:33:52 +00:00
iofwrite.c * include/wchar.h (putwc): Use libc_hidden_proto. 2002-08-10 09:24:53 +00:00
iofwrite_u.c Update. 2002-08-04 20:54:20 +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-03-13 02:17:12 +00:00
libioP.h Update. 2002-08-03 19:46:32 +00:00
Makefile Update. 2002-08-26 08:08:50 +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 Update. 2002-02-26 01:45:59 +00:00
oldiofclose.c Update. 2002-02-26 01:45:59 +00:00
oldiofdopen.c Update. 2002-02-26 01:45:59 +00:00
oldiofgetpos.c Update. 2002-02-26 01:45:59 +00:00
oldiofgetpos64.c Update. 2002-02-26 01:45:59 +00:00
oldiofopen.c Update. 2002-02-26 01:45:59 +00:00
oldiofsetpos.c Update. 2002-02-26 01:45:59 +00:00
oldiofsetpos64.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.c Update. 2002-02-26 01:45:59 +00:00
putc_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
putchar_u.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
putwc.c * include/wchar.h (putwc): Use libc_hidden_proto. 2002-08-10 09:24:53 +00:00
putwc_u.c Update. 2002-08-04 20:54:20 +00:00
putwchar.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
putwchar_u.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 2002-07-31 Jeff Bailey <jbailey@gnu.org> 2002-07-31 23:30:24 +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-atime.c Update. 2002-06-25 19:33:56 +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 update. 2001-08-09 00:11:12 +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-mmap-eofsync.c Update. 2002-08-25 08:44:43 +00:00
tst-mmap-fflushsync.c Update. 2002-08-25 08:44:43 +00:00
tst-mmap-offend.c * libio/fileops.c (_IO_file_seekoff_mmap): Leave read pointers at EOF 2002-08-15 23:57:00 +00:00
tst-mmap-setvbuf.c Update. 2002-08-25 08:44:43 +00:00
tst-mmap2-eofsync.c Update. 2002-08-25 08:44:43 +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 Update. 2002-08-25 08:44:43 +00:00
tst-widetext.input Update. 2000-07-25 21:09:46 +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 Update. 2001-12-14 07:26:22 +00:00
tst_swscanf.c Update. 2001-02-09 17:57:28 +00:00
tst_wprintf.c Update. 2000-06-17 19:22:43 +00:00
tst_wprintf2.c Update. 2000-07-20 08:56:12 +00:00
tst_wscanf.c Update. 2001-02-09 17:57:28 +00:00
tst_wscanf.input
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