glibc/sysdeps/generic
Ulrich Drepper 68dbb3a69e update from main archive 961214
Sun Dec 15 01:53:20 1996  Ulrich Drepper  <drepper@cygnus.com>

	* Makefile (subdirs): Change crypt to md5-crypt.
	* crypt/Makefile, crypt/md5-crypt.c, crypt/md5.c, crypt/md5.h,
	crypt/md5c-test.c, crypt/md5test.c: Move to new directory
	md5-crypt.
	* sysdeps/unix/sysv/linux/configure.in: Refer to linuxthreads and
	crypt instead of LinuxThreads and des-crypt.

	* Makefile (subdirs): Add nss back.
	* sysdeps/unix/inet/Subdirs: Move nis to end of file to fulfill
	dependencies.

	* libio/iofclose.c: Implement fclose(NULL) as closing all streams.
	* stdio-common/Makefile (routines): Add fcloseall.
	* stdio-common/fcloseall.c: New file.
	* sysdeps/generic/abort.c: Make implementation POSIX.1 compatible.

	* sysdeps/mach/libc-lock.h: Add definition of __libc_lock_trylock.
	* sysdeps/stub/libc-lock.h: Define __libc_lock_trylock to always
	return 0.

	* stdio-common/printf.h: Define MIN and MAX only if not already
	defined.

	* stdio-common/vfprintf.c: Set errno to EBADF if stream does not
	allow writing.  Required by POSIX.1.

	* libio/libioP.h (CHECK_FILE): Use MAYBE_SET_EINVAL instead of
	assignment.

	* interp.c: Update copyright.
	* libio/clearerr.c: Likewise.
	* libio/ioseekoff.c: Likewise.
	* libio/ioseekpos.c: Likewise.
	* stdio/fclose.c: Likewise.
	* stdio/fflus.c: Likewise.

	* libio/libio.h [!_IO_MTSAFE_IO]: Define _IO_cleanup_region_start
	and _IO_cleanup_region_end as empty.
	* libio/fgetc.c: Use _IO_cleanup_region_start and
	_IO_cleanup_region_end instead of __libc_cleanup_region_start and
	__libc_cleanup_region_end.
	* libio/fputc.c: Likewise.
	* libio/freopen.c: Likewise.
	* libio/fseek.c: Likewise.
	* libio/getc.c: Likewise.
	* libio/getchar.c: Likewise.
	* libio/iofclose.c: Likewise.
	* libio/iofflush.c: Likewise.
	* libio/iofgetpos.c: Likewise.
	* libio/iofgets.c: Likewise.
	* libio/iofputs.c: Likewise.
	* libio/iofread.c: Likewise.
	* libio/iofsetpos.c: Likewise.
	* libio/ioftell.c: Likewise.
	* libio/iofwrite.c: Likewise.
	* libio/iogetdelim.c: Likewise.
	* libio/iogets.c: Likewise.
	* libio/ioputs.c: Likewise.
	* libio/iosetbuffer.c: Likewise.
	* libio/iosetvbuf.c: Likewise.
	* libio/ioungetc.c: Likewise.

	* libio/iovspintf.c: Use cleanup handler to make sure no dangling
	locks can stay over.
	* libio/iovsscanf.c: Likewise.

	* libio/genops.c: Use _IO_lock_init_recursive and _IO_lock_fini
	instead of __libc_lock_init_recursive and __libc_lock_fini.

	* libio/filedoalloc.c: Only use __isatty when compiling GNU libc.
	Otherwise use isatty.
	* libio/fileops.c: Likewise for __open and open.

	* login/utmp_file.c (getutent_r_file): Use fcntl instead of
	flock.

	* nis/ypclnt.h: Add more casts to prevent warnings.

	* nss/Makefile (services): Remove dns.
	(libnss_dns, libnss_dns-inhibit-o): Remove definition.
	($(objpfx)libnss_dns.so): Removed.
	* nss/nss_dns/dns-host.c, nss/nss_dns/dns-network.c: Moved to...
	* resolv/nss_dns: ...here.
	* resolv/Makefile (extra-libs): Add libnss_dns.
	(libnss_dns-routines, libnss_dns-inhibit-o): Define as in
	nss/Makefile.

	* nss/XXX-lookup.c: Call __nss_database_lookup with new argument
	specifying alternate name for entry in /etc/nsswitch.conf
	* nss/nsswitch.c: If no entry with primary name is found in
	/etc/nsswitch.conf try alternate name if given.
	* nss/nsswitch.h: Add new parameter in prototype for
	__nss_database_lookup.
	* nss/spwd-lookup.c: Provide alternative entry name to look for.
	This makes our NSS compatible with Solaris' nsswitch.conf files.

	* string/tst-strlen.c: Change all counting variables to type size_t
	to prevent warnings.

	* sysdeps/posix/fpathconf.c: Update copyright.
	* sysdeps/posix/pathconf.c: Don't call fpathconf to do the work.
	Opening the file at this path may fail if it is a FIFO or pipe.

	These changes make the time implementation POSIX.1 compliant.
	* time/localtime.c (__localtime_r): Always call __tzset not only
	if __tzset_run is zero.
	* time/strftime.c: Add definition of memset_space to help to
	reduce for systems which have memset.
	(strftime): Don't use tm_zone member of argument for zone name.
	Instead always use tzname[].
	Call tzset() as required by POSIX.1 before any action.
	* time/tzset.c (tzset): Set tzname[] as required by POSIX.1.
	Remove global variable __tzset_run.  __tzset is now called always
	when a dependent function is used.
	(__tzset): Caching happens based on the contents of the
	environment variable TZ.

