glibc/stdio-common
Ulrich Drepper edf5b2d716 update from main archive 960906
Sat Sep  7 05:15:45 1996  Ulrich Drepper  <drepper@cygnus.com>

 	* libio/iofdopen: Initialize _lock field only if _IO_MTSAFE_IO.
	* libio/iofopen: Likewise.
	* libio/iofopncook.c: Likewise.
	* libio/iopopen.c: Likewise.
	* libio/iovsprintf.c: Likewise.
	* libio/iovsscanf.c: Likewise.
	* libio/memstream.c: Likewise.
	* libio/vasprintf.c: Likewise.
	* libio/vdprintf.c: Likewise.
	* libio/vsnprintf.c: Likewise.

Sat Sep  7 03:55:47 1996  Ulrich Drepper  <drepper@cygnus.com>

	* Makeconfig (soversions.mk): Also use shlib-versions files
	in add-on directories.
	* config.make.in (config-defines): Remove.  Not used anymore.
	(defines): New variable.  Initiliazed by @DEFINES@.
	* configure.in: Add AC_SUBST(DEFINES).

	* libio/Makefile (routines): When compiling reentrant libc add
 	clearerr_u, feof_u, ferror_u, fputc_u, getc_u, getchar_u,
 	iofflush_u, putc_u, putchar_u, ioflockfile.
	(CPPFLAGS): Add -D_IO_MTSAFE_IO for reentrant libc.

	* sysdeps/stub/libc-lock.h: Add stubs for __libc_cleanup_region_start
	and __libc_cleanup_region_end.

	* sysdeps/unix/i386/sysdep.S [_LIBC_REENTRANT]: Set errno
 	using __errno_location function.
	* sysdeps/unix/sysv/linux/i386/sysdep.S [_LIBC_REENTRANT]: Set errno
	using __errno_location function.
	(__errno_location): New function.
	* sysdeps/unix/sysv/linux/i386/sysdep.h [PIC]: Add second
 	syscall_error handler for reentrant libc.

	* sysdeps/unix/opendir.c: Remove unneeded `;'.

	* libio.h [_IO_MTSAFE_IO]: Include <pthread.h>.
	[!_IO_MTSAFE_IO]: Define _IO_flockfile and _IO_funlockfile
	as empty macros.
	* libioP.h: Include <libc-lock.h>.
	* libio/stdio.h: Add prototypes for *_locked and *_unlocked
	functions.

	* libio/clearerr.c: Use _IO_ protected versions of flockfile
	and funlockfile to be namespace clean.

	* libio/genops.c: Use __libc_lock_* macros for handling lock.

	* libio/iofdopen: Add initialization of _lock in _IO_FILE.
	* libio/iofopen: Likewise.
	* libio/iofopncook.c: Likewise.
	* libio/iopopen.c: Likewise.
	* libio/iovsprintf.c: Likewise.
	* libio/iovsscanf.c: Likewise.
	* libio/memstream.c: Likewise.
	* libio/vasprintf.c: Likewise.
	* libio/vdprintf.c: Likewise.
	* libio/vsnprintf.c: Likewise.

	* libio/fgetc.c: Use __libc_cleanup_region_* macros instead
	of flockfile etc.
	* 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/putc.c: Likewise.
	* libio/putchar.c: Likewise.
	* libio/rewind.c: Likewise.
	* stdio-common/vfprintf.c: Likewise.
	* stdio-common/vfscanf.c: Likewise.

	* libio/clearerr_u.c: Correct alias name.
	* libio/ferror_u.c: Likewise.
	* libio/fileno.c: Likewise.
	* libio/fputc_u.c: Likewise.
	* libio/getc.c: Likewise.
	* libio/getc_u.c: Likewise.
	* libio/getchar.c: Likewise.
	* libio/getchar_u.c: Likewise.
	* libio/putc.c: Likewise.
	* libio/putchar.c: Likewise.

	* libio/feof_u.c: Undefine macro with name of function before
 	definition of function itself.

	* libio/ioflockfile.c: New file.  Implementation of flockfile and
 	funlockfile.

	* libio/putchar_u.c: Fix typo.  Use stdout instead of fp.

	* malloc/malloc.h: Don't include <libc-lock.h> and don't declare
 	_malloc_loc.

	* malloc/free.c: Include <libc-lock.h>.
	* malloc/realloc.c: Likewise.
	* malloc/malloc-find.c: Likewise.
	* malloc/malloc-size.c: Likewise.
	* malloc/malloc-walk.c: Likewise.
	* malloc/memalign.c: Likewise.
	* malloc/malloc.c: Likewise.

	* sysdeps/i386/dl-machine.h: Correct clearing of _dl_starting_up.

Fri Sep  6 19:38:49 1996  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/stub/libc-lock.h: Define __libc_lock_critical_start
	and __libc_lock_critical_end as empty macros.

	* malloc/malloc.h: Don't include <libc-lock.h> and don't declare
	__libc_malloc_lock.
	* malloc/free.c: Include <libc-lock.h>.
	* malloc/malloc-find.c: Likewise.
	* malloc/malloc-size.c: Likewise.
	* malloc/malloc-walk.c: Likewise.
	* malloc/malloc.c: Likewise.
	* malloc/memalign.c: Likewise.
	* malloc/realloc.c: Likewise.

	* Makefile: Undo change from Mon Sep  2 22:15:14 1996.  No more
	extra_solibs pass.
	* Rules: Likewise.
	* extra-lib.mk: Likewise.
	* manual/Makefile: Likewise.

	* db/Makefile (makedb): Choose dependecies based on build-shared.
	Patch by Andres Schwab.

	* sysdeps/posix/sysconf.c: Don't use PTHREAD_DESTRUCTOR_ITERATIONS
 	but _POSIX_THREAD_DESTRUCTOR_ITERATIONS.

	* sysdeps/unix/sysv/linux/errnos.h: New file.
	* sysdeps/unix/sysv/linux/schedbits.h: New file.
	* sysdeps/unix/sysv/linux/waitflags.h: New file.

	* sysdeps/unix/sysv/linux/gnu/types.h: Add definition of `key_t'.

