glibc/sysdeps/generic
Ulrich Drepper d68171edce update from main archive 960927
Sat Sep 28 03:02:49 1996  Ulrich Drepper  <drepper@cygnus.com>
	* dirent/Makefile (routines): Add readdir_r.
	* dirent/readdir_r.c: New file.  Wrapper around readdir.c.
	* dirent/dirent.h: Add prototype for readdir_r.
	* misc/hsearch_r.c (ENTRY): Make field `used' of type `unsigned int'
	to prevent warnings.
	* sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path):
 	Initialize `result'.

Sat Sep 28 01:16:42 1996  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/generic/strsep.c: Rename to __strsep and make strsep
	weak alias.
	* string/string.h: Add prototype for __strsep.
	* misc/mntent_r.c: Use __strsep instead of strsep to keep
	namespace clean.

	* sysdeps/stub/nanosleep.c: Rename to __libc_nanosleep and make
	__nanosleep and nanosleep weak aliases.
	* sysdeps/unix/sysv/linux/syscalls.list: Add __nanosleep as weak
	alias.
	* sysdeps/unix/sysv/linux/sleep.c: Call __nanosleep instead of
	nanosleep to keep namespace clean.

	* sysdeps/posix/ttyname.c (ttyname): Add cast to prevent warning.
	* sysdeps/posix/ttyname_r.c (ttyname_r): Likewise.
	* sysdeps/posix/getcwd.c (__getcwd): Likewise.

	* sysdeps/unix/nlist.c: Use ISO C definition since we don't always
	have prototype.

	* login/Makefile (headers): Add pty.h.
	* login/pty.h: New file.
	* sysdeps/generic/pty.h: Include <pty.h>.
	* login/pututline_r.c: Add cast to prevent warning.

	* gmon/gmon.c: Add prototype for __profile_frequency.
	(monstartup): Add cast to prevent warning.
	* sysdeps/generic/prof-freq.c: Change to use ISO C style definition.

	* locale/programs/ld-time.c (time_output): Write `era' information
	in correct order.

Sat Sep 28 00:11:08 1996  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/unix/sysv/linux/syscalls.list: Add weak alias
	`adjtimex'.
	Set caller for mlock, mlockall, mremap, munlock, and munlockall
	to EXTRA.
	Reported by Matthias Urlichs <smurf@smurf.noris.de>.

1996-09-27  Paul Eggert  <eggert@twinsun.com>

	* strftime.c (strftime): Output incomplete formats like %E
	at end of string.

1996-09-27  Paul Eggert  <eggert@twinsun.com>

	* strftime.c (strftime): Add support for %EC and %Ey.
	Fix support for %EY.  This uses the new _nl_get_era_entry function.

Fri Sep 27 14:12:27 1996  Ulrich Drepper  <drepper@cygnus.com>

	Security related patch by Elliot Lee <sopwith@redhat.com> and
	David Holland <dholland@eecs.harvard.edu>.

	* inet/rexec.c (rexec): Increase size of `num' array from 8 to 32.
	* inet/ruserpass.c (ruserpass): Don't allow $HOME envvar to not exist.

	* sysdeps/generic/getenv.c (__secure_getenv): New function.  Return
	NULL when programs runs with SUID or SGID enabled.
	* sysdeps/stub/getenv.c: Make __secure_getenv an alias of getenv.
	* stdlib/stdlib.h: Add prototype for __secure_getenv.

	* locale/setlocale.c: Use __secure_getenv.
	* resolv/res_init.c: Likewise.
	* resolv/res_query.c: Likewise.
	* inet/ruserpass.c: Likewise.
	* sysdeps/posix/tempname.c: Likewise.
	* malloc/mtrace.c: Likewise.
	* catgets/catgets.c: Likewise.

	Make temporary file handling functions reentrant.

	* stdio-common/tmpnam.c: Rewrite to have own buffer to write
	result to.  The called __stdio_gen_tempname function must be
	thread safe.
	* stdio-common/tmpnam_r.c: New file.
	* stdio/stdio.h: Add prototype for `tmpnam_r'.
	Change prototype for __stdio_gen_tempname.
	* stdio/libio.h: Likewise.
	* sysdeps/posix/tempname.c: Add new parameters and use them instead
	of static buffer.
	Don't reset `indeces' when PID changed between calls.
	Don't fail for long running programs when index counter once
	reached the limit.
	* sysdeps/stub/tempname.c: Likewise.
	* stdio-common/tempnam.c: Provide local buffer as extra argument
	to __stdio_gen_tempname.  This makes this function reentrant.
	* stdio-common/tmpfile.c: Likewise.
	* stdio-common/temptest.c: Provide extra argument to
	__stdio_gen_tempname.
	* manual/filesys.texi: Describe tmpnam_r and add comments about
	reentrancy of the functions.

	* inet/rcmd.c: Fixed address length handling.

	* sysdeps/posix/mk-stdiolim.c: Count final \0 byte in L_tmpnam value.

	* time/strftime.c: Remove unused variables alt_digits and
 	end_alt_digits.

	* sysdeps/unix/sysv/linux/sys/sysinfo.h: Correct prototype names
	for get_nprocs and get_nprocs_conf.
	* sysdeps/generic/sys/sysinfo.h: Likewise.

	* stdlib/test-canon.c: Finally do the right fix.

	* misc/Makefile: Only compile force-wrapper when compiling
	reentrant libc.