Fri Dec 13 01:06:52 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

	* sysdeps/unix/sysv/linux/paths.h: Add _PATH_KLOG.

Thu Dec 12 09:16:35 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

	* rellns-sh: Correctly handle a relative source file name.

Wed Dec 11 19:18:40 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

	* login/utmp_file.c (setutent_file): Seek back to beginning of the
	file if resetting.

Thu Dec 12 16:39:12 1996  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>

	* hurd/hurdinit.c (map0): Delete function.  Don't do this on
	_hurd_preinit_hook.
	* hurd/hurdstartup.c (_hurd_startup): Map page zero redzone here.
1996-12-15 02:15:29 +00:00
..
gnu update from main archive 961114 1996-11-15 04:08:00 +00:00
netinet update from main archive 961114 1996-11-15 04:08:00 +00:00
sys update from main archive 961114 1996-11-15 04:08:00 +00:00
Dist initial import 1995-02-18 01:27:10 +00:00
Makefile update from main archive 961020 1996-10-21 01:26:31 +00:00
_strerror.c update from main archvie 961022 1996-10-22 23:29:26 +00:00
a.out.h update from main archive 961203 1996-12-04 01:41:39 +00:00
abort.c update from main archive 961214 1996-12-15 02:15:29 +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 961105 1996-11-06 04:24:40 +00:00
crypt-entry.c update from main archive 961030 1996-10-31 02:57:12 +00:00
crypt.h update from main archive 961114 1996-11-15 04:08:00 +00:00
det_endian.c initial import 1995-02-18 01:27:10 +00:00
div.c update from main archive 961105 1996-11-06 04:24:40 +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 Remove duplicate. 1996-10-08 02:43:01 +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
errno-loc.c update from main archive 961127 1996-11-28 04:16:09 +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 961207 1996-12-08 08:01:13 +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 update from main archive 961114 1996-11-15 04:08:00 +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
ldiv.c update from main archive 961105 1996-11-06 04:24:40 +00:00
lldiv.c update from main archive 961105 1996-11-06 04:24:40 +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 update from main archive 961001 1996-10-02 01:40:17 +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
paths.h update from main arcive 961210 1996-12-11 01:40:39 +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 961126 1996-11-27 06:13:15 +00:00
putenv.c update from main archive 961101 1996-11-02 01:28:01 +00:00
resourcebits.h update from main archive 961114 1996-11-15 04:08:00 +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 961101 1996-11-02 01:28:01 +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 update from main archive 961119 1996-11-20 03:45:51 +00:00
sincos.c initial import 1995-02-18 01:27:10 +00:00
sockaddrcom.h update from main archive 961114 1996-11-15 04:08:00 +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 961005 1996-10-06 02:05:11 +00:00
strtok_r.c update from main archive 961005 1996-10-06 02:05:11 +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 update from main archive 961105 1996-11-06 04:24:40 +00:00
termbits.h update from main archive 961114 1996-11-15 04:08:00 +00:00
trig.h initial import 1995-02-18 01:27:10 +00:00
uname.c update from main archive 961030 1996-10-31 02:57:12 +00:00
ustatbits.h Update. 1996-08-09 02:46:09 +00:00
utmpbits.h update from main archive 961119 1996-11-20 03:45:51 +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 961119 1996-11-20 03:45:51 +00:00
wordcopy.c initial import 1995-02-18 01:27:10 +00:00