Fri Sep  6 08:26:31 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

	* rpm/template: Fix typo in %build section.

Fri Sep  6 03:31:07 1996  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/unix/sysv/linux/errnos.h: Don't define errno macro when
	building libc without thread support.
	* resolv/netdb.h: Likewise for h_errno macro.

Thu Sep  5 23:01:48 1996  Ulrich Drepper  <drepper@cygnus.com>

	* libc-symbols.h: Add new macro weak_const_function.  It's like
	weak_function, but the function is additionally marked as const.
	* features.h: Only include <sys/cdefs.h> if !__ASSEMBLER__.

Thu Sep  5 22:55:49 1996  Richard Henderson  <rth@tamu.edu>

	* inet/herrno.c (__h_errno_location): New function.
	(h_errno): Make strong_alias __h_errno so that we can access
	the variable even if `h_errno' is a macro.
	* resolv/netdb.h: Define macro h_errno to access thread specific
	version of h_errno variable.  Declare alias __h_errno for h_errno.
	* resolv/res_query (h_errno): Remove definition.
	* sysdeps/unix/sysv/linux/errnos.h [!__ASSEMBLER__ && __USE_REENTRANT]:
 	Add macro `errno' to get thread specific variable.
	* sysdeps/unix/alpha/sysdep.S [_LIBC_REENTRANT]: Set errno using
 	__errno_location function.
	(__errno_location): New function.

Thu Sep  5 21:08:44 1996  Ulrich Drepper  <drepper@cygnus.com>

	* posix/gnu/types.h: Remove definition of key_t.
	* sysdeps/generic/gnu/types.h: Move it to here.
	* sysdeps/unix/sysv/linux/gnu/types.h: Add Linux specific
	definition of key_t.

	* sysdeps/unix/sysv/linux/waitflags.h: New file.  Linux specific
	definitions.
	* sysdeps/unix/sysv/linux/schedbits.h: New file.  Include
	clone prototypes and associated flags.

Thu Sep  5 08:58:47 1996  Richard Henderson  <rth@tamu.edu>

	* sysdeps/alpha/elf/start.S: Make _start global again.

	hertz.
	here.

Wed Sep  4 16:16:13 1996  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/mach/hurd/send.c (__send): De-ANSI-fy.
	* sysdeps/mach/hurd/sendto.c (sendto): Likewise.
