Commit Graph

2583 Commits

Author SHA1 Message Date
Ulrich Drepper aa847ee5a4 Update.
1999-07-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* manual/math.texi (FP Function Optimization): Mention drawbacks.
1999-07-28 19:45:27 +00:00
Ulrich Drepper 9f097308c7 Update.
1999-07-28  Ulrich Drepper  <drepper@cygnus.com>

	* stdlib/mblen.c: Use static state.
	Reported by Bruno Haible <haible@ilog.fr>.

	* stdlib/mbtowc.c: Reset state for s == NULL.
	* stdlib/wctomb.c: Likewise.
	Reported by Bruno Haible <haible@ilog.fr>.

	* stdlib/mbstowcs.c: Do not use global state.
	Reported by Bruno Haible <haible@ilog.fr>.
1999-07-28 19:37:40 +00:00
Ulrich Drepper 97a0d44d89 Update.
1999-07-28  Andeas Schwab  <schwab@suse.de>

	* iconvdata/Makefile: Don't try to run iconv tests when cross
	compiling.
1999-07-28 19:16:26 +00:00
Ulrich Drepper 7396d8440b Update.
1999-07-27  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/posix/getaddrinfo.c (gaih_inet): Only return information
	for the hinted protocol.

	* sysdeps/unix/sysv/linux/alpha/bits/elfclass.h: Define Elf_Symndx
1999-07-28 03:27:45 +00:00
Ulrich Drepper e69dbc25e7 Update.
1999-07-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* time/Versions: Add POSIX.1b timer and clock functions to GLIBC_2.2.
1999-07-27 07:14:15 +00:00
Ulrich Drepper a1eca9f329 Update.
1999-07-25  Jakub Jelinek  <jj@ultra.linux.cz>

	* elf/link.h (struct link_map): Use Elf_Symndx instead of ElfXX_Symndx.
	* elf/dl-lookup.c (_dl_setup_hash): Likewise.
	* elf/dl-load.c (_dl_map_object): Likewise.
	* elf/do-lookup.h (do_lookup*): Likewise.
	* sysdeps/generic/bits/elfclass.h: Define Elf_Symndx as uint32_t.
	* sysdeps/unix/sysv/linux/alpha/bits/elfclass.h: Define Elf_symndx
	as uint64_t.
	* elf/elf.h: Remove Elf32_Symndx and Elf64_Symndx.
1999-07-27 05:53:25 +00:00
Ulrich Drepper 650364fa29 Update.
* sysdeps/unix/sysv/sysv4/setsid.c: Correct types.
	* sysdeps/generic/getpgrp.c: Likewise.
	* sysdeps/unix/sysv/sysv4/setpgid.c: Likewise.
	* sysdeps/unix/sysv/sysv4/getpgid.c: Likewise.
	Patch by John Tobey <jtobey@banta-im.com>.
1999-07-27 05:10:43 +00:00
Ulrich Drepper b7375f6c40 Update.
1999-07-26  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/posix/wait3.c: Help compiling in presence of
	__transparent_union__.  Reported by John Tobey <jtobey@banta-im.com>.
1999-07-27 05:00:18 +00:00
Ulrich Drepper 8cb079d41b Update.
* sysdeps/sparc/sparc64/add_n.S: Avoid using %g2, %g3, %g7 registers
	as much as possible. Declare them using .register pseudo-op if they
	are still used.
	* sysdeps/sparc/sparc64/lshift.S: Likewise.
	* sysdeps/sparc/sparc64/memchr.S: Likewise.
	* sysdeps/sparc/sparc64/memcmp.S: Likewise.
	* sysdeps/sparc/sparc64/memcpy.S: Likewise.
	* sysdeps/sparc/sparc64/memset.S: Likewise.
	* sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
	* sysdeps/sparc/sparc64/rshift.S: Likewise.
	* sysdeps/sparc/sparc64/stpcpy.S: Likewise.
	* sysdeps/sparc/sparc64/stpncpy.S: Likewise.
	* sysdeps/sparc/sparc64/strcat.S: Likewise.
	* sysdeps/sparc/sparc64/strchr.S: Likewise.
	* sysdeps/sparc/sparc64/strcmp.S: Likewise.
	* sysdeps/sparc/sparc64/strcpy.S: Likewise.
	* sysdeps/sparc/sparc64/strcspn.S: Likewise.
	* sysdeps/sparc/sparc64/strlen.S: Likewise.
	* sysdeps/sparc/sparc64/strncmp.S: Likewise.
	* sysdeps/sparc/sparc64/strncpy.S: Likewise.
	* sysdeps/sparc/sparc64/strpbrk.S: Likewise.
	* sysdeps/sparc/sparc64/strspn.S: Likewise.
	* sysdeps/sparc/sparc64/sub_n.S: Likewise.
	* sysdeps/sparc/sparc64/dl-machine.h: Likewise.
	Optimize trampoline code for .plt4-.plt32767.
	Fix trampolines for .plt32768+.

1999-07-25  Jakub Jelinek  <jj@ultra.linux.cz>
1999-07-27 04:43:32 +00:00
Ulrich Drepper f05f5ca385 Update.
1999-07-25  Jakub Jelinek  <jj@ultra.linux.cz>

	* sysdeps/sparc/sparc32/sparcv8/Makefile: -mv8 is deprecated, use
	-mcpu=v8.
	* sysdeps/sparc/sparc32/sparcv9/Makefile: Likewise.
	* sysdeps/sparc/sparc64/Makefile: Make %g7 register available for
	libc's private use (as assembly routine clobber it anyway).

1999-07-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* README.template (configurations): The crypt add-on has a new
	ftp site.
	* manual/install.texi (Installation): Likewise.
1999-07-27 02:07:01 +00:00
Ulrich Drepper 252ff6b676 Update.
* time/time.h: Add forward for struct sigevent.  Unix98 maybe
	requires to have a full definition but we wait for a bug report
	based on the test suite.
1999-07-27 00:39:04 +00:00
Ulrich Drepper be1dd9498b Update.
1999-07-26  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/generic/clock_getres.c: New file.
	* sysdeps/generic/clock_gettime.c: New file.
	* sysdeps/generic/clock_settime.c: New file.
	* sysdeps/generic/timer_create.c: New file.
	* sysdeps/generic/timer_delete.c: New file.
	* sysdeps/generic/timer_getoverr.c: New file.
	* sysdeps/generic/timer_gettime.c: New file.
	* sysdeps/generic/timer_settime.c: New file.

	* sysdeps/generic/bits/time.h: Define __clockid_t, __timer_t,
	CLOCK_REALTIME, and TIMER_ABSTIME.
	* sysdeps/mach/hurd/bits/time.h: Likewise.
	* sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
	* sysdeps/unix/sysv/linux/bits/time.h: Likewise.

	* sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _POSIX_TIMERS.

	* sysdeps/unix/sysv/linux/bits/siginfo.h: Define si_timer1 and
	si_timer2.

	* sysdeps/unix/sysv/linux/syscalls.list: Add clock and timer syscalls.

	* time/Makefile (routines): Add clock_getres, clock_gettime,
	clock_setres, timer_create, timer_delete, timer_getoverr,
	timer_gettime, and timer_settime.

	* time/time.h: Define clockid_t, timer_t, and struct itimerspec for
	POSIX.1b.  Add prototypes for clock and timer functions.
1999-07-27 00:24:04 +00:00
Roland McGrath ed664e8e4f 1999-07-26 Roland McGrath <roland@baalperazim.frob.com>
* hurd/hurdprio.c (_hurd_priority_which_map): Initialize PIDS.
	Fix from Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>.
1999-07-26 23:31:14 +00:00
Ulrich Drepper ff5c72ff50 Update.
* stdlib/wcstombs.c: Do not use global state.
	Reported by Bruno Haible <haible@ilog.fr>.
1999-07-26 17:01:32 +00:00
Ulrich Drepper eea35053ac Update.
* wcsmbs/wctob.c: Avoid sign extension when returning character.
	Reported by Bruno Haible <haible@ilog.fr>.
1999-07-26 16:48:22 +00:00
Ulrich Drepper b8a423c2db Update.
1999-07-26  Ulrich Drepper  <drepper@cygnus.com>

	* wcsmbs/wcsrtombs.c (__wcsrtombs): When computing maximum number
	of wide characters to convert do it right and don't overestimate
	by multiplying with MB_CUR_MAX.
	Reported by Bruno Haible <haible@ilog.fr>.
1999-07-26 16:42:39 +00:00
Ulrich Drepper b18ac18e67 Update.
1999-07-26  Jakub Jelinek  <jj@ultra.linux.jz>

	* string/bits/string2.h (__strcpy_small): Avoid compile time warning.
	(__stpcpy_small): Likewise.
	Union has no __uc member but __c.
1999-07-26 16:06:32 +00:00
Andreas Schwab c4bf322675 1999-07-26 Andreas Schwab <schwab@suse.de>
* sysdeps/m68k/dl-machine.h (RTLD_START): Call pre-init funtions.
1999-07-26 08:28:05 +00:00
Ulrich Drepper f1778711c8 Update.
* libio/iofclose.c (_IO_new_fclose): Only fall back on
	_IO_old_fclose if doing versioning.
1999-07-26 05:59:22 +00:00
Ulrich Drepper c7f7281eca Update.
* libio/iofclose.c (_IO_new_fclose): Detect new streams and handle
	them appropriately.
	* libio/oldiofclose.c (_IO_old_fclose): Likewise.
1999-07-26 02:38:26 +00:00
Ulrich Drepper 63f7cb448b Update.
* misc/tst-mntent.c: Add test case for addmntent and getmntent.
1999-07-26 01:47:15 +00:00
Ulrich Drepper b0b422e85d Update.
* misc/mntent_r.c: Allow spaces and tabs in entry names by
	encoding these characters.
1999-07-26 01:16:48 +00:00
Ulrich Drepper 722c33bbb6 Update.
* string/bits/string2.h: Fix aliasing problems.
	* sysdeps/i386/i486/bits/string.h: Likewise.
	* sysdeps/i386/bits/string.h: Likewise.

1998-12-28  Geoff Keating  <geoffk@ozemail.com.au>

	* sysdeps/powerpc/dl-machine.c: Handle shared library profiling.
	* elf/rtld.c (dl_main): Don't call malloc() between
	re-relocating the dynamic linker and running the application's crt0.