1996-09-28 03:24:10 +00:00
..
gnu update from main archive 960906 1996-09-07 04:10:57 +00:00
netinet Fri Jun 28 02:41:08 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> 1996-06-28 08:56:59 +00:00
sys update from main archive 960927 1996-09-28 03:24:10 +00:00
Dist initial import 1995-02-18 01:27:10 +00:00
Makefile update from main archive 960829 1996-08-30 00:58:28 +00:00
_strerror.c * sysdeps/unix/sysv/linux/tcdrain.c: Define tcdrain, not 1996-01-20 10:00:23 +00:00
abort.c initial import 1995-02-18 01:27:10 +00:00
add_n.c Updated from /src/gmp-2.0 1996-05-07 21:04:52 +00:00
addmul_1.c Updated from /src/gmp-2.0 1996-05-07 21:04:52 +00:00
asincos.c initial import 1995-02-18 01:27:10 +00:00
bb_init_func.c Tue Mar 19 14:18:42 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu> 1996-03-19 20:21:54 +00:00
bcopy.c initial import 1995-02-18 01:27:10 +00:00
bzero.c initial import 1995-02-18 01:27:10 +00:00
cmp.c Updated from /src/gmp-2.0 1996-05-07 21:04:52 +00:00
configure Regenerated: autoconf sysdeps/generic/configure.in 1996-07-08 15:26:36 +00:00
configure.in initial import 1995-02-18 01:27:10 +00:00
confname.h update from main archive 960921 1996-09-22 03:06:42 +00:00
det_endian.c initial import 1995-02-18 01:27:10 +00:00
divmod_1.c Updated from /src/gmp-2.0 1996-05-07 21:04:52 +00:00
divrem.c Updated from /src/gmp-2.0 1996-05-07 21:04:52 +00:00
dl-cache.c update from main archive 960911 1996-09-12 02:51:03 +00:00
dl-sysdep.c update from main archive 960828 1996-08-29 00:31:18 +00:00
enbl-secure.c Sat Jul 27 13:02:09 1996 Ulrich Drepper <drepper@cygnus.com> 1996-07-29 00:18:42 +00:00
exp__E.c initial import 1995-02-18 01:27:10 +00:00
fdatasync.c Sun Apr 28 14:14:35 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> 1996-04-28 18:25:22 +00:00
ffs.c Tue Mar 19 14:18:42 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu> 1996-03-19 20:21:54 +00:00
fpu_control.c * hurd/Makefile (routines): Add get-host, set-host. 1996-06-16 03:49:40 +00:00
ftime.c update from main archive 1996-09-27 03:45:24 +00:00
getdomain.c * sysdeps/unix/i386/sysdep.h [HAVE_ELF] (ASM_TYPE_DIRECTIVE): 1995-09-27 16:05:25 +00:00
getenv.c update from main archive 960927 1996-09-28 03:24:10 +00:00
getpgrp.c initial import 1995-02-18 01:27:10 +00:00
gmp-mparam.h Updated from /src/gmp-2.0 1996-05-07 21:04:52 +00:00
group_member.c Tue Oct 31 00:07:29 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> 1995-10-31 06:54:40 +00:00
htonl.c initial import 1995-02-18 01:27:10 +00:00
htons.c initial import 1995-02-18 01:27:10 +00:00
inlines.c Tue May 7 19:00:01 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> 1996-05-08 02:07:47 +00:00
ioctl-types.h Remade for alpha-1.93 1996-08-02 05:27:50 +00:00
iovec.h Mon Mar 25 03:35:16 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu> 1996-03-25 17:48:26 +00:00
log__L.c initial import 1995-02-18 01:27:10 +00:00
lshift.c Updated from /src/gmp-2.0 1996-05-07 21:04:52 +00:00
lxstat.c Wed Jan 17 11:04:58 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu> 1996-01-18 00:35:55 +00:00
machine-gmon.h Upadte. 1996-08-28 00:26:07 +00:00
make_siglist.c #undef _SIGNAL_H before defining it. 1996-02-10 11:19:12 +00:00
mathimpl.h initial import 1995-02-18 01:27:10 +00:00
memccpy.c initial import 1995-02-18 01:27:10 +00:00
memchr.c Cast RHS to const unsigned char * to avoid error from Irix-4.0.5's C compiler. 1995-05-27 20:22:12 +00:00
memcmp.c Thu Jun 13 17:25:11 1996 David Mosberger-Tang <davidm@azstarnet.com> 1996-06-19 06:54:12 +00:00
memcopy.h initial import 1995-02-18 01:27:10 +00:00
memcpy.c * string/Makefile (distribute): Add pagecopy.h. 1995-02-21 08:07:34 +00:00
memmem.c Sun Jan 28 17:25:38 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu> 1996-01-28 22:47:31 +00:00
memmove.c * string/Makefile (distribute): Add pagecopy.h. 1995-02-21 08:07:34 +00:00
memset.c initial import 1995-02-18 01:27:10 +00:00
mig-reply.c initial import 1995-02-18 01:27:10 +00:00
mod_1.c Updated from /src/gmp-2.0 1996-05-07 21:04:52 +00:00
morecore.c Mon Aug 14 16:51:13 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> 1995-08-14 22:49:23 +00:00
mul.c Updated from /src/gmp-2.0 1996-05-07 21:04:52 +00:00
mul_1.c Updated from /src/gmp-2.0 1996-05-07 21:04:52 +00:00
mul_n.c Updated from /src/gmp-2.0 1996-05-07 21:04:52 +00:00
ntohl.c initial import 1995-02-18 01:27:10 +00:00
ntohs.c initial import 1995-02-18 01:27:10 +00:00
pagecopy.h . 1995-02-21 20:27:45 +00:00
prof-freq.c update from main archive 960927 1996-09-28 03:24:10 +00:00
profil-counter.h Sat Mar 2 16:35:40 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu> 1996-03-02 21:37:50 +00:00
pselect.c * inet/getnetent_r.c: Define NEED_H_ERRNO. 1996-07-12 02:01:17 +00:00
pty.c update from main archive 960927 1996-09-28 03:24:10 +00:00
putenv.c * misc/efgcvt_r.c (ecvt_r): Handle negative values. 1996-01-17 02:03:00 +00:00
resourcebits.h Update. 1996-08-07 23:50:59 +00:00
rshift.c Updated from /src/gmp-2.0 1996-05-07 21:04:52 +00:00
sbrk.c update from main archive 960828 1996-08-29 00:31:18 +00:00
schedbits.h *** empty log message *** 1996-09-13 06:22:21 +00:00
setenv.c update from main archive 1996-09-27 03:45:24 +00:00
setfpucw.c handle password file locking. 1996-08-26 10:28:45 +00:00
sigaction.h Sat Apr 20 18:13:00 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> 1996-04-21 00:27:19 +00:00
signame.c * sysdeps/unix/bsd/waitflags.h (WNOREAP): New macro. 1996-03-20 17:01:27 +00:00
signame.h Fri Feb 24 14:40:48 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> 1995-02-24 19:47:17 +00:00
sigset.h Wed May 22 00:40:50 1996 David Mosberger-Tang <davidm@azstarnet.com> 1996-05-23 05:33:49 +00:00
sincos.c initial import 1995-02-18 01:27:10 +00:00
sockaddrcom.h initial import 1995-02-18 01:27:10 +00:00
socketbits.h * posix/glob.h (__glob_opendir_hook, __glob_readdir_hook, 1996-07-09 23:17:59 +00:00
speed.c update from main archive 1996-09-27 03:45:24 +00:00
statfsbuf.h Tue Apr 23 15:56:56 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> 1996-04-24 00:58:47 +00:00
stpcpy.c * sysdeps/mach/hurd/getcwd.c (__getcwd): Renamed from getcwd. 1995-09-28 09:00:19 +00:00
stpncpy.c Update. 1996-08-09 02:46:09 +00:00
strcasecmp.c * sysdeps/mach/hurd/getcwd.c (__getcwd): Renamed from getcwd. 1995-09-28 09:00:19 +00:00
strcat.c initial import 1995-02-18 01:27:10 +00:00
strchr.c initial import 1995-02-18 01:27:10 +00:00
strcmp.c initial import 1995-02-18 01:27:10 +00:00
strcpy.c initial import 1995-02-18 01:27:10 +00:00
strcspn.c initial import 1995-02-18 01:27:10 +00:00
strlen.c initial import 1995-02-18 01:27:10 +00:00
strncase.c Wed Jun 26 01:58:49 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> 1996-06-26 15:46:01 +00:00
strncat.c initial import 1995-02-18 01:27:10 +00:00
strncmp.c initial import 1995-02-18 01:27:10 +00:00
strncpy.c initial import 1995-02-18 01:27:10 +00:00
strpbrk.c initial import 1995-02-18 01:27:10 +00:00
strrchr.c Tue May 14 19:42:04 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> 1996-05-15 15:49:26 +00:00
strsep.c update from main archive 960927 1996-09-28 03:24:10 +00:00
strspn.c initial import 1995-02-18 01:27:10 +00:00
strstr.c Sat Sep 16 17:47:19 1995 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de> 1995-09-17 20:23:15 +00:00
strtok.c update from main archive 1996-09-27 03:45:24 +00:00
strtok_r.c update from main archive 1996-09-27 03:45:24 +00:00
sub_n.c Updated from /src/gmp-2.0 1996-05-07 21:04:52 +00:00
submul_1.c Updated from /src/gmp-2.0 1996-05-07 21:04:52 +00:00
sysd-stdio.c update from main archive 1996-09-27 03:45:24 +00:00
sysdep.h Remade for alpha-1.93 1996-08-02 05:27:50 +00:00
termbits.h *** empty log message *** 1996-07-09 05:02:06 +00:00
trig.h initial import 1995-02-18 01:27:10 +00:00
uname.c update from main archive 1996-09-27 03:45:24 +00:00
ustatbits.h Update. 1996-08-09 02:46:09 +00:00
utmpbits.h * sysdeps/sparc/elf/start.S: New file. 1996-06-21 21:01:27 +00:00
utsnamelen.h initial import 1995-02-18 01:27:10 +00:00
varargs.h initial import 1995-02-18 01:27:10 +00:00
vfork.c initial import 1995-02-18 01:27:10 +00:00
vlimit.c update from main archive 1996-09-27 03:45:24 +00:00
vtimes.c initial import 1995-02-18 01:27:10 +00:00
waitstatus.h update from main archive 1996-09-27 03:45:24 +00:00
wordcopy.c initial import 1995-02-18 01:27:10 +00:00