1996-09-07 04:10:57 +00:00
..
_itoa.c Wed May 8 20:04:29 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> 1996-05-09 00:37:21 +00:00
_itoa.h Remade for alpha-1.93 1996-08-02 05:27:50 +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
asprintf.c Wed Nov 29 12:30:50 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> 1995-11-30 04:49:04 +00:00
bug1.c * Makefile (subdirs): Replace stdio with stdio-common and $(stdio). 1995-10-17 00:41:39 +00:00
bug1.input * Makefile (subdirs): Replace stdio with stdio-common and $(stdio). 1995-10-17 00:41:39 +00:00
bug2.c * Makefile (subdirs): Replace stdio with stdio-common and $(stdio). 1995-10-17 00:41:39 +00:00
bug3.c * Makefile (subdirs): Replace stdio with stdio-common and $(stdio). 1995-10-17 00:41:39 +00:00
bug4.c * Makefile (subdirs): Replace stdio with stdio-common and $(stdio). 1995-10-17 00:41:39 +00:00
bug5.c * Makefile (subdirs): Replace stdio with stdio-common and $(stdio). 1995-10-17 00:41:39 +00:00
bug6.c * Makefile (subdirs): Replace stdio with stdio-common and $(stdio). 1995-10-17 00:41:39 +00:00
bug6.input * Makefile (subdirs): Replace stdio with stdio-common and $(stdio). 1995-10-17 00:41:39 +00:00
bug7.c * Makefile (subdirs): Replace stdio with stdio-common and $(stdio). 1995-10-17 00:41:39 +00:00
bug8.c Fri Dec 15 04:41:22 1995 Ulrich Drepper <drepper@gnu.ai.mit.edu> 1995-12-15 05:22:35 +00:00
bug9.c Fri Dec 15 04:41:22 1995 Ulrich Drepper <drepper@gnu.ai.mit.edu> 1995-12-15 05:22:35 +00:00
bug10.c Fri Dec 15 04:41:22 1995 Ulrich Drepper <drepper@gnu.ai.mit.edu> 1995-12-15 05:22:35 +00:00
bug11.c Fri Dec 22 00:38:00 1995 H.J. Lu <hjl@nynexst.com> 1995-12-23 01:14:10 +00:00
dprintf.c Wed Nov 29 12:30:50 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> 1995-11-30 04:49:04 +00:00
errnobug.c Tue Dec 5 02:27:32 1995 Ulrich Drepper <drepper@gnu.ai.mit.edu> 1995-12-05 03:35:55 +00:00
fprintf.c * Makefile (subdirs): Replace stdio with stdio-common and $(stdio). 1995-10-17 00:41:39 +00:00
fscanf.c * Makefile (subdirs): Replace stdio with stdio-common and $(stdio). 1995-10-17 00:41:39 +00:00
getline.c Wed May 22 22:10:01 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> 1996-05-23 03:15:42 +00:00
getw.c * Makefile (subdirs): Replace stdio with stdio-common and $(stdio). 1995-10-17 00:41:39 +00:00
Makefile Mon Jul 1 15:44:34 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> 1996-07-01 23:04:49 +00:00
perror.c * Makefile (subdirs): Replace stdio with stdio-common and $(stdio). 1995-10-17 00:41:39 +00:00
printf_fp.c update from main archive 960828 1996-08-29 00:31:18 +00:00
printf-parse.h * posix/glob.h (__glob_opendir_hook, __glob_readdir_hook, 1996-07-09 23:17:59 +00:00
printf-prs.c * posix/glob.h (__glob_opendir_hook, __glob_readdir_hook, 1996-07-09 23:17:59 +00:00
printf.c Wed Nov 29 12:30:50 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> 1995-11-30 04:49:04 +00:00
printf.h Wed May 22 01:48:54 1996 Ulrich Drepper <drepper@cygnus.com> 1996-05-22 02:11:55 +00:00
psignal.c Tue Oct 17 01:21:21 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> 1995-10-17 05:49:48 +00:00
putw.c * Makefile (subdirs): Replace stdio with stdio-common and $(stdio). 1995-10-17 00:41:39 +00:00
reg-printf.c Update. 1996-08-07 23:50:59 +00:00
scanf1.c * stdio-common/Makefile (tests): Add scanf[1-9]. 1996-01-24 08:23:33 +00:00
scanf2.c * stdio-common/Makefile (tests): Add scanf[1-9]. 1996-01-24 08:23:33 +00:00
scanf3.c Update to 960810. 1996-08-11 01:08:23 +00:00
scanf4.c * stdio-common/Makefile (tests): Add scanf[1-9]. 1996-01-24 08:23:33 +00:00
scanf5.c * stdio-common/Makefile (tests): Add scanf[1-9]. 1996-01-24 08:23:33 +00:00
scanf6.c * stdio-common/Makefile (tests): Add scanf[1-9]. 1996-01-24 08:23:33 +00:00
scanf7.c * stdio-common/Makefile (tests): Add scanf[1-9]. 1996-01-24 08:23:33 +00:00
scanf8.c * stdio-common/Makefile (tests): Add scanf[1-9]. 1996-01-24 08:23:33 +00:00
scanf9.c * stdio-common/Makefile (tests): Add scanf[1-9]. 1996-01-24 08:23:33 +00:00
scanf.c Update. 1996-08-07 23:50:59 +00:00
snprintf.c Wed Nov 29 12:30:50 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> 1995-11-30 04:49:04 +00:00
sprintf.c Wed Nov 29 12:30:50 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> 1995-11-30 04:49:04 +00:00
sscanf.c Wed Nov 29 12:30:50 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> 1995-11-30 04:49:04 +00:00
tempnam.c * Makefile (subdirs): Replace stdio with stdio-common and $(stdio). 1995-10-17 00:41:39 +00:00
temptest.c * Makefile (subdirs): Replace stdio with stdio-common and $(stdio). 1995-10-17 00:41:39 +00:00
test_rdwr.c * Makefile (subdirs): Replace stdio with stdio-common and $(stdio). 1995-10-17 00:41:39 +00:00
test-fseek.c * Makefile (subdirs): Replace stdio with stdio-common and $(stdio). 1995-10-17 00:41:39 +00:00
test-fwrite.c * Makefile (subdirs): Replace stdio with stdio-common and $(stdio). 1995-10-17 00:41:39 +00:00
test-popen.c * Makefile (subdirs): Replace stdio with stdio-common and $(stdio). 1995-10-17 00:41:39 +00:00
tfformat.c Thu Mar 28 03:25:10 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu> 1996-03-28 08:30:38 +00:00
tiformat.c Updated from ../gpl2lgpl.sed /home/gd/gnu/lib/error.c 1995-12-06 00:14:32 +00:00
tmpfile.c * Makefile (subdirs): Replace stdio with stdio-common and $(stdio). 1995-10-17 00:41:39 +00:00
tmpnam.c * Makefile (subdirs): Replace stdio with stdio-common and $(stdio). 1995-10-17 00:41:39 +00:00
tst-fileno.c * Makefile (subdirs): Replace stdio with stdio-common and $(stdio). 1995-10-17 00:41:39 +00:00
tst-printf.c Tue Apr 2 21:27:01 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> 1996-04-03 16:31:49 +00:00
tst-ungetc.c * nss/nss_files/files-ethers.c (ntohost): Fix db key. 1996-07-02 19:42:29 +00:00
tstdiomisc.c Fri Dec 15 04:41:22 1995 Ulrich Drepper <drepper@gnu.ai.mit.edu> 1995-12-15 05:22:35 +00:00
tstgetln.c Tue Dec 5 02:27:32 1995 Ulrich Drepper <drepper@gnu.ai.mit.edu> 1995-12-05 03:35:55 +00:00
tstgetln.input * Makefile (subdirs): Replace stdio with stdio-common and $(stdio). 1995-10-17 00:41:39 +00:00
tstscanf.c Wed Jul 17 20:41:30 1996 Ulrich Drepper <drepper@cygnus.com> 1996-07-17 19:32:22 +00:00
tstscanf.input * Makefile (subdirs): Replace stdio with stdio-common and $(stdio). 1995-10-17 00:41:39 +00:00
vfprintf.c update from main archive 960906 1996-09-07 04:10:57 +00:00
vfscanf.c update from main archive 960906 1996-09-07 04:10:57 +00:00
vprintf.c Wed Nov 29 12:30:50 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> 1995-11-30 04:49:04 +00:00
xbug.c * Makefile (subdirs): Replace stdio with stdio-common and $(stdio). 1995-10-17 00:41:39 +00:00