1999-07-21  Paul D. Smith  <psmith@gnu.org>

	* sysdeps/generic/glob.c: Move getlogin{,_r} prototypes below
	glob.h to get __P() macro.

	* posix/fnmatch.c (internal_fnmatch): Use K&R definition syntax,
	not ANSI.
	(__strchrnul): This won't exist outside GLIBC, so create one.

1999-07-25  Jakub Jelinek   <jj@ultra.linux.cz>

	* sysdeps/unix/sysv/linux/sparc/bits/types.h: Always define __qaddr_t.
	__ino64_t should be 32bit unsigned type on sparc32.
	Define __off64_t to __quad_t instead of __int64_t.
	Make __pic_pid_t unsigned on sparc32.

1999-07-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* localedata/tst-rpmatch.sh: Use "&" instead of "" to avoid a bug
	in bash 2.03.

1999-07-25  Ulrich Drepper  <drepper@cygnus.com>
1999-07-25 23:21:20 +00:00
Ulrich Drepper 788e8e7c22 Update.
1999-07-25  Ulrich Drepper  <drepper@cygnus.com>

	* iconvdata/euc-kr.c (euckr_from_ucs4): Set cp[0] to '\0' in case
	of an error.  Patch by Changwoo Ryu <cwryu@debian.org>.
1999-07-25 15:03:25 +00:00
Ulrich Drepper bd805dba0e Update.
* iconvdata/ksc5601.h (ksc5601_to_ucs4): Avoid invalid memory
	accesses.
1999-07-25 05:13:02 +00:00
Ulrich Drepper 30f9ca19e0 Update.
* resolv/res_send.c: Add locks for res_send and res_close use.
1999-07-25 00:58:33 +00:00
Ulrich Drepper e28bacf578 Update.
* elf/Makefile (dl-routines): Add preinit.
	* elf/Versions [ld.so] (GLIBC_2.2): Export _dl_preinit_next.
	* elf/link.h (struct link_map): Add new field l_preinitcount.
	* elf/dl-preinit.c: New file.
	* elf/dynamic-link.h: Initialize l_preinitcount.
	* sysdeps/i386/dl-machine.h (RTLD_START): Call pre-init functions.
1999-07-24 22:17:17 +00:00
Ulrich Drepper fcf70d4114 Update.
1999-07-24  Ulrich Drepper  <drepper@cygnus.com>

	* elf/dl-fini.c: Handle DT_FINI_ARRAY.
	* elf/link.h (struct link_map): Remove l_init_running.  Add l_runcount
	and l_initcount.
	* elf/dl-init.c: Handle DT_INIT_ARRAY.
	* elf/dynamic-link.h: Change parameters.  Now only get link_map
	pointer.  Calculate l_initcount.

	* elf/link.h (struct link_map): Add l_runpath_dirs.
	* elf/dynamic-link.h: If RUNPATH is given, set RPATH to NULL.
	* elf/dl-load.c: Pretty print.
	(decompose_rpath): Take new parameter with info from where the path
	comes.  Pass it the fillin_rpath.
	(_dl_init_paths): Initialize l_runpath_dirs.
	(_dl_map_object): Don't search using RPATHs if object has RUNPATH.
	Search using RUNPATH after LD_LIBRARY_PATH.
	* elf/dl-support.c: Adjust comment.
	* elf/rtld.c: Adjust help message.
1999-07-24 19:45:13 +00:00
Ulrich Drepper 3f38221989 Update.
1999-07-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* elf/rtld.c (dl_main): Adopt to changed _dl_lookup_symbol
	interface.
1999-07-24 17:41:49 +00:00
Roland McGrath 1ad3e19980 1999-07-23 Roland McGrath <roland@baalperazim.frob.com>
* sysdeps/generic/bits/termios.h (ONOEOT): Change value to 1<<3, to
	match BSD value; previous value of 1<<8 was a typo.  I bet nothing
	ever used this, so I'm not going to worry about compatibility.
	[__USE_GNU] (IUCLC, OLCUC): New macros.
1999-07-24 00:12:16 +00:00
Ulrich Drepper 49e49bf08b Update.
* include/libintl.h: Undefine N_ and _ first to avoid warnings.
1999-07-23 23:10:36 +00:00
Ulrich Drepper 06535ae948 Update.
* posix/unistd.h: Move declaration of __libc_enable_secure to...
	* include/unistd.h: ...here.

	* elf/dl-open.c (dl_open_worker): If DST is used in SUID program punt.
	* elf/dl-deps.c (expand_dst): Likewise.

	* elf/dynamic-link.h: Set DT_SYMBOLIC, DT_TEXTREL, and DT_BIND_NOW
	based on DT_FLAGS value.

	* elf/do-lookup.h: Remove reference_name parameter, add undef_map.
	Add test for symbols marked STV_HIDDEN.
	* elf/dl-lookup.c (_dl_lookup_symbol): Remove reference_name parameter,
	add undef_map.  Compute reference_name locally.  Update call to
	do_lookup.
	(_dl_lookup_symbol_skip): Likewise.
	(_dl_lookup_versioned_symbol): Likewise.
	(_dl_lookup_versioned_symbol_skip): Likewise.
	* elf/dl-libc.c: Update call to _dl_lookup_*symbol.
	* elf/dl-runtime.c: Likewise.
	* elf/dl-sym.c: Likewise.
	* elf/dl-symbol.c: Likewise.
	* elf/ldsodefs.h: Adjust prototypes.

	* elf/dl-reloc.c (RESOLV): Add test for STV_PROTECTED flag set and
	handle appropriately.  Add comment about DT_TEXTREL.
	* elf/dl-runtime.c: Likewise.
1999-07-23 22:58:50 +00:00
Ulrich Drepper fc9cfb28c0 Update.
1999-07-23  Ulrich Drepper  <drepper@cygnus.com>

	* elf/elf.h: Add ET_LOOS and ET_HIOS.
	Add various EM_* constants.
	Add SHN_LOOS and SHN_HIOS.
	Add SHT_INIT_ARRAY, SHT_FINI_ARRAY, and SHT_PREINIT_ARRAY.
	Add SHF_MERGE and SHF_STRINGS.
	(ElfXX_Sym): Update description of st_other field.
	Add STT_COMMON.
	Add ELFXX_ST_VISIBILITY and ELFXX_ST_OTHER.
	Add STV_* macros.
	Update comment on DT_RPATH.  Add DT_RUNPATH, DT_FLAGS, DT_ENCODING,
	DT_PREINIT_ARRAY, DT_PREINIT_ARRAYSZ.
	Add DF_ORIGIN, DF_SYMBOLIC, DF_TEXTREL, and DF_BIND_NOW.
1999-07-23 21:04:58 +00:00
Roland McGrath 421c80d27e 1999-07-21 Roland McGrath <roland@baalperazim.frob.com>
* elf/dl-reloc.c (_dl_reloc_bad_type): New function.
	* elf/ldsodefs.h: Declare it.
	* sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Use it
	instead of assert.
	(elf_machine_lazy_rel): Likewise.  Take new arg MAP.
	* sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
	(elf_machine_lazy_rel): Likewise.
	* sysdeps/mips/dl-machine.h (elf_machine_rel): Likewise.
	(elf_machine_lazy_rel): Likewise.
	* sysdeps/mips/mips64/dl-machine.h (elf_machine_rel): Likewise.
	(elf_machine_lazy_rel): Likewise.
	* sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
	(elf_machine_lazy_rel): Likewise.
	* sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
	(elf_machine_lazy_rel): Likewise.
	* sysdeps/generic/dl-machine.h (elf_machine_rel): Likewise.
	* sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
	(elf_machine_lazy_rel): Likewise.
	* sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
	(elf_machine_lazy_rel): Likewise.
	* sysdeps/powerpc/dl-machine.h (elf_machine_lazy_rel): Likewise.
	* sysdeps/powerpc/dl-machine.c (__process_machine_rela): Use
	_dl_reloc_bad_type instead of _dl_signal_error.
	* elf/do-rel.h (elf_dynamic_do_rel): Pass MAP to elf_machine_lazy_rel.
1999-07-21 16:58:06 +00:00
Roland McGrath e26996aa99 1999-07-20 Mark Kettenis <kettenis@gnu.org>
* sysdeps/mach/_strerror.c: Include <libintl.h>.

1999-07-19  Roland McGrath  <roland@baalperazim.frob.com>

	* hurd/hurdsig.c (_hurd_internal_post_signal): If a
	hurd_signal_preemptor matches but its `preemptor' field is null, use
	its `handler' field directly.  This is to comply with behavior
	documented in <hurd/sigpreempt.h>.
1999-07-21 16:50:21 +00:00
Andreas Schwab 580345725c * libio/fileops.c (_IO_new_file_underflow): Set error indicator
when reading from write-only stream.
	* libio/oldfileops.c (_IO_old_file_underflow): Likewise.
	* libio/wfileops.c (_IO_wfile_underflow): Likewise.

1999-07-21  Andreas Schwab  <schwab@suse.de>
1999-07-21 13:24:21 +00:00
Andreas Schwab 566089a08a 1999-07-21 Andreas Schwab <schwab@suse.de>
* nss/test-netdb.c (output_hostent): Don't crash if h_aliases is
	NULL.
1999-07-21 08:19:48 +00:00
Roland McGrath ce803f0a91 bad commit 1999-07-20 22:57:14 +00:00
Roland McGrath 8d18723936 1999-07-16 Roland McGrath <roland@baalperazim.frob.com>
* elf/dl-reloc.c (_dl_reloc_bad_type): New function.
	* elf/ldsodefs.h: Declare it.
	* sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Use it
	instead of assert.
	(elf_machine_lazy_rel): Likewise.
	* sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
	(elf_machine_lazy_rel): Likewise.
	* sysdeps/mips/dl-machine.h (elf_machine_rel): Likewise.
	* sysdeps/mips/mips64/dl-machine.h (elf_machine_rel): Likewise.
	* sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
	(elf_machine_lazy_rel): Likewise.
	* sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
	(elf_machine_lazy_rel): Likewise.
	* sysdeps/generic/dl-machine.h (elf_machine_rel): Likewise.
	* sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
	(elf_machine_lazy_rel): Likewise.
	* sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
	(elf_machine_lazy_rel): Likewise.

