glibc/posix
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 * posix/bits/posix1_lim.h (SSIZE_MAX): Define to LONG_MAX, not INT_MAX. 2002-08-02 21:16:39 +00:00
glob Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
sys * include/features.h (__GLIBC_HAVE_LONG_LONG): Define for 2001-11-19 10:12:15 +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
annexc.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
bsd-getpgrp.c Update. 2002-08-03 07:02:10 +00:00
bug-regex1.c Include <wchar.h> for fwide. 2001-02-07 07:25:37 +00:00
bug-regex2.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
bug-regex3.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
bug-regex4.c Update. 2002-07-27 08:28:46 +00:00
bug-regex5.c Update. 2002-03-12 10:25:36 +00:00
bug-regex6.c Update. 2002-07-27 08:28:46 +00:00
bug-regex7.c Update. 2002-07-27 08:28:46 +00:00
bug-regex8.c Update. 2002-07-27 08:28:46 +00:00
bug-regex9.c Update. 2002-08-12 19:50:26 +00:00
confstr.c * include/unistd.h: Use libc_hidden_proto for _exit, alarm, confstr, 2002-08-04 03:30:56 +00:00
cpio.h 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
execl.c * include/unistd.h: Use libc_hidden_proto for _exit, alarm, confstr, 2002-08-04 03:30:56 +00:00
execle.c * include/unistd.h: Use libc_hidden_proto for _exit, alarm, confstr, 2002-08-04 03:30:56 +00:00
execlp.c * include/unistd.h: Use libc_hidden_proto for _exit, alarm, confstr, 2002-08-04 03:30:56 +00:00
execv.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
execvp.c * include/unistd.h: Use libc_hidden_proto for _exit, alarm, confstr, 2002-08-04 03:30:56 +00:00
fnmatch_loop.c Update. 2001-10-27 00:38:28 +00:00
fnmatch.c * include/sys/resource.h: Use libc_hidden_proto for getpriority, 2002-08-04 03:50:21 +00:00
fnmatch.h Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
getconf.c Update. 2002-01-17 07:38:47 +00:00
getopt1.c * include/getopt.h: But private decls inside [_GETOPT_H]. 2002-08-06 21:10:50 +00:00
getopt_init.c Update. 2001-08-11 19:43:52 +00:00
getopt.c Update. 2002-03-12 20:04:56 +00:00
getopt.h 2001-04-23 Paul Eggert <eggert@twinsun.com> 2001-08-22 22:24:10 +00:00
glob.h Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
globtest.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
globtest.sh Update. 2002-04-29 04:32:06 +00:00
Makefile Update. 2002-08-12 19:50:26 +00:00
ptestcases.h Update. 2001-03-16 01:10:29 +00:00
PTESTS (collate_output): Update. 1999-12-31 22:21:25 +00:00
PTESTS2C.sed Update. 2001-03-16 01:10:29 +00:00
re_comp.h Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
regcomp.c (parse_reg_exp): If '|' is immediately followed by another '|', end of regex or enclosing ')', clear branch. 2002-08-12 19:18:45 +00:00
regex_internal.c Update. 2002-07-27 08:20:17 +00:00
regex_internal.h Update. 2002-07-27 08:20:17 +00:00
regex.c Update. 2002-05-24 08:49:00 +00:00
regex.h Update. 2002-05-24 08:49:00 +00:00
regexbug1.c Update. 1999-08-30 19:23:15 +00:00
regexec.c Update. 2002-07-27 08:20:17 +00:00
runptests.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
runtests.c Make local functions static. 2000-12-27 20:26:07 +00:00
sched.h Update. 2002-08-08 07:53:36 +00:00
spawn_faction_addclose.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
spawn_faction_adddup2.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
spawn_faction_addopen.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
spawn_faction_destroy.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
spawn_faction_init.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
spawn_int.h Update. 2000-04-15 16:51:16 +00:00
spawn.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
spawn.h Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
spawnattr_destroy.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
spawnattr_getdefault.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
spawnattr_getflags.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
spawnattr_getpgroup.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
spawnattr_getschedparam.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
spawnattr_getschedpolicy.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
spawnattr_getsigmask.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
spawnattr_init.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
spawnattr_setdefault.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
spawnattr_setflags.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
spawnattr_setpgroup.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
spawnattr_setschedparam.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
spawnattr_setschedpolicy.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
spawnattr_setsigmask.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
spawnp.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
tar.h Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
test-vfork.c * malloc/memusagestat.c (main): Use return instead of exit to 2000-12-31 10:52:32 +00:00
testcases.h Update. 2000-01-18 10:53:15 +00:00
testfnm.c Update. 2001-03-15 09:36:19 +00:00
TESTS Update. 2000-01-18 10:53:15 +00:00
TESTS2C.sed 1997-05-03 00:53 Ulrich Drepper <drepper@cygnus.com> 1997-05-03 00:33:54 +00:00
tst-chmod.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
tst-dir.c * locale/programs/ld-ctype.c (ctype_read): When given a repertoire 2002-08-26 11:39:12 +00:00
tst-exec.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
tst-fnmatch.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
tst-fnmatch.input Update. 2001-10-27 03:00:50 +00:00
tst-fork.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
tst-getaddrinfo.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
tst-getconf.sh Update. 2001-04-25 01:11:30 +00:00
tst-getlogin.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
tst-gnuglob.c * locale/programs/ld-ctype.c (ctype_read): When given a repertoire 2002-08-26 11:39:12 +00:00
tst-mmap.c Update. 2000-01-03 17:00:25 +00:00
tst-preadwrite64.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
tst-preadwrite.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
tst-regex.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
tst-regexloc.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
tst-spawn.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
tst-truncate64.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
tst-truncate.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
tstgetopt.c Update. 2000-09-06 18:07:07 +00:00
unistd.h Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
Versions Update. 2002-07-10 23:09:16 +00:00
wait.h update from main archive 961126 1996-11-27 06:13:15 +00:00
wordexp-test.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
wordexp-tst.sh Update. 2000-10-21 00:02:39 +00:00
wordexp.h Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00