1999-07-21  Mark Kettenis  <kettenis@gnu.org>

	* sysdeps/mach/hurd/read.c: Do not include <hurd.h> and
	<hurd/fd.h>.
	* sysdeps/mach/hurd/write.c: Do not include <hurd.h> and
	<hurd/fd.h>.
	(__libc_write): Call __pwrite instead of __pread.
1999-07-20 22:56:39 +00:00
Roland McGrath c768719df4 * sysdeps/mach/hurd/pread.c (__pread): Include <hurd/fd.h>. Fix typo.
* sysdeps/mach/hurd/pwrite.c (__pwrite): Include <hurd/fd.h>.
1999-07-20 21:19:03 +00:00
Roland McGrath 180c9ab7e3 1999-07-20 Mark Kettenis <kettenis@gnu.org>
* sysdeps/mach/hurd/mmap.c (__mmap): Use correct arguments in
	__vm_allocate calls.

1999-07-20  Mark Kettenis  <kettenis@gnu.org>

	* sysdeps/mach/hurd/sysd-stdio.c (__stdio_read): Call
	_hurd_fd_read with new OFFSET argument set to -1.
	(__stdio_write): Call _hurd_fd_write with new OFFSET argument set
	to -1.

1999-07-17  Roland McGrath  <roland@baalperazim.frob.com>

	* hurd/hurdexec.c (_hurd_exec): Prune trailing null ports from the
	descriptor table sent in the RPC.
1999-07-20 21:07:23 +00:00
Andreas Schwab 2aefabe1a2 1999-07-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* time/strptime.c [!_LIBC]: Fix __mon_day size.  Reported by
	bill@taniwha.org [PR libc/1211].
1999-07-20 13:53:07 +00:00
Andreas Schwab b3ed821981 1999-07-19 Andreas Schwab <schwab@suse.de>
* libio/Makefile (routines): Add fwprintf.

	PowerPC has own version of w_sqrt.c and w_sqrtf.c.
	* math/w_sqrt.c: Moved to ...
	* sysdeps/generic/w_sqrt.c: ... here.
	* math/w_sqrtf.c: Moved to ...
	* sysdeps/generic/w_sqrtf.c: ... here.

	* Make-dist (generic-dirs): New variable.
	(try-sysdeps, +sysdep-names): Use it.
	* extra-lib.mk (all-$(lib)-routines): New variable.  Use it
	instead of $(lib)-routines.
	* elf/Makefile (distribute): Add dl-cache.h.
	* db2/Makefile (distribute): Add all new files.
	* iconvdata/Makefile (distribute): Don't distribute CVS
	directory.
	* math/Makefile (distribute): Remove machine/endian.h, add
	math_ldbl.h.
	* stdio-common/Makefile (distribute): Add _itowa.h.
	* sysdeps/generic/Dist: Remove make_siglist.c, add siglist.h.
	* sysdeps/gnu/Dist: Add eval.c
	* sysdeps/gnu/Makefile (libdl-sysdep_routines) [$(subdir) =
	dlfcn]: Add to this instead of libdl-routines.
	* sysdeps/ieee754/ldbl-128/Dist: New file.
	* sysdeps/mach/hurd/Dist: Add siglist.h
	* sysdeps/unix/sysv/linux/Dist: Add kernel-features.h.
1999-07-20 08:19:37 +00:00
Ulrich Drepper de1910fd06 Update.
* resolv/netdb.h: Add prototypes for getipnodebyaddr, freehostent,
	and getipnodebyname.  The latter comes soon.
1999-07-19 21:48:37 +00:00
Ulrich Drepper a982226402 Update. 1999-07-19 01:48:52 +00:00
Ulrich Drepper c486fcdf41 Update.
* sysdeps/unix/sysv/linux/sparc/Dist: Add ldd-rewrite.sed.

>>>>>>> 1.2438
1999-07-19 01:48:35 +00:00
Ulrich Drepper a553168f1e Update.
* inet/Makefile (routines): Add getipnodebyad and freehostent.
	* inet/Versions [GLIBC_2.2] (libc): Add getipnodebyad and freehostent.
	* inet/freehostent.c: New file.
	* inet/getipnodebyad.c: New file.
	* nss/digits_dots.c: Fail if IPv6 is found and IPv4 is requested.
	Add support for getipnode* functions.

	* nss/digits_dots.c: Don't use __set_h_errno, assign to *h_errnop.
	Set h_aliases to NULL and not to a pointer to an array with a NULL
	pointer following XNS 5.2.
1999-07-18 23:25:06 +00:00
Ulrich Drepper b74c71e87f Update.
* posix/sched.h: Remove internal interfaces.
	* include/sched.h: Add internal interfaces.

	* nss/getXXbyYY.c: Provide variable h_errnop to help shared code.
1999-07-18 19:22:04 +00:00
Ulrich Drepper da0c6e6adf Update.
* nss/digits_dots.c: Set h_errnop if memory allcoation failed.
1999-07-18 19:03:41 +00:00
Ulrich Drepper ae81730fad Update.
1999-07-18  Ulrich Drepper  <drepper@cygnus.com>

	* inet/gethstbyad_r.c (PREPROCESS): Test for unspecified IPv6 address
	and return an error in this case.
	* nss/getXXbyYY_r.c: Allow PREPROCESS be defined and use it if
	available.
1999-07-18 17:31:43 +00:00
Ulrich Drepper 30f22ab12d Update.
1999-07-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Follow change from
	1999-07-17 and adjust len parameter.
	* nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise.
	* nscd/gethstbyad_r.c (ADD_PARAMS): Likewise.
	* manual/socket.texi (Host Names): Likewise.
	* nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyaddr_r): Likewise.
	* nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r):
	Likewise.
	* resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
	* resolv/gethnamaddr.c (gethostbyaddr): Likewise.
	(ht_gethostbyaddr): Likewise.
	(_gethtbyaddr): Likewise.
1999-07-18 16:05:57 +00:00
Ulrich Drepper bbacd44b2a Update.
* include/netdb.h: Likewise.
1999-07-18 05:40:39 +00:00
Ulrich Drepper 5da9f08469 Update.
* resolv/netdb.h: Adjust parameters of gethostbyaddr and
	gethostbyaddr_r.
	* inet/gethstbyad.c: Correct type of len parameter.
	* inet/gethstbyad_r.c: Likewise.
1999-07-18 05:33:11 +00:00
Ulrich Drepper 6bd7b31b9c Update.
1999-07-17  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/unix/sysv/linux/arm/Versions: Undo last change.
1999-07-18 00:30:08 +00:00
Ulrich Drepper 428383e84f Update.
1999-07-17  Zack Weinberg  <zack@rabi.columbia.edu>

	* include/libc-symbol.h: Clean up definitions of weak_alias,
	strong_alias, symbol_version, etc. etc.
	* posix/getopt.h: Use ctype.h to get features.h included, and don't
	include it at all if __GNU_LIBRARY__ is already defined.
1999-07-18 00:19:18 +00:00
Ulrich Drepper d957279cfb Update.
* stdio-common/bug1.c: Include <stdlib.h> to get prototype for free.

	* malloc/malloc.c: Add missing chunk of patch from 1999-07-04.
1999-07-17 23:56:47 +00:00
Ulrich Drepper 57fb9b3868 Update.
* sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise
	* sysdeps/generic/bits/time.h: Likewise.
	* sysdeps/mach/hurd/bits/time.h: Likewise.
	* sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
	* sysdeps/generic/bits/types.h: Likewise.
	* posix/sys/types.h: Define suseconds_t for X/Open.
1999-07-17 23:20:43 +00:00
Ulrich Drepper e58f1a46f4 Update.
1999-07-17  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/unix/sysv/linux/bits/time.h (timeval): Use __suseconds_t
	type for tv_usec element.
	* sysdeps/unix/sysv/linux/bits/types.h: Define __suseconds_t.
	* sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
	* sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
	* sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
1999-07-17 23:12:43 +00:00
Ulrich Drepper 9c6f68cdc9 Update.
* stdio-common/bug1.c: Avoid memory leak.
1999-07-15 18:45:14 +00:00
Ulrich Drepper aff6dc6cff Update.
1999-07-15  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/i386/fpu/e_pow.S: Use addl instead of pop/pop to keep
	program deterministic.
	* sysdeps/i386/fpu/e_powf.S: Likewise.
	* sysdeps/i386/fpu/e_powl.S: Likewise.
1999-07-15 18:44:07 +00:00
Ulrich Drepper 3fe4dc4156 Update.
1999-07-15  Jakub Jelinek  <jj@ultra.linux.cz>

	* math/Makefile: Add t_sincosl and k_sincosl support routines.
	* math/math_private.h (__kernel_sincosl): New declaration.
	* sysdeps/generic/t_sincosl.c: New file.
	* sysdeps/generic/k_sincosl.c: New file.
	* sysdeps/ieee754/ldbl-128/k_cosl.c: New file.
	* sysdeps/ieee754/ldbl-128/k_sinl.c: New file.
	* sysdeps/ieee754/ldbl-128/k_sincosl.c: New file.
	* sysdeps/ieee754/ldbl-128/t_sincosl.c: New file.
	* sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: New file.
	* sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Use
	__kernel_sincosl.
	* sysdeps/ieee754/ldbl-128/math_ldbl.h (GET_LDOUBLE_LSW64): New
	definition.
1999-07-15 18:26:25 +00:00
Ulrich Drepper 446d213c35 Update.
1999-07-15  Ulrich Drepper  <drepper@cygnus.com>

	* posix/unistd.h: Use __PMT for exit.
1999-07-15 18:13:33 +00:00
Ulrich Drepper 2946d3e1d4 Update.
1999-07-15  Philip Blundell  <pb@nexus.co.uk>

	* sysdeps/unix/sysv/linux/arm/Versions (_inb, _inw, _inl, _outb,
	_outw, _outl): Added to GLIBC_2.1.2.
1999-07-15 11:52:44 +00:00
Ulrich Drepper c5ccd92f4c Update.
1999-07-15  Ulrich Drepper  <drepper@cygnus.com>

	* posix/fnmatch.h: Use __name instead of __string in prototype to
	allow use outside glibc.
1999-07-15 11:45:51 +00:00
Ulrich Drepper 0050ad5f64 Update.
* time/tst-strptime.c (main): Add one more test case.  Produce
	output even when result is ok.
1999-07-14 21:05:24 +00:00
Ulrich Drepper 965e02a290 Update.
1999-07-14  Ulrich Drepper  <drepper@cygnus.com>

	* time/strptime.c (get_number): Handle number parsing more
	consistent with strftime.  Only parse a given number of digits.
	(get_alt_number):  Fix implementation.  Was broken.
	(strptime_internal): Add third parameter to get_number and
	get_alt_number calls.
1999-07-14 18:20:41 +00:00
Ulrich Drepper 3a8599b21c Update.
1999-07-13  Jakub Jelinek  <jj@ultra.linux.cz>

	* elf/ldd.bash.in: Add support for multiple dynamic linkers.
	* sysdeps/unix/sysv/linux/sparc/ldd-rewrite.sed: On sparc*linux*,
	try both 32bit and 64bit dynamic linker.
	* sysdeps/unix/sysv/linux/configure.in: Apply sparc ldd-rewrite
	script on all sparc targets.

1999-07-13  Jakub Jelinek  <jj@ultra.linux.cz>

	* sysdeps/unix/sysv/linux/shmat.c (shmat): Avoid casting a pointer
	to int.
1999-07-14 15:21:35 +00:00
Ulrich Drepper c33bd0123e Update.
1999-07-13  Andreas Schwab  <schwab@suse.de>

	* elf/dl-runtime.c (fixup, profile_fixup): Call alloca to prevent
	inlining.  Fixes PR libc/1198.
1999-07-14 15:10:51 +00:00
Ulrich Drepper c68cb81185 More corrections.
* sysdeps/i960/Implies: Imply ieee754/flt-32 and ieee754/dbl-64
	instead of ieee754.
	* sysdeps/generic/s_nextafter.c: ...here.
	* sysdeps/generic/s_nexttowardl.c: ...here.
1999-07-14 15:02:03 +00:00
Ulrich Drepper d4ff4aeb87 Update.
1999-07-14  Andreas Schwab  <schwab@suse.de>

	* Makerules (common-generated): Don't prepend $(common-objpfx).
1999-07-14 14:54:47 +00:00
Ulrich Drepper 6385221257 Name correct locations for the moved/new files.
* sysdeps/generic/e_exp10.c: ...here.
	* sysdeps/generic/e_exp10f.c: ...here.
	* sysdeps/generic/e_exp10l.c: ...here.
	* sysdeps/generic/e_scalb.c: ...here.
	* sysdeps/generic/e_scalbf.c: ...here.
	* sysdeps/generic/e_scalbl.c: ...here.
	* sysdeps/generic/s_cacos.c: ...here.
	* sysdeps/generic/s_cacosf.c: ...here.
	* sysdeps/generic/s_cacosh.c: ...here.
	* sysdeps/generic/s_cacoshf.c: ...here.
	* sysdeps/generic/s_cacoshl.c: ...here.
	* sysdeps/generic/s_cacosl.c: ...here.
	* sysdeps/generic/s_casin.c: ...here.
	* sysdeps/generic/s_casinf.c: ...here.
	* sysdeps/generic/s_casinh.c: ...here.
	* sysdeps/generic/s_casinhf.c: ...here.
	* sysdeps/generic/s_casinhl.c: ...here.
	* sysdeps/generic/s_casinl.c: ...here.
	* sysdeps/generic/s_catan.c: ...here.
	* sysdeps/generic/s_catanf.c: ...here.
	* sysdeps/generic/s_catanh.c: ...here.
	* sysdeps/generic/s_catanhf.c: ...here.
	* sysdeps/generic/s_catanhl.c: ...here.
	* sysdeps/generic/s_catanl.c: ...here.
	* sysdeps/generic/s_ccos.c: ...here.
	* sysdeps/generic/s_ccosf.c: ...here.
	* sysdeps/generic/s_ccosh.c: ...here.
	* sysdeps/generic/s_ccoshf.c: ...here.
	* sysdeps/generic/s_ccoshl.c: ...here.
	* sysdeps/generic/s_ccosl.c: ...here.
	* sysdeps/generic/s_cexp.c: ...here.
	* sysdeps/generic/s_cexpf.c: ...here.
	* sysdeps/generic/s_cexpl.c: ...here.
	* sysdeps/generic/s_clog.c: ...here.
	* sysdeps/generic/s_clog10.c: ...here.
	* sysdeps/generic/s_clog10f.c: ...here.
	* sysdeps/generic/s_clog10l.c: ...here.
	* sysdeps/generic/s_clogf.c: ...here.
	* sysdeps/generic/s_clogl.c: ...here.
	* sysdeps/generic/s_cpow.c: ...here.
	* sysdeps/generic/s_cpowf.c: ...here.
	* sysdeps/generic/s_cpowl.c: ...here.
	* sysdeps/generic/s_cproj.c: ...here.
	* sysdeps/generic/s_cprojf.c: ...here.
	* sysdeps/generic/s_cprojl.c: ...here.
	* sysdeps/generic/s_csin.c: ...here.
	* sysdeps/generic/s_csinf.c: ...here.
	* sysdeps/generic/s_csinh.c: ...here.
	* sysdeps/generic/s_csinhf.c: ...here.
	* sysdeps/generic/s_csinhl.c: ...here.
	* sysdeps/generic/s_csinl.c: ...here.
	* sysdeps/generic/s_csqrt.c: ...here.
	* sysdeps/generic/s_csqrtf.c: ...here.
	* sysdeps/generic/s_csqrtl.c: ...here.
	* sysdeps/generic/s_ctan.c: ...here.
	* sysdeps/generic/s_ctanf.c: ...here.
	* sysdeps/generic/s_ctanh.c: ...here.
	* sysdeps/generic/s_ctanhf.c: ...here.
	* sysdeps/generic/s_ctanhl.c: ...here.
	* sysdeps/generic/s_ctanl.c: ...here.
	* sysdeps/generic/s_fdim.c: ...here.
	* sysdeps/generic/s_fdimf.c: ...here.
	* sysdeps/generic/s_fdiml.c: ...here.
	* sysdeps/generic/s_fma.c: ...here.
	* sysdeps/generic/s_fmaf.c: ...here.
	* sysdeps/generic/s_fmal.c: ...here.
	* sysdeps/generic/s_fmax.c: ...here.
	* sysdeps/generic/s_fmaxf.c: ...here.
	* sysdeps/generic/s_fmaxl.c: ...here.
	* sysdeps/generic/s_fmin.c: ...here.
	* sysdeps/generic/s_fminf.c: ...here.
	* sysdeps/generic/s_fminl.c: ...here.
	* sysdeps/generic/s_ldexp.c: ...here.
	* sysdeps/generic/s_ldexpf.c: ...here.
	* sysdeps/generic/s_ldexpl.c: ...here.
	* sysdeps/generic/s_nan.c: ...here.
	* sysdeps/generic/s_nanf.c: ...here.
	* sysdeps/generic/s_nanl.c: ...here.
	* sysdeps/generic/s_significand.c: ...here.
	* sysdeps/generic/s_significandf.c: ...here.
	* sysdeps/generic/s_significandl.c: ...here.
	* sysdeps/generic/math_ldbl.h: New file.
	* sysdeps/generic/s_nexttowardf.c: New file.
	* sysdeps/generic/strtold.c: New file.
	* sysdeps/generic/ldbl2mpn.c: New file.
1999-07-14 12:20:14 +00:00
Ulrich Drepper abfbdde177 Update. 1999-07-14 00:54:57 +00:00
Ulrich Drepper 86421aa57e Update.
1999-07-12  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/posix/getaddrinfo.c (gaih_inet): For non-passive
	connections without a hostname set address to localhost address.
1999-07-12 21:28:32 +00:00
Ulrich Drepper bec5a77adb Fix typo.
* nscd/hstcache.c: Likewise.
	* nscd/pwdcache.c: Likewise.
1999-07-12 18:15:36 +00:00
Ulrich Drepper a4edafc178 Update.
1999-07-11  H.J. Lu  <hjl@gnu.org>

	* nscd/grpcache.c: Add prefix "__" to get[a-z]*_r () to get
	nscd's own strong version of the get[a-z]*_r function.
	* nscd/hstcache.c: Likwise.
	* nscd/pwdcache.c: Likwise.
1999-07-12 18:11:40 +00:00
Ulrich Drepper 464e36050f Update.
1999-07-12  Ulrich Drepper  <drepper@cygnus.com>

	* configure.in: Recognize 2.95 as gcc version number.
	Patch by Joel Klecker <jk@espy.org>.
1999-07-12 17:55:37 +00:00
Ulrich Drepper b2bcd61a99 Update.
1999-07-12  Andreas Schwab  <schwab@suse.de>

	* elf/rtld.c (dl_main): When putting back the interpreter object
	handle the case where a missing object might occur in the list of
	objects but not in the search list when in trace mode.
1999-07-12 16:33:05 +00:00
Ulrich Drepper eb242eda56 Update.
1999-07-11  Ulrich Drepper  <drepper@cygnus.com>

	* Versions.def (libnss_hesiod): Add GLIBC_2.2.
	* hesiod/Versions (libnss_hesiod) [GLIBC_2.2]: Add
	_nss_hesiod_initgroups.
1999-07-11 17:37:50 +00:00
Roland McGrath c6496762e4 * sysdeps/mach/hurd/brk.c (static_data_start): New variable.
(_hurd_set_brk, init_brk): Use that instead of &__data_start.
	Initialize it from &__data_start if defined, or else &_end.

1999-07-11  Roland McGrath  <roland@baalperazim.frob.com>
1999-07-11 17:16:47 +00:00
Roland McGrath 78d37b3500 1999-07-11 Roland McGrath <roland@baalperazim.frob.com>
* sysdeps/mach/hurd/mmap.c (__mmap): Short-circuit to vm_allocate
	for MAP_ANON, prot==PROT_READ|PROT_WRITE.
1999-07-11 11:48:08 +00:00
Ulrich Drepper 5ef2d37b33 Update.
1999-07-09  Ulrich Drepper  <drepper@cygnus.com>

	* stdio-common/vfprintf.c (buffered_vfprintf): Add locking.
1999-07-09 22:22:21 +00:00
Ulrich Drepper fbb802fc7d Update. 1999-07-09 22:04:10 +00:00
Ulrich Drepper ae3c157102 Update.
1999-07-09  H.J. Lu  <hjl@gnu.org>

	* Versions.def (GLIBC_2.1.2): Added.

	* nss/getXXent_r.c: Make the new ABI GLIBC_2.1.2 and keep the
	old one as GLIBC_2.0.
	* nss/getXXbyYY_r.c: Likewise.

	* grp/Versions (getgrent_r, getgrgid_r, getgrnam_r): Added to
	GLIBC_2.1.2.
	* inet/Versions (getaliasbyname_r, getaliasent_r,
	gethostbyaddr_r, gethostbyname2_r, gethostbyname_r,
	gethostent_r, getnetbyaddr_r, getnetbyname_r, getnetent_r,
	getnetgrent_r, getprotobyname_r, getprotobynumber_r,
	getprotoent_r, getrpcbyname_r, getrpcbynumber_r, getrpcent_r,
	getservbyname_r): Likewise.
	* pwd/Versions (getpwent_r, getpwuid_r): Likewise.
	* shadow/Versions (getspent_r, getspnam_r): Likewise.
1999-07-09 21:03:41 +00:00
Ulrich Drepper c2fa5b5a4f Update.
1999-07-09  Cristian Gafton  <gafton@redhat.com>

	* nscd/nscd_gethst_r.c (nscd_gethst_r): Make sure
	resultbuf->h_addr_list addresses are correctly aligned.

	* sysdeps/i386/bits/string.h (__memcpy_c): Help some stupid old
	compilers.
	(__memset_cc): Likewise.
1999-07-09 20:58:54 +00:00
Ulrich Drepper a828c2f533 Update.
* sysdeps/generic/libc-start.c: For SUID binaries check whether
	the standard file descriptors are open.
	Reported by Chris Evans <chris@ferret.lmh.ox.ac.uk>.
1999-07-09 16:18:17 +00:00
Ulrich Drepper 3eb515a631 Update.
* sysdeps/unix/sysv/linux/syscalls.list: Remove mmap64 alias for mmap.
	* sysdeps/unix/sysv/linux/mmap64.c: Test whether mapped area is in
	range of mmap.  If not fail.
	Patches by Daniel Jacobowitz <dan@debian.org>.
1999-07-09 15:17:23 +00:00
Ulrich Drepper 6a1db4ffb6 Update.
* elf/rtld.c: Split _dl_start in two pieces to prevent GOT usage
	before the relocation happened.
	Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
1999-07-09 14:34:22 +00:00
Ulrich Drepper 56ad7b2cec Update.
1999-07-09  Ulrich Drepper  <drepper@cygnus.com>

	* Versions.def (libnsl): Add GLIBC_2.2.
	* nis/Versions (libnsl) [GLIBC_2.2]: Add xdr_ypall.

1999-07-08  Cristian Gafton  <gafton@redhat.com>

	* nis/yp_xdr.c (xdr_ypall): New function.
1999-07-09 13:05:42 +00:00
Ulrich Drepper 019e7a645a Update.
1999-07-09  Andreas Schwab  <schwab@suse.de>

	* elf/Makefile (headers): Remove bits/dlfcn.h and dlfcn.h.

	* dlfcn/Makefile (headers): Add bits/dlfcn.h.
1999-07-09 10:13:23 +00:00
Ulrich Drepper bee1e289fa Update.
1999-07-09  Ulrich Drepper  <drepper@cygnus.com>

	* hesiod/Versions [GLIBC_2.2]: Add _nss_hesiod_initgroups.
	* hesiod/hesiod-grp.c: Add initgroups support.
	Patch by Nalin Dahyabhai <nsdahya1@pobox.com>.
1999-07-09 09:58:27 +00:00
Ulrich Drepper 110215a9a7 Update.
1999-07-08  Andreas Schwab  <schwab@suse.de>

	* libio/iofopncook.c (fopencookie): Set _fileno to -2.

	* libio/libioP.h (_IO_file_is_open): Only check for -1, not all
	negative numbers.

	* libio/fileops.c (_IO_new_file_close_it): Set _fileno to -1, not
	EOF.
	* libio/oldfileops.c (_IO_old_file_close_it): Likewise.

1999-07-08  Andreas Schwab  <schwab@suse.de>

	* stdio-common/vfprintf.c (buffered_vfprintf): Initialize _mode.

1999-07-08  Andreas Schwab  <schwab@suse.de>

	* libio/fileno.c: Return -1 instead of EOF and set errno if the
	stream is not a real file stream.

1999-07-08  Andreas Schwab  <schwab@suse.de>

	* manual/charset.texi: Fix typos.
1999-07-08 11:59:45 +00:00
Ulrich Drepper 94e365c612 Update.
* sysdeps/gnu/Makefile (libdl-routines): Add eval.

1999-07-06  Zack Weinberg  <zack@rabi.columbia.edu>

	* dlfcn: New directory.  Move the following files from elf:
	dladdr.c, dlclose.c, dlerror.c, dlfcn.h, dlopen.c,
	dlopenold.c, dlsym.c, dlvsym.c.
	* dlfcn/Makefile: New file.
	* dlfcn/Versions: New file.
	* dlfcn/dlsym.c: All ELF-specific code split out to new
	function _dl_sym.
	* dlfcn/dlvsym.c: All ELF-specific code split out to new
	function _dl_vsym.
	* elf/dl-sym.c: New file.  _dl_sym and _dl_vsym are
	implemented here.

	* dlfcn/dladdr.c: Remove all references to ELF data structures
	or headers.
	* dlfcn/dlclose.c: Likewise.
	* dlfcn/dlerror.c: Likewise.
	* dlfcn/dlopen.c: Likewise.
	* dlfcn/dlopenold.c: Likewise.

	* Makeconfig (dlfcn): New variable - set to `dlfcn' if elf is
	yes, empty otherwise.
	(libdl): Set to dlfcn/libdl.so or libdl.a if elf is yes,
	depending on build-shared.
	(subdirs): Add $(dlfcn).
	(rpath-dirs): Add dlfcn.
	* elf/Makefile: Remove all references to libdl or its
	components, except the ones relating to the test cases.
	(routines): Add dl-sym.
	* elf/Versions (libc): Add _dl_sym and _dl_vsym for GLIBC_2.2.
	(libdl): Delete.

	* elf/dl-close.c (_dl_close): Change argument to void *.
	* elf/dl-open.c (_dl_open): Change return type to void *.
	* elf/eval.c: Removed.
	* elf/ldsodefs.h: Move prototypes of _dl_catch_error,
	_dlerror_run, _dl_open, _dl_close, _dl_addr, and
	_dl_mcount_wrapper_check to include/dlfcn.h.  Delete
	_CALL_DL_FCT macro.
	* include/dlfcn.h: Also prototype _dl_sym and _dl_vsym here.
	Include real header from dlfcn directory.
	* include/ldsodefs.h: Removed.

	* grp/initgroups.c: Use DL_CALL_FCT not _CALL_DL_FCT.
	* nss/getXXbyYY_r.c: Likewise.
	* nss/getXXent_r.c: Likewise.
	* iconv/gconv.c: Likewise.  Don't include ldsodefs.h.
	* iconv/gconv_db.c: Likewise.  Don't include ldsodefs.h.
	* iconv/skeleton.c: Don't include ldsodefs.h.
	* nss/nsswitch.h: Don't include ldsodefs.h.  Include dlfcn.h.

1999-07-07  Ulrich Drepper  <drepper@cygnus.com>
1999-07-07 18:39:33 +00:00
Ulrich Drepper 2556bfe6fd Update.
* sysdeps/generic/setenv.c: Describe problem.

	* malloc/malloc.c (request2size): Also set errno if failing.
1999-07-07 18:02:39 +00:00
Ulrich Drepper 9ae6fc542a Update.
* malloc/malloc.c (request2size): Also set errno of failing.
1999-07-07 15:33:09 +00:00
Ulrich Drepper 597d10a00a Update.
* malloc/malloc.c (request2size): Take care of overflow in
	addition.
1999-07-07 14:29:02 +00:00
Ulrich Drepper 1823e76b95 Update.
* sysdeps/posix/getcwd.c: Correct last patch.  Handle getcwd
	(NULL, != 0) correctly.
1999-07-07 14:15:25 +00:00
Ulrich Drepper 6c790888b4 Update.
* elf/dl-load.c: Use a few more __builtin_expect.
1999-07-07 12:58:12 +00:00
Ulrich Drepper c9cddf51e7 Update.
1999-07-07  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/posix/getcwd.c: When resizing buffer make sure new size
	is large enough.
1999-07-07 12:30:38 +00:00
Ulrich Drepper d7807bfa57 Update
1999-07-07  Andreas Schwab  <schwab@suse.de>

	* sysdeps/unix/sysv/linux/getpt.c: Check that /dev/pts is mounted.
	(_PATH_DEVPTS, DEVPTS_SUPER_MAGIC): New definitions.
	(_PATH_DEVPTMX): Use _PATH_DEV.

1999-07-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* malloc/tst-malloc.c: New file.  Tests some basic functionality.
	* malloc/Makefile (tests): Add tst-malloc.

	* sysdeps/unix/sysv/linux/sparc/ldd-rewrite.sed: New file.
1999-07-07 12:14:17 +00:00
Ulrich Drepper a381d207f5 Update.
* libio/oldtmpfile.c: Adjust call of __gen_tempname to match new
	convention.
1999-07-06 20:10:29 +00:00
Ulrich Drepper 2e65ca2b22 Update.
1999-07-06  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/unix/sysv/linux/alpha/ioperm.c: Update for some more
	motherboards.
	Patch by Jay Estabrook.

	* sysdeps/unix/sysv/linux/configure.in: Don't test for libc4 in
	ldd for SPARC.
	* /sysdeps/unix/sysv/linux/sparc/ldd-rewrite.sed: New file.
	Patch by Cristian Gafton.

1999-07-02  Cristian Gafton  <gafton@redhat.com>

	* sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): "return 0"
	instead of "return NULL" to make C++ happy.

1999-07-04  Mark Kettenis  <kettenis@gnu.org>

	* libio/iofdopen.c (_IO_new_fdopen): Set EINVAL if MODE is not
	allowed by the file access mode of the open file.

1999-07-06  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/generic/setfpucw.c: Include math.h to get all needed
	macros defined.

1999-07-03  Jakub Jelinek   <jj@ultra.linux.cz>

	* sysdeps/sparc/sparc64/submul_1.S: Fix carry handling. Optimize.
	* sysdeps/sparc/sparc64/lshift.S: Make a leaf subroutine. Optimize.
	* sysdeps/sparc/sparc64/rshift.S: Likewise.
	* sysdeps/sparc/sparc64/mul_1.S: Optimize.

1999-07-04  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>

	* malloc/malloc.c (request2size): Check for overflow and return
	NULL whenever it is encountered.

1999-07-04  Zack Weinberg  <zack@rabi.columbia.edu>

	* sysdeps/posix/tempname.c (__gen_tempname):   Add
	ability to create directories.  Replace OPENIT and LARGEFILE
	args with a single flags parameter.
	* sysdeps/generic/tempname.c: Likewise.
	* include/stdio.h: Adjust prototype of __gen_tempname to
	match.  Define symbolic constants for second argument.

	* misc/mkdtemp.c: New file, provides new function mkdtemp().
	* stdlib/stdlib.h: Prototype it.
	* misc/Versions: Export it.
	* misc/Makefile (routines): Add mktemp.
	* manual/filesys.texi: Document it.

	* misc/mktemp.c: Adjust call of __gen_tempname to match new
	convention.
	* misc/mkstemp.c: Likewise.
	* stdio-common/tempnam.c: Likewise.
	* stdio-common/tmpfile.c: Likewise.
	* stdio-common/tmpfile64.c: Likewise.
	* stdio-common/tmpnam.c: Likewise.
	* stdio-common/tmpnam_r.c: Likewise.

1999-07-05  Jakub Jelinek   <jj@ultra.linux.cz>

	* sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Support
	R_SPARC_OLO10 relocations.
	* elf/elf.h (R_SPARC_OLO10): Fix comment.
1999-07-06 16:26:03 +00:00
Ulrich Drepper 4708015f24 Update.
1999-07-02  Tim Waugh  <tim@cyberelk.demon.co.uk>

	* posix/wordexp-test.c: Revert bogus 'unset IFS' change.  It
	doesn't belong in the tests, but in the wordexp implementation.

	* posix/wordexp.c (exec_comm): Unset IFS so that subshells don't
	split fields.
1999-07-02 11:50:55 +00:00
Ulrich Drepper 8d93eb92af Update
1999-07-01  Cristian Gafton  <gafton@redhat.com>
 
	* time/strptime.c (strptime): Initialize the tm struct first to avoid
	returning bogus results on incomplete data.
	(strptime_internal): day_of_the_week() requres bith tm_mon and
	tm_mday to be initializaed.
	Computer them first if they are not given.
	(strptime_internal): (have_mon, have_mday): New variables.
1999-07-01 22:04:01 +00:00
Ulrich Drepper c5f57c58ca Update.
1999-07-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* inet/rcmd.c (__icheckhost): Fix typo in last patch.

1999-07-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* wcsmbs/wcschr.c (wcschr): Fix last patch: Add missing semicolon.
	* wcsmbs/wcsrchr.c (wcsrchr): Likewise.

1999-07-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* posix/wordexp.c (parse_tilde): Handle failing call to
	get.*_r functions correctly for non-existing entry.
	* sysdeps/posix/cuserid.c (cuserid): Likewise.
	* sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Likewise.
1999-07-01 21:13:35 +00:00
Ulrich Drepper 1d863dc0b4 Update.
1999-06-30  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/unix/sysv/linux/gethostid.c: Handle failing call to
	getxxbyYY_r functions correctly for non-existing entry.
	* sunrpc/getrpcport.c: Likewise.
	* sunrpc/clnt_simp.c: Likewise.
	* inet/rexec.c: Likewise.
	* sunrpc/clnt_gen.c: Likewise.
	* inet/rcmd.c: Likewise.
	* sysdeps/generic/glob.c: Likewise.
1999-06-30 17:41:35 +00:00
Ulrich Drepper c11f120913 Update.
1999-06-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* pwd/Makefile (tests): Add rules for tst-getpw.

	* pwd/tst-getpw.c: New program to test getpw.
1999-06-30 17:17:53 +00:00
Ulrich Drepper 0ea5db4f1f Update.
1999-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* inet/rcmd.c (__icheckhost): Test for gethostbyname_r result
	correctly.

1999-06-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* manual/arith.texi (System V Number Conversion): Fix the
	description which confused pointer and value to pointer.
	Reported by Andries.Brouwer@cwi.nl.

1999-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* pwd/getpw.c (__getpw): Check for NULL result pointer.

1999-06-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* manual/users.texi (Lookup User): Document POSIX return
	semantics for getpwuid_r and getgrgid_r.

	* manual/socket.texi (Host Names): Document that the result
	pointer is null in case of error or host not found and fix a
	typo.  Give a small example.
1999-06-30 17:16:08 +00:00
Ulrich Drepper 16848c985d Update.
* pwd/getpw.c: Add warning since no buffer size is given and
	therefore no overrun tests are possible.

1999-06-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* pwd/pwd.h: Add getpw prototype declaration.

1999-06-30  Ulrich Drepper  <drepper@cygnus.com>
1999-06-30 16:58:13 +00:00
Ulrich Drepper 1cda411d51 Update.
1999-06-30  Ulrich Drepper  <drepper@cygnus.com>

	* wcsmbs/wcsrchr.c: Fix handling of L'\0' parameter.
	* wcsmbs/wcschr.c: Likewise.
1999-06-30 16:55:43 +00:00
Ulrich Drepper b3fc5f84d1 Update.
* sysdeps/libm-ieee754/e_gamma_r.c: Initialize *signgamp for NaN
	returns.
	* sysdeps/libm-ieee754/e_gammaf_r.c: Likewise.
	* sysdeps/libm-ieee754/e_gammal_r.c: Likewise.
	Reported by John Reiser <jreiser@BitWagon.com> [PR libc/1185].

	* elf/dl-dst.h: Fix typo.
	* elf/dl-open.c: Likewise.

1999-06-26  Zack Weinberg  <zack@rabi.columbia.edu>

	* elf/dl-libc.c: New file, provides three functions:
	__libc_dlopen, __libc_dlclose, __libc_dlsym.
	* include/dlfcn.h: Prototype them.  Prototype _dl_addr.
	* elf/Makefile (routines): Add dl-libc.c.
	* elf/dl-profstub.c (_dl_mcount_wrapper): Change type of
	argument to void *.
	* elf/ldsodefs.h: Change proto and use of _dl_mcount_wrapper to match.

	* iconv/gconv.c: Include dlfcn.h.
	* iconv/gconv_db.c: Likewise.
	* malloc/mtrace.c: Likewise.  Don't include ldsodefs.h.

	* iconv/gconv_int.h (struct __gconv_loaded_object): Change
	`handle' to a void *.
	(__gconv_find_func): Delete prototype.

	* iconv/gconv_dl.c: Don't include ldsodefs.h.  Remove
	dlerror_run and related functions and structs.  Use
	__libc_dlopen, __libc_dlsym, __libc_dlclose.
	* nss/nsswitch.c: Likewise.

1999-06-28  Ulrich Drepper  <drepper@cygnus.com>
1999-06-28 15:52:36 +00:00
Ulrich Drepper 738d1a5a43 Update.
1999-06-28  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/unix/sysv/linux/gethostid.c: Test for gethostbyname_r
	function correctly.

	* sunrpc/getrpcport.c: Test for gethostbyname_r function
	correctly.

	* sunrpc/clnt_simp.c: Test for gethostbyname_r function correctly.

	* sunrpc/clnt_gen.c: Test for gethostbyname_r and getprotobyname_r
	functions correctly.

	* inet/rexec.c (rexec): Test for gethostbyname_r result correctly.

	* inet/rcmd.c: Test for gethostbyname_r result correctly.  Optimize
	file reading a bit.

	* sysdeps/generic/glob.c: Test for getpwnam_r result correctly.

1999-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* manual/string.texi (Copying and Concatenation): Mention that
	strndup is a GNU extension.

1999-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* pwd/getpw.c (__getpw): Fix check for error return.
1999-06-28 12:43:04 +00:00
Ulrich Drepper 419505579c Update.
1999-06-25  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* elf/dl-deps.c (_dl_map_object_deps): When looking for the next
	occurence of the aux object start with the current list entry, not
	the new one.  Adjust tail pointer in the unique list.  Explain how
	the meaning of the variables changes [PR libc/1168].
1999-06-26 18:18:04 +00:00
Andreas Schwab 44ea104ffe 1999-06-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* sysdeps/m68k/fpu/Dist: New file.
1999-06-26 18:12:26 +00:00
Andreas Schwab 50e3b39760 1999-06-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* sysdeps/m68k/fpu/bits/mathinline.h: Move all libm internal
	definitions...
	* sysdeps/m68k/fpu/mathimpl.h: ... here.  New file.
	* sysdeps/m68k/fpu/e_acos.c: Include "mathimpl.h".
	* sysdeps/m68k/fpu/e_atan2.c: Likewise.
	* sysdeps/m68k/fpu/e_fmod.c: Likewise.
	* sysdeps/m68k/fpu/e_pow.c: Likewise.
	* sysdeps/m68k/fpu/e_scalb.c: Likewise.
	* sysdeps/m68k/fpu/s_ccos.c: Likewise.
	* sysdeps/m68k/fpu/s_ccosh.c: Likewise.
	* sysdeps/m68k/fpu/s_cexp.c: Likewise.
	* sysdeps/m68k/fpu/s_csin.c: Likewise.
	* sysdeps/m68k/fpu/s_csinh.c: Likewise.
	* sysdeps/m68k/fpu/s_ilogb.c: Likewise.
	* sysdeps/m68k/fpu/s_llrint.c: Likewise.
	* sysdeps/m68k/fpu/s_llrintf.c: Likewise.
	* sysdeps/m68k/fpu/s_llrintl.c: Likewise.
	* sysdeps/m68k/fpu/s_modf.c: Likewise.
1999-06-26 16:45:10 +00:00
Roland McGrath 6f9dc08b86 * hurd.h, hurd/hurd/fd.h, hurd/hurd/port.h, hurd/hurd/signal.h,
hurd/hurd/threadvar.h, hurd/hurd/userlink.h: Instead of
	_EXTERN_INLINE, use a macro specific to each file,
	_HURD_FD_H_EXTERN_INLINE and the like.
	* hurd/Makefile (inline-headers): New variable.
	(routines): Remove hurdinline.  Add $(inlines).
	(inlines): New variable.
	($(inlines:%=$(objpfx)%.c)): New static pattern rule to generate them.
	(generated): Append those here.
	* hurd/hurdinline.c: File removed.
1999-06-25 14:50:51 +00:00
Roland McGrath 448af2c46f * sysdeps/generic/glob64.c: Include <stddef.h> for NULL. 1999-06-25 13:46:56 +00:00
Roland McGrath efb08d80ca 1999-06-25 Roland McGrath <roland@baalperazim.frob.com>
* mach/Versions (libc: GLIBC_2.0): Add __mig_strncpy.
1999-06-25 13:33:03 +00:00
Ulrich Drepper 176c4992ba Update.
1999-06-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* nscd/connections.c (nscd_run): Use correct type for optlen variable.
1999-06-25 08:44:36 +00:00
Ulrich Drepper 6ae326216f Update.
1999-06-25  Ulrich Drepper  <drepper@cygnus.com>

	* string/bits/string2.h (strnlen): Remove extra prototype.
1999-06-25 08:34:03 +00:00
Ulrich Drepper 00ac5e3308 Update.
1999-06-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* manual/filesys.texi (Working on Directory Trees): Fix typos.
	Reported by Andries.Brouwer@cwi.nl.

	* math/complex.h: Don't define CX_LIMITED_RANGE_{ON,OFF,DEFAULT}.
	These are *pragmas* not macros.
1999-06-24 23:47:50 +00:00
Ulrich Drepper 1709e27af7 Update.
* nscd/connections.c (handle_request): Use correct type for optlen
	variable.
1999-06-24 23:15:52 +00:00
Ulrich Drepper e22206f336 Update.
1999-06-24  Ulrich Drepper  <drepper@cygnus.com>

	* misc/tst-efgcvt.c (ecvt_tests): Test 92.0 with ndigits == 16.
	* misc/efgcvt_r.c (ecvt_r): Limit ndigits before passing it to fcvt_r.
1999-06-24 13:25:48 +00:00
Ulrich Drepper d0db5f488d Update.
1999-06-24  Thorsten Kukuk  <kukuk@suse.de>

	* nscd/grpcache.c: Add "notfound" data to cache, not iov pointer.
	* nscd/pwdcache.c: Likewise.
	* nscd/hstcache.c: Likewise.
1999-06-24 13:08:20 +00:00
Ulrich Drepper d6a1bbed9b Update.
* sysdeps/generic/fpu_control.c: Include math.h for __P definition.
1999-06-23 13:02:09 +00:00
Ulrich Drepper d456553faf Update.
* posix/getopt.h: Include stdio.h.
1999-06-23 12:58:33 +00:00
Ulrich Drepper 67994d6f60 Update.
1999-06-23  Ulrich Drepper  <drepper@cygnus.com>

	* manual/arith.texi: Document restriction of ndigit parameter of
	ecvt and friends.
	* misc/efgcvt.c: Define NDIGIT_MAX.
	(gcvt): Limit precision in sprintf call to NDIGIT_MAX.
	Do not dynamically allocate the static buffers.  They are small enough.
	* misc/efgcvt_r.c: Define NDIGIT_MAX.
	(fcvt_r): Limit precision in snprintf call to NDIGIT_MAX.
	* misc/qefgcvt.c: Define NDIGIT_MAX.
	* misc/qefgcvt_r.c: Likewise.
	* misc/tst-efgcvt.c (special): Add test for large ndigit parameter.
1999-06-23 12:38:51 +00:00
Ulrich Drepper 7df789e059 Update.
1999-06-23  Zack Weinberg  <zack@rabi.columbia.edu>

	* libio/stdio.h: Define stdin, stdout, stderr as macros.
	* math/complex.h: Don't define
	CX_LIMITED_RANGE_{ON,OFF,DEFAULT}.  These are *pragmas* not
	macros.
	* wcsmbs/wchar.h: Fix comment.

	* grp/grp.h: Use __foo_t_defined convention to typedef things
	only once.
	* io/sys/stat.h: Likewise.
	* libio/stdio.h: Likewise.
	* posix/unistd.h: Likewise.
	* posix/sys/types.h: Likewise.
	* posix/sys/wait.h: Likewise.
	* pwd/pwd.h: Likewise.
	* signal/signal.h: Likewise.
	* sysdeps/generic/stdint.h: Likewise.
	* sysdeps/gnu/utmpx.h: Likewise.
	* termios/termios.h: Likewise.
1999-06-23 11:04:09 +00:00
Ulrich Drepper 1cc2b04ed7 Update.
1999-06-23  Ulrich Drepper  <drepper@cygnus.com>

	* stdio/fputc.c: Don't define alias if fputc is defined as a
	macro.
	* stdio/putc.c: Define weak alias here since it is not done
	anymore in fputc.c.

1999-06-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* assert/assert.h: Don't produce `defined' as part of macro
	expansion.
1999-06-23 10:47:33 +00:00
Roland McGrath 8b2134db5e 1999-06-23 Roland McGrath <roland@baalperazim.frob.com>
* sysdeps/mach/hurd/read.c (__libc_read): Just call __pread with
	OFFSET argument of (off_t) -1.
	* sysdeps/mach/hurd/write.c (__libc_write): Just call __pwrite with
	OFFSET argument of (off_t) -1.

	* sysdeps/mach/hurd/pwrite.c: New file.
	* sysdeps/mach/hurd/pread.c: New file.

	* hurd/fd-read.c (_hurd_fd_read): Take new parameter OFFSET and
	pass it in the RPC instead of always -1.
	* hurd/fd-write.c (_hurd_fd_write): Likewise.
	* hurd/hurd/fd.h: Update decls.
1999-06-22 23:56:08 +00:00
Ulrich Drepper de88ee7a6a Update.
1999-06-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* libio/wscanf.c: Include <wchar.h> for prototype.
1999-06-22 12:35:23 +00:00
Ulrich Drepper 0be8752b9e Update.
1999-06-22  Ulrich Drepper  <drepper@cygnus.com>

	* manual/io.texi. Fix typos.
	* manual/stdio.texi: Likewise.
	Patches by Brian Youmans <3diff@gnu.org>.
1999-06-22 12:18:19 +00:00
Ulrich Drepper 181e000cfa Update.
1999-06-22  Geoff Keating  <geoffk@ozemail.com.au>

	* sysdeps/powerpc/strcmp.S: Don't return a zero result if the high
	bits of two words differ.
1999-06-22 10:57:44 +00:00
Ulrich Drepper f042f18f93 Update.
1999-06-21  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* libio/Makefile (routines): Add putwchar and putwchar_u.

	* libio/putwchar.c: Include <wchar.h> instead of "stdio.h".
	* libio/putwchar_u.c: Likewise.  Use _IO_stdout instead of
	stdout.  Fix parameter name.

	* libio/getchar.c: Consistently use _IO_stdin instead of stdin.
	* libio/getchar_u.c: Likewise.

	* libio/putchar_u.c: Use _IO_stdout instead of stdout.

1999-06-21  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* include/features.h (__GNUC_PREREQ): Don't generate `defined' via
	macro expansion---it's undefined.  Properly parenthesize
	substituted parameters.
	(__GLIBC_PREREQ): Likewise.
1999-06-21 16:46:16 +00:00
Ulrich Drepper ae8b36f7ec Update.
* Makeconfig (CPPFLAGS): Revert last change.  It has too many
	weird effects.
1999-06-21 15:19:47 +00:00
Ulrich Drepper 04fbd6533c Update.
* stdlib/longlong.h: Provide __P definition if not already
	defined.
1999-06-21 14:58:43 +00:00
Ulrich Drepper e7da3bfca8 Update.
1999-06-21  Ulrich Drepper  <drepper@cygnus.com>

	* include/wchar.h: Use __gnuc_va_list not va_list in prototype.
1999-06-21 14:22:46 +00:00
Ulrich Drepper 655c069718 Update.
1999-06-18  Thorsten Kukuk  <kukuk@suse.de>

	* sysdeps/alpha/atomicity.h: Correct counting of subsections.

1999-06-17  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* stdlib/tst-strtoll.c: Avoid warning about huge constant.

1999-06-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* stdio-common/vfprintf.c (group_member): Make parameters and
	return types pointers to CHAR_T instead of UCHAR_T.
	(vfprintf): Change type of work_buffer, workend and string to
	CHAR_T pointer/array.
	(process_arg, process_string_arg): Adjust/remove casts.  Add
	missing use of L_ macro.
	(printf_unknown): Add missing uses of L_ macro.

1999-06-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* wcsmbs/wcschrnul.c: Explicitly cast return value to avoid
	warning.

1999-06-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* libio/wgenops.c (__wuflow): Fix use of WEOF vs. EOF.  Call
	_IO_switch_to_wget_mode instead of _IO_switch_to_get_mode.
	(__wunderflow): Likewise.
	(_IO_switch_to_wget_mode): Likewise.
	(_IO_init_wmarker): Likewise.

	* libio/wfileops.c (_IO_wfile_seekoff): Call
	_IO_switch_to_wget_mode, not _IO_switch_to_get_mode.
	(_IO_wfile_jumps): Fix pbackfail entry.

	* libio/iosetvbuf.c (_IO_setvbuf): Only call wide char setbuf
	function if the stream is currently unoriented.

1999-06-19  Zack Weinberg  <zack@rabi.columbia.edu>

	* wcsmbs/wchar.h: Define __need___va_list before including stdarg.h.
	Wrap all wide stream functions with #ifdef __USE_ISOC9X.  Use
	__gnuc_va_list in v*w(printf|scanf) prototypes.

1999-06-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* libio/oldiopopen.c (_IO_old_proc_open): Apply change from
	1999-03-29 to iopopen also here.
	Reported by Richard Braakman <dark@xs4all.nl>.

1999-06-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* include/features.h: Use __GNUC_PREREQ.
	* sysdeps/i386/fpu/bits/mathinline.h: Likewise

1999-06-19  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* stdio-common/vfscanf.c (ungetc, inchar) [COMPILE_WPRINTF]:
	Change EOF to WEOF and remove cast.
	(UNGETC): Remove macro.
	(_IO_vfwscanf): Change isspace to ISSPACE and UNGETC to ungetc.
	* stdio-common/printf-parse.h (find_spec) [!COMPILE_WPRINTF]:
	Change ISASCII to isascii and MBRLEN to mbrlen.
	(parse_one_spec): Compare info.spec always against wchar_t
	values.
	* stdio-common/vfprintf.c: Remove unused ISASCII and MBRLEN.
	(_itoa, _itoa_word) [COMPILE_WRPINTF]: Don't cast second argument.
	(NOT_IN_JUMP_RANGE, CHAR_CLASS): Change (int) to (INT_T), use L_.

1999-06-19  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* libio/Makefile (shared-only-routines): Add oldiofgetpos,
	oldiofgetpos64, oldiofsetpos and oldiofsetpos64.
	(routines): Include oldiofgetpos, oldiofgetpos64, oldiofsetpos and
	oldiofsetpos64 only if doing versioning.
1999-06-21 13:38:44 +00:00
Ulrich Drepper 8811906f25 Update.
1999-06-20  Ulrich Drepper  <drepper@cygnus.com>

	* wcsmbs/wchar.h: Declare wcstof and wcstold for ISO C9x.
1999-06-20 10:42:32 +00:00
Ulrich Drepper d2d5964b02 Update.
1999-06-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* libio/libio.h: Fix last patch.
1999-06-20 09:23:28 +00:00
Ulrich Drepper d195c6ca9b Update.
1999-06-20  Ulrich Drepper  <drepper@cygnus.com>

	* libio/libio.h (_IO_putwc): Correct type of first argument.
	* wcsmbs/wchar.h: (fputwc, putwc, putwchar, fputwc_unlocked,
	putwc_unlocked, putwchar_unlocked): Likewise.
	* libio/fputwc.c: Likewise.
	* libio/fputwc_unlocked.c: Likewise.
	* libio/putwc.c: Likewise.
	* libio/putwc_unlocked.c: Likewise.
	* libio/putwchar.c: Likewise.
	* libio/putwchar_unlocked.c: Likewise.
1999-06-20 09:00:37 +00:00
Roland McGrath d1407e3335 * sysdeps/mach/hurd/siglist.h: Use #include_next.
* sysdeps/unix/sysv/linux/siglist.h: Likewise.
1999-06-19 12:43:27 +00:00
Roland McGrath a901ffa236 * sysdeps/gnu/siglist.h: File moved to ...
* sysdeps/generic/siglist.h: ... here.  This file should be usable for
	any platform, since it just associates the SIG* macros with text names
	and descriptions. For any signal macros do not exist on every
	platform, we can use #ifdef tests here and still use this single
	common file for all platforms.
	* sysdeps/generic/siglist.c: Rewrite using <siglist.h>.  This file
	should be usable for all platforms after the binary compatibility
	stuff in the current sysdeps/gnu version is no longer required.
	* sysdeps/generic/Makefile: Remove rules for generating siglist.c.
	* sysdeps/generic/make_siglist.c: File removed.

1999-06-16  Roland McGrath  <roland@baalperazim.frob.com>
1999-06-19 12:40:14 +00:00
Roland McGrath 79ede0e614 1999-06-19 Roland McGrath <roland@baalperazim.frob.com>
* sysdeps/unix/sysv/linux/siglist.c: Moved to ...
	* sysdeps/gnu/siglist.c: ... here.
	Use <siglist.h> instead of "siglist.h", to ensure sysdeps-search.
	Use <bits/wordsize.h> instead of <sizes.h> to determine PTR_SIZE_STR.
	* sysdeps/gnu/siglist.h: New file, contents from linux version.
	Add entry for SIGLOST protected by #ifdef.
	* sysdeps/unix/sysv/linux/siglist.h: Just #include that file,
	and define OLD_SIGLIST_SIZE_STR.
	* sysdeps/mach/hurd/siglist.h: New file, likewise.
1999-06-19 12:28:46 +00:00
Ulrich Drepper 4360eafdd2 Update.
1999-06-18  Zack Weinberg  <zack@rabi.columbia.edu>

	* include/features.h: Define new macros __GNUC_PREREQ and
	__GLIBC_PREREQ which can be used to test the version of gcc
	and glibc respectively.

	* assert/assert.h: Use __GNUC_PREREQ.
	* intl/libintl.h: Likewise.
	* math/complex.h: Likewise.
	* math/tgmath.h: Likewise.
	* misc/sys/cdefs.h: Likewise.
	* posix/sys/types.h: Likewise.
	* socket/sys/socket.h: Likewise.
	* string/bits/string2.h: Likewise.
	* sysdeps/alpha/fpu/bits/mathinline.h: Likewise.
	* sysdeps/i386/fpu/bits/mathinline.h: Likewise.

1999-06-18  Zack Weinberg  <zack@rabi.columbia.edu>

	* include/libintl.h: Declare _libc_intl_domainname here.
	Define _ and N_ here.
	* include/libc-symbols.h: Don't include <libintl.h>.  Don't
	define _ and N_.  Don't declare _libc_intl_domainname.
	* Makeconfig (CPPFLAGS): Use -imacros to read libc-symbols.h.

	* db2/config.h: Don't include sys/stat.h or define
	HAVE_ST_BLKSIZE here...
	* db2/compat.h: ...do it here.

	* linuxthreads/internals.h: Include bits/libc-tsd.h after all
	other headers.
	* linuxthreads/no-tsd.c: Include sys/cdefs.h for __P.
	* iconv/iconv.c: Include stddef.h for NULL.
	* malloc/malloc.h: Include features.h.
	* sysdeps/generic/morecore.c: Use __malloc_ptr_t not __ptr_t.

	* sysdeps/unix/make_errlist.c: Write an "#include <libintl.h>"
	into the generated file.
	* sysdeps/gnu/errlist.awk: Likewise.
	* sysdeps/gnu/errlist.c: Rebuilt.

	* assert/assert-perr.c: Include libintl.h.
	* assert/assert.c: Likewise.
	* elf/dl-open.c: Likewise.
	* elf/dlsym.c: Likewise.
	* elf/dlvsym.c: Likewise.
	* iconv/iconv_prog.c: Likewise.
	* inet/rcmd.c: Likewise.
	* inet/ruserpass.c: Likewise.
	* locale/programs/charset.c: Likewise.
	* locale/programs/ld-collate.c: Likewise.
	* locale/programs/ld-ctype.c: Likewise.
	* locale/programs/ld-messages.c: Likewise.
	* locale/programs/ld-monetary.c: Likewise.
	* locale/programs/ld-numeric.c: Likewise.
	* locale/programs/ld-time.c: Likewise.
	* locale/programs/locfile.c: Likewise.
	* locale/programs/repertoire.c: Likewise.
	* login/programs/database.c: Likewise.
	* login/programs/request.c: Likewise.
	* malloc/mcheck.c: Likewise.
	* misc/error.c: Likewise.
	* nis/nis_call.c: Likewise.
	* nis/nis_callback.c: Likewise.
	* nis/nis_error.c: Likewise.
	* nis/nis_local_names.c: Likewise.
	* nis/nis_print.c: Likewise.
	* nis/nis_print_group_entry.c: Likewise.
	* nis/ypclnt.c: Likewise.
	* nis/nss_nisplus/nisplus-publickey.c: Likewise.
	* nscd/cache.c: Likewise.
	* nscd/connections.c: Likewise.
	* nscd/grpcache.c: Likewise.
	* nscd/hstcache.c: Likewise.
	* nscd/nscd_conf.c: Likewise.
	* nscd/nscd_stat.c: Likewise.
	* nscd/pwdcache.c: Likewise.
	* posix/id.c: Likewise.
	* resolv/herror.c: Likewise.
	* stdio-common/psignal.c: Likewise.
	* string/strsignal.c: Likewise.
	* sunrpc/auth_unix.c: Likewise.
	* sunrpc/clnt_perr.c: Likewise.
	* sunrpc/clnt_raw.c: Likewise.
	* sunrpc/clnt_tcp.c: Likewise.
	* sunrpc/clnt_udp.c: Likewise.
	* sunrpc/clnt_unix.c: Likewise.
	* sunrpc/get_myaddr.c: Likewise.
	* sunrpc/pm_getmaps.c: Likewise.
	* sunrpc/pmap_clnt.c: Likewise.
	* sunrpc/pmap_rmt.c: Likewise.
	* sunrpc/rpc_main.c: Likewise.
	* sunrpc/rpc_scan.c: Likewise.
	* sunrpc/svc_run.c: Likewise.
	* sunrpc/svc_simple.c: Likewise.
	* sunrpc/svc_tcp.c: Likewise.
	* sunrpc/svc_udp.c: Likewise.
	* sunrpc/svc_unix.c: Likewise.
	* sunrpc/xdr_rec.c: Likewise.
	* sunrpc/xdr_ref.c: Likewise.
	* sysdeps/mach/hurd/mips/dl-machine.c: Likewise.
	* sysdeps/posix/gai_strerror.c: Likewise.
	* sysdeps/unix/siglist.c: Likewise.
	* sysdeps/unix/sysv/linux/siglist.c: Likewise.
	* sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
	* sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Likewise.
	* timezone/zic.c: Likewise.
1999-06-19 09:58:37 +00:00
Ulrich Drepper 7db0da77fe Update.
1999-06-18  H.J. Lu  <hjl@gnu.org>

	* localedata/Makefile (charmaps): Exclude SCCS.
	(locales): Likewise.
	(repertoiremaps): Likewise.

	* sysdeps/generic/bsd-_setjmp.c: Include setjmp.h.
	* sysdeps/generic/bsd-setjmp.c: Likewise.
1999-06-18 19:04:23 +00:00
Ulrich Drepper 5ce1e7f91e Update.
* sunrpc/xdr_sizeof.c (x_inline): Cleanup pointer assignments.

	* iconv/gconv_open.c: Include string.h for memset prototype.
1999-06-18 18:31:58 +00:00
Ulrich Drepper fd19ed3d03 Update.
* iconv/gconv_open.c: Inlcude string.h for memset prototype.
1999-06-18 18:22:17 +00:00
Ulrich Drepper b4e3df5df5 Update.
* libio/libioP.h (FILEBUF_LITERAL): Add missing parameter to macro
	definitions.
1999-06-18 18:08:15 +00:00
Ulrich Drepper 8432c71ab7 Update.
1999-06-18  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/unix/sysv/linux/init-first.h: Add extra cast in argc
	assignment to avoid warning on 64bit platforms.
1999-06-18 18:06:00 +00:00
Ulrich Drepper db95bdbce0 Update.
* libio/libio.h (_IO_codecvt): Change __P ot __PMT.

	* nss/getXXbyYY.c: Expect return value to be ERANGE if buffer is too
1999-06-17 17:28:58 +00:00