Commit Graph

2476 Commits

Author SHA1 Message Date
Andreas Schwab 2f512715ce * configure.in: Also look in $PATH when searching for
install-info.  Remove autoconf bug workaround and require autoconf  
2.13.
Mon Mar 22 15:48:06 1999  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* configure.in: Also look in $PATH when searching for
 	install-info.  Remove autoconf bug workaround and require autoconf
 	2.13.
1999-03-22 06:51:09 +00:00
Andreas Schwab 19b54427b2 1999-03-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* db/Makefile: Don't try to install shared library link if not 
building with shared libs.
1999-03-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* db/Makefile: Don't try to install shared library link if not
	building with shared libs.
1999-03-22 01:14:47 +00:00
Andreas Schwab df455ccb63 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* rt/Makefile: Link against static library if no shared lib is 
available. 
* localedata/Makefile: The shells scripts implementing the test  
require the dynamic linker which is not available with  
--disable-shared.  Skip the test if --disable-shared is given. 
* linuxthreads/Makefile: Link test against static libpthread if no  
shared lib is available. 
* iconvdata/Makefile (tests): Run iconv-test only if we're 
building shared libraries. 
* elf/Makefile (tests): Likewise for elf tests. 
* posix/Makefile: The test frameworks globtest and wordexp-test 
require the dynamic linker which is not available with 
--disable-shared.  Skip the test if --disable-shared is given. 
* grp/Makefile (otherlibs): For static nss build link against 
necessary libs.
	* rt/Makefile: Link against static library if no shared lib is
	available.

	* localedata/Makefile: The shells scripts implementing the test
 	require the dynamic linker which is not available with
 	--disable-shared.  Skip the test if --disable-shared is given.

	* linuxthreads/Makefile: Link test against static libpthread if no 
 	shared lib is available.

	* iconvdata/Makefile (tests): Run iconv-test only if we're
	building shared libraries.
	* elf/Makefile (tests): Likewise for elf tests.

	* posix/Makefile: The test frameworks globtest and wordexp-test
	require the dynamic linker which is not available with
	--disable-shared.  Skip the test if --disable-shared is given.

	* grp/Makefile (otherlibs): For static nss build link against
	necessary libs.

1999-03-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1999-03-20 17:16:44 +00:00
Andreas Schwab bfe1b52846 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* debug/Makefile (install-bin): Install and build catchsegv only 
if build-shared == yes.  Reported by jussi@jlaako.pp.fi [PR 
libc/965].
1999-03-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* debug/Makefile (install-bin): Install and build catchsegv only
	if build-shared == yes.  Reported by jussi@jlaako.pp.fi [PR
	libc/965].
1999-03-20 17:07:46 +00:00
Andreas Schwab d16e36e0dc * time/tzfile.c (__tzfile_read): Handle the case where there are
transitions but no DST.
1999-03-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* time/tzfile.c (__tzfile_read): Handle the case where there are
	transitions but no DST.
1999-03-20 17:04:42 +00:00
Roland McGrath e10cd1dc6a 1999-03-20 Roland McGrath <roland@baalperazim.frob.com>
* mach/Machrules (extra-libs-others): Add $(interface-library) here
	too, so it gets built in the others pass rather than the lib pass.
	This is necessary since the RPC libraries need to be linked against
	libc.
1999-03-20 15:05:23 +00:00
Roland McGrath 007241f398 1999-03-19 Roland McGrath <roland@baalperazim.frob.com>
* sysdeps/generic/segfault.c: Include <stdio-common/_itoa.h> for
	_itoa_word decl.

	* sysdeps/mach/hurd/Makefile (link-rpcuserlibs): New variable.
	($(common-objpfx)libc.so): Depend on that instead of $(rpcuserlibs).
	($(link-rpcuserlibs)): New static pattern rule; link intermediate
	versions of lib{mach,hurd}user.so without reference to libc.so,
	then link libc.so against that to get deps and symbol versions, then
	finally link real lib*user.so against libc.so.

	* sysdeps/mach/hurd/fcntl.c (__fcntl: case F_GETLK,F_SETLK,F_SETLKW):
	Support whole-file locking (only) by using the file_lock RPC.  This
	has very wrong semantics, but is better than nothing for the time
	being.  (Correct POSIX.1 locking will require new RPCs in the Hurd
	protocols that will be somewhat hairy to specify.)

1999-03-17  Mark Kettenis  <kettenis@gnu.org>

	* sysdeps/mach/hurd/ptsname.c: New file.

	* sysdeps/unix/sysv/linux/arm/getgroups.c: New file.  Use the i386
1999-03-20 10:53:01 +00:00
Andreas Schwab c296567361 * timezone/asia: Fix rule in Asia/Nicosia entry.
1999-03-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* timezone/asia: Fix rule in Asia/Nicosia entry.
1999-03-19 17:59:51 +00:00
Andreas Schwab ec23315f9b 1999-03-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* manual/getopt.texi (Using Getopt): Explain "::" in option 
string.  Reported by Yuri Niyazov <yuricake@geocities.com>.
1999-03-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* manual/getopt.texi (Using Getopt): Explain "::" in option
	string.  Reported by Yuri Niyazov <yuricake@geocities.com>.
1999-03-19 02:17:38 +00:00
Andreas Schwab d1275afec4 1999-03-18 Thorsten Kukuk <kukuk@suse.de>
* sunrpc/clnt_unix.c: Fix creation of parameters for  
sendmsg/recvmsg on non intel platforms. 
* sunrpc/svc_unix.c: Likewise.
1999-03-18  Thorsten Kukuk  <kukuk@suse.de>

	* sunrpc/clnt_unix.c: Fix creation of parameters for
 	sendmsg/recvmsg on non intel platforms.
	* sunrpc/svc_unix.c: Likewise.
1999-03-19 02:01:36 +00:00
Andreas Schwab 6fc8f783a4 1999-03-18 Philip Blundell <philb@gnu.org>
* sysdeps/unix/sysv/linux/arm/getgroups.c: New file.  Use the i386 
implementation.
1999-03-18  Philip Blundell  <philb@gnu.org>

	* sysdeps/unix/sysv/linux/arm/getgroups.c: New file.  Use the i386 
	implementation.
1999-03-19 01:54:41 +00:00
Andreas Schwab b21c583227 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* timezone/africa: Update from tzdata1999b. 
* timezone/asia: Likewise. 
* timezone/australasia: Likewise. 
* timezone/europe: Likewise. 
* timezone/northamerica: Likewise. 
* timezone/southamerica: Likewise. 
* timezone/zone.tab: Likewise. 
* timezone/README: Mention tzdata1999b.
1999-03-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* timezone/africa: Update from tzdata1999b.
	* timezone/asia: Likewise.
	* timezone/australasia: Likewise.
	* timezone/europe: Likewise.
	* timezone/northamerica: Likewise.
	* timezone/southamerica: Likewise.
	* timezone/zone.tab: Likewise.

	* timezone/README: Mention tzdata1999b.
1999-03-19 01:20:22 +00:00
Ulrich Drepper f2a3785888 Update.
1999-03-17  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/generic/segfault.c (write_strsignal): New function.
	(catch_segfault): Use it instead of calling strsignal.
1999-03-17 18:37:48 +00:00
Ulrich Drepper e573146ab2 Update.
1999-03-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* iconv/gconv.c (__gconv): Change type of last_start to unsigned
	char to avoid warning.
1999-03-16 06:01:43 +00:00
Ulrich Drepper 97e94e491a Update.
1999-03-15  Ulrich Drepper  <drepper@cygnus.com>

	* iconv/iconv.c (iconv): Correctly cast parameters for __gconv.

	* iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Change type of
	outbuf to unsigned char to avoid warning.
1999-03-15 23:57:45 +00:00
Ulrich Drepper 2c8aeff8bb Update.
1999-03-11  David S. Miller  <davem@redhat.com>

	* sysdeps/sparc/sparc32/fpu/fpu_control.h: Add missing trap enable
	masks.
	* sysdeps/sparc/sparc64/fpu/fpu_control.h: Likewise.
1999-03-15 23:14:02 +00:00
Ulrich Drepper b117f744e1 Update.
1999-03-15  Ulrich Drepper  <drepper@cygnus.com>

	* iconv/gconv.h (gconv_fct): Change parameter from `char' to
	`unsigned char'.
	(gconv_step_data): Likewise.
	* iconv/gconv_int.h (__gconv): Likewise.
	(__BUILINT_TRANS): Likewise.
	* iconv/gconv.c (__gconv): Likewise.
	* iconv/iconv.c (iconv): Add casts for call of __gconv.
	* iconv/skeleton.c: Change local parameters and variable from `char' to
	`unsigned char'.  Remove casts from calls into modules.
	* iconvdata/iso-2022-jp.c (gconv): Change local variable outbuf from
	`char' to `unsigned char'.
	* wcsmbs/btowc.c: Change pointers from `char *' to `unsigned char *'.
	* wcsmbs/mbrtowc.c: Likewise.
	* wcsmbs/mbsnrtowcs.c: Likewise.
	* wcsmbs/mbsrtowcs.c: Likewise.
	* wcsmbs/wcrtomb.c: Likewise.
	* wcsmbs/wcsnrtombs.c: Likewise.
	* wcsmbs/wcsrtombs.c: Likewise.
	* wcsmbs/wctob.c: Likewise.
1999-03-15 20:41:16 +00:00
Roland McGrath 488c6a323b * sysdeps/mach/hurd/Versions (ld.so) [GLIBC_2.0]: Add
__hurd_sigthread_stack_base, __hurd_sigthread_stack_end,
	__hurd_sigthread_variables, __hurd_threadvar_stack_mask,
	__hurd_threadvar_stack_offset, __close, __fxstat, __getcwd,
	__getpid, __libc_read, __libc_write, __lseek, __mmap, __open,
	__xstat, _exit, _hurd_intr_rpc_mach_msg and abort.

1999-03-15  Mark Kettenis  <kettenis@gnu.org>
1999-03-15 16:49:41 +00:00
Roland McGrath d012636f1f 1999-03-15 Mark Kettenis <kettenis@gnu.org>
* sysdeps/mach/hurd/poll.c (__poll): Correctly pass NULL to
	_hurd_select if TIMEMOUT is -1.

1999-03-15  Mark Kettenis  <kettenis@gnu.org>

	* sysdeps/mach/hurd/recvfrom.c (recvfrom): Allow ADDR to be NULL.
1999-03-15 14:33:27 +00:00
Ulrich Drepper 983b29ede8 Update.
1999-03-15  Ulrich Drepper  <drepper@cygnus.com>

	* elf/dl-load.c: Compute rtld_search_dir array size correctly.
	Reported by Yasushi Saito <yasushi@cs.washington.edu>.
1999-03-15 13:11:11 +00:00
Ulrich Drepper d1987d2d19 Update.
1999-03-15  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* manual/libc.texinfo: Undo last change for now.
1999-03-15 10:11:11 +00:00
Ulrich Drepper b0377551b6 Update.
1999-03-15  Ulrich Drepper  <drepper@cygnus.com>

	* intl/locale.alias: Add entries for Croatian.
	Patch by Tomislav Vujec <tvujec@CARNet.hr>.
1999-03-15 10:09:33 +00:00
Ulrich Drepper 336dfb2d27 Update.
1999-03-13  Mark Kettenis  <kettenis@gnu.org>

	* sysdeps/unix/bsd/getpt.c (__getpt): Do not use `isatty' to check
	if the opened master pty really is a pty.  `isatty' checks for
	tty-ness and a pty is not a tty.  Return ENOENT instead of ENFILE
	if we are out of pty's.

1999-03-13  Mark Kettenis  <kettenis@gnu.org>

	* sysdeps/generic/utmp_file.c (setutent_file): Make sure the just
	opened file is closed on exec.
	* login/utmp_daemon.c (setutent_daemon): Likewise for the just
	opened socket.

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

	* manual/llio.texi (File Position Primitive): Reformat @end
	command.  Patch by Bruno Haible <haible@ilog.fr> [PR libc/1020].

	* nscd/nscd_getpw_r.c (nscd_getpw_r): Set `errno' correctly if no
	entry is found.
	* nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
	* nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
1999-03-14 21:12:49 +00:00
Ulrich Drepper cb9245ba93 Update.
1999-03-14  Ulrich Drepper  <drepper@cygnus.com>

	* locale/programs/localedef.c (main): Initialize `cat' to please
	the compiler.
1999-03-14 16:29:32 +00:00
Roland McGrath 108b08c01c 1999-03-14 Roland McGrath <roland@baalperazim.frob.com>
* hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Under O_NOFOLLOW,
	check for root-owned symlinks and reject them too.
1999-03-14 13:00:11 +00:00
Ulrich Drepper 91ea72b7d2 Update.
1999-03-09  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* stdio-common/printf_fphex.c: Move to ...
	* sysdeps/generic/printf_fphex.c: ... here.  Fix exponent of
	extended precision number.
	* sysdeps/m68k/printf_fphex.c: New file.

1999-03-09  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* manual/stdio.texi: Fix typos.
1999-03-10 16:08:03 +00:00
Ulrich Drepper 11c293e146 Update.
1999-03-09  Ulrich Drepper  <drepper@cygnus.com>

	* version.h (VERSION): Bump to 2.1.1.
1999-03-09 20:55:57 +00:00
Ulrich Drepper 16a2ea6485 Update.
1999-03-09  Thorsten Kukuk  <kukuk@suse.de>

	* nis/ypclnt.c: Try only twice to connect to NIS server.
1999-03-09 20:53:32 +00:00
Roland McGrath ee336c200a 1999-03-09 Roland McGrath <roland@baalperazim.frob.com>
* hurd/hurdexec.c (_hurd_exec): Add missing `else' in last change.
1999-03-09 09:23:58 +00:00
Ulrich Drepper 5be4316ea2 Update.
1999-03-09  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* stdlib/strtod.c (round_and_return): Fix rounding of denormals.
	(DENORM_EXP): New define.  Use it as the exponent for a denormal.
	* stdlib/strtold.c: Moved to ...
	* sysdeps/generic/strtold.c: ... here.
	* sysdeps/m68k/strtold.c: New file.

1999-03-09  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* stdio-common/printf_fphex.c (__printf_fphex): Print no decimal
	point if the precision is zero, even if the mantissa is non-zero.
1999-03-08 21:41:47 +00:00
Roland McGrath 1d67062e53 1999-03-09 Roland McGrath <roland@baalperazim.frob.com>
* sysdeps/mach/hurd/ioctl.c (__ioctl): Move the marshalling of the
	arguments into the request message buffer inside `send_rpc'
	subfunction.  We must repeat the marshalling when retrying the RPC
	after a SIGTTOU delivery.

	* hurd/ctty-input.c (_hurd_ctty_input): Use early short-circuit code
	path when there is no ctty port.
	* hurd/ctty-output.c (_hurd_ctty_output): Likewise.
	Move sigstate check inside loop so we recheck after handling a signal.
1999-03-08 21:02:22 +00:00
Ulrich Drepper 27e309c177 Update.
1999-03-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* manual/llio.texi (Open-time Flags): Clarify that O_SHLOCK and
	O_EXLOCK are BSD extensions.
	Reported by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/985].
1999-03-08 14:50:23 +00:00
Ulrich Drepper 57b4b78a23 Update.
1999-03-08  Ulrich Drepper  <drepper@cygnus.com>

	* manual/signal.texi (Termination in Handler): Correct example.
	Install default handler before reraising the signal.
	Patch by Jochen Voss <voss@mathematik.uni-kl.de>.
1999-03-08 14:23:38 +00:00
Roland McGrath dec87ebe97 1999-03-08 Roland McGrath <roland@baalperazim.frob.com>
* hurd/hurdexec.c (_hurd_exec): Handle ARGV or ENVP parameters being
	null, in which case send an empty string.
1999-03-08 12:43:11 +00:00
Ulrich Drepper b93492aadd Update.
1999-03-02  Mark Kettenis  <kettenis@gnu.org>

	* Makerules (LD_FLAGS-c.so): Add -u __register_frame to force the
	backward compatibility EH functions to be linked when using
	gcc-2.8.1.  Patch by Zack Weinberg <zack@rabi.columbia.edu>.
1999-03-08 11:57:06 +00:00
Ulrich Drepper 7d1de115db Update.
1999-03-08  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* sysdeps/unix/sysv/linux/ttyname.c (ttyname): Undo last change.
	/dev/pts status may change during runtime.

1999-03-08  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Undo last
	change.  /dev/pts status can change during runtime.

1999-03-07  Thorsten Kukuk  <kukuk@suse.de>

	* sunrpc/svc_tcp.c (readtcp): go into fatal error state if
	poll reports error.
	* nis/nss_nisplus/nisplus-parser.c: Avoid duplicate strlen calls,
	add some more sanity checks.
	* nis/nss_nisplus/nisplus-pwd.c: Include nisplus-parser.h for
	parser prototype.

1999-03-05  Thorsten Kukuk  <kukuk@suse.de>

	* sunrpc/rpc/xdr.h: Add x_getint32/x_putint32 to xdr_ops,
	change XDR_GETINT32/XDR_PUTINT32 to sue new functions.
	* sunrpc/xdr_mem.c: Add xdrmem_getint32, xdrmem_putint32.
	* sunrpc/xdr_rec.c: Add xdrrec_getint32, xdrrec_putint32.
	* sunrpc/xdr_sizeof.c: Add x_putint32, add dummy function
	for x_getint32.
	* sunrpc/xdr_stdio.c: Add xdrstdio_getint32, xdrstdio_putint32.
	* nis/nis_print.c: Fix ctime argument for platforms where
	sizeof (time_t) != sizeof (int).

	255.  Patch by Bruno Haible <haible@ilog.fr> [PR libc/1010].
1999-03-08 11:46:22 +00:00
Roland McGrath 598b5dc2d7 1999-03-07 Mark Kettenis <kettenis@gnu.org>
* sysdeps/unix/bsd/clock.c (timeval_to_clock_t): Use
	CLOCKS_PER_SEC instead of CLK_TCK.
1999-03-07 13:19:33 +00:00
Ulrich Drepper aad20af475 Update.
* sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Remember
	whether /dev/pts is available.
	* sysdeps/unix/sysv/linux/ttyname.c (ttyname): Fix handling of
	dev_pts_available.
1999-03-05 18:52:41 +00:00
Ulrich Drepper c277d2e55a Update.
1999-03-05  Ulrich Drepper  <drepper@cygnus.com>

	* posix/globtest.sh: Make common_objpfx path absolute and and db2
	and hesiod directory to library path [PR libc/1007].
1999-03-05 15:02:32 +00:00
Ulrich Drepper ad792af765 Update.
1999-03-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* resolv/inet_addr.c (inet_aton): Don't allow componets >
	255. Patch by Bruno Haible <haible@ilog.fr> [PR libc/1010].
1999-03-05 14:32:11 +00:00
Ulrich Drepper 346af50a08 Update.
1999-03-05  Geoff Keating  <geoffk@ozemail.com.au>

	* sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
	DT_PLTGOT has already been relocated.
	(__elf_machine_fixup_plt): Likewise.
	Minor cleanups.
1999-03-04 23:27:55 +00:00
Roland McGrath 809d570d5d 1999-03-04 Roland McGrath <roland@baalperazim.frob.com>
* hurd/hurdlookup.c (__hurd_file_name_lookup): Comment fix.
1999-03-04 10:18:16 +00:00
Ulrich Drepper e4d0709f6d Update.
1999-03-03  Ulrich Drepper  <drepper@cygnus.com>

	* wcsmbs/wcsmbsload.c (add_slashes): Rename to norm_add_slashes
	and fold string to uppercase [PR libc/1005].
1999-03-03 23:06:16 +00:00
Ulrich Drepper d52852dacd Update.
1999-03-03  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* elf/dl-load.c (lose): Fix return type.
1999-03-03 07:42:01 +00:00
Roland McGrath 171511ec73 1999-03-03 Roland McGrath <roland@baalperazim.frob.com>
* sysdeps/mach/hurd/bits/fcntl.h
	[__USE_GNU] (O_NOFOLLOW, O_DIRECTORY): New macros.
	* hurd/hurdlookup.c (__hurd_file_name_lookup): If O_NOFOLLOW is set,
	set O_NOTRANS as well.
	(__hurd_file_name_lookup_retry): At successful end of lookup,
	if O_NOFOLLOW set, io_stat the resultant port and fail with ENOENT if
	it is a translated node not owned by root.
	(__hurd_file_name_lookup): If O_DIRECTORY is set, put a trailing slash
	on the file name passed to LOOKUP.
1999-03-03 00:31:21 +00:00
Ulrich Drepper 9af2e76f29 Update.
1999-03-02  Ulrich Drepper  <drepper@cygnus.com>

	* manual/time.texi (High Resolution Timer): Correct computation in
	example.  Reported by jjf@devel.cemsys.com.
1999-03-02 21:18:07 +00:00
Ulrich Drepper d77fad15db Update.
1999-03-02  Philip Blundell  <pb@nexus.co.uk>

	* sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
	entry is already relocated.
1999-03-02 08:07:31 +00:00
Ulrich Drepper 6dc25b55ba Update.
* resolv/res_hconf.c (parse_line): Skip empty lines.  Bug reported
	by Marcus Harnisch <marcus@harnisch.isdn.cs.tu-berlin.de>.

1999-03-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1999-03-01 21:56:06 +00:00
Ulrich Drepper 9f6b6d8d19 Update.
1999-03-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* sysdeps/i386/sys/ucontext.h (ucontext): Rename field uc_links to
	uc_link which is the right name according to Unix98.
	Reported by Craig Metz [PR libc/1001].
	* sysdeps/arm/sys/ucontext.h (ucontext): Likewise.
	* sysdeps/m68k/sys/ucontext.h (ucontext): Likewise.
	* sysdeps/mips/sys/ucontext.h (ucontext): Likewise.
	* sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (ucontext): Likewise.
	* sysdeps/unix/sysv/linux/i386/sys/ucontext.h (ucontext): Likewise
	* sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext): Likewise.
1999-03-01 07:21:39 +00:00
Ulrich Drepper 407a7d0eb7 Update.
1999-02-25  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* manual/libc.texinfo: Wrap @top node inside @ifnottex instead of
	@ifinfo.

1999-02-25  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* iconvdata/Makefile: Always include iconv-rules, but disable rule
	to regenerate it if avoid-generated.

	* Makeconfig: Always include sys-dirs, but disable rule to
	regenerate it when avoid-generated.

	* sysdeps/unix/Makefile: Put `ifndef avoid-generated' only around
	rule to generate sysd-syscalls.

	* elf/Makefile (generated): Remove $(objpfx) from names.
1999-03-01 07:15:16 +00:00
Roland McGrath 5615c549e2 1999-02-28 Mark Kettenis <kettenis@gnu.org>
* sysdeps/mach/hurd/getsockname.c (getsockname): Set *LEN to the
	actual length if the adress length is smaller than the input
	value.  Change type of *LEN paramater to socklen_t.
	* sysdeps/mach/hurd/getpeername.c (getpeername): Likewise.
	* sysdeps/mach/hurd/accept.c (accept): Likewise.
	* sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
	* sysdeps/mach/hurd/sendto.c (sendto): Change type of ADDR_LEN
	paramater to socklen_t.
1999-02-28 13:01:16 +00:00
Roland McGrath 813de3b38e 1999-02-28 Roland McGrath <roland@baalperazim.frob.com>
* hurd/hurd-raise.c (_hurd_raise_signal): Send "poll request"
	msg_sig_post RPC (with SIGNO=0), rather than generating signal (again)
	with the RPC.
1999-02-28 09:46:20 +00:00
Roland McGrath e8f51d56d4 1999-02-27 Roland McGrath <roland@baalperazim.frob.com>
* sysdeps/mach/getsysstats.c (__get_nprocs_conf, __get_nprocs,
	__get_phys_pages): Cast &HBI to silence warning.

	* hurd/Makefile (routines): Add hurdchdir and hurdfchdir.
	* hurd/hurdchdir.c: New file.
	* hurd/hurdfchdir.c: New file.
	* sysdeps/mach/hurd/chroot.c: Call
	_hurd_change_directory_port_from_name to do the work.
	* sysdeps/mach/hurd/chdir.c: Likewise.
	* sysdeps/mach/hurd/fchdir.c: Call
	_hurd_change_directory_port_from_fd to do the work.
	* hurd/fchroot.c: Likewise.
	* hurd/hurd.h: Declare them.
1999-02-27 20:06:34 +00:00
Ulrich Drepper 928ab888ce Update.
1999-02-27  Ulrich Drepper  <drepper@cygnus.com>

	* elf/dl-load.c (lose): Add more comments to explain the `why'.
	(_dl_map_object): Remove redundant test.
1999-02-27 15:19:41 +00:00
Roland McGrath e495011708 1999-02-27 Roland McGrath <roland@baalperazim.frob.com>
* hurd/hurdselect.c (_hurd_select): When bailing for bogus fd, don't
	try to _hurd_port_free a lower-numbered descriptor that was not in any
	fd_set.
1999-02-27 13:27:55 +00:00
Ulrich Drepper 521c0ad579 Update.
1999-02-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* wcsmbs/wcstold_l.c [__NO_LONG_DOUBLE_MATH]: Add prototype
	declaration for ____wcstod_l_internal.

	* stdlib/strtold.c [__NO_LONG_DOUBLE_MATH]: Include <stdlib.h> for
	__strtod_internal prototype.
	* stdlib/strtold_l.c [__NO_LONG_DOUBLE_MATH]
	(____strtold_l_internal): Add prototype declaration.
	(__strtold_l): Call correct function.
1999-02-26 21:35:38 +00:00
Ulrich Drepper 1ff283cb46 Update.
1999-02-24  Ulrich Drepper  <drepper@cygnus.com>

	* elf/elf.h: Add 32bit HPPA definitions.
1999-02-24 10:08:06 +00:00
Ulrich Drepper 9a51759bdf Update.
1999-02-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* malloc/malloc.c (mALLOC_SET_STATe): Handle the case where a
	non-checked heap is restored when malloc checking was requested by
	the user.
	(struct malloc_state): Add using_malloc_checking.
	(MALLOC_STATE_VERSION): Increment minor.
	(using_malloc_checking, disallow_malloc_check): New variables.
	(__malloc_check_init): Use them.
	(mALLOC_GET_STATe): Use mALLOc to allocate the malloc_state, so
	that it can the chunk is properly instrumented when malloc
	checking is enabled.  Set the new using_malloc_checking field.
	(malloc_hook_ini): Correct signature when _LIBC is not defined.

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

	* sysdeps/unix/sysv/linux/i386/dl-librecon.h
	(DISTINGUISH_LIB_VERSIONS): Don't relocate DT_STRTAB a second
	time.

	* elf/rtld.c (dl_main): Rename paths_initialized to rtld_is_main.
	Don't call elf_get_dynamic_info and _dl_setup_hash a second time
	if ld.so is the main program.

	* stdio-common/vfprintf.c (vfprintf): If precision or width is too
1999-02-24 09:40:04 +00:00
Ulrich Drepper afe426a038 Update.
1999-02-23  Ulrich Drepper  <drepper@cygnus.com>

	* stdio-common/vfprintf.c (vfprintf): If precision or width if too
	large for work_buffer, allocate new buffer.
	(printf_unknown): Likewise.  [PR libc/988]
1999-02-23 15:27:54 +00:00
Ulrich Drepper 4985fb5385 Update.
1999-02-22  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/unix/sysv/linux/ttyname.c: Use __xstat and __fxstat
	instead of stat and fstat.
	* sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1999-02-22 18:08:28 +00:00
Ulrich Drepper 3f933dc2ef Update.
1999-02-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* elf/dl-error.c (_dl_signal_cerror): New function.
	(_dl_signal_error): Don't call receiver function.
	* elf/dl-lookup.c (_dl_lookup_symbol): Call _dl_signal_cerror
	instead of _dl_signal_error when reporting references to undefined
	symbols or versions.
	(_dl_lookup_versioned_symbol): Likewise.
	(_dl_lookup_versioned_symbol_skip): Likewise.
	* elf/dl-version.c (match_symbol): Likewise.

	* elf/ldsodefs.h: Declare _dl_signal_cerror.

	* misc/getttyent.c (getttyent): Release lock on stream later to
	also protect global variable zapchar.
1999-02-22 18:05:04 +00:00
Ulrich Drepper 69b3b3cb38 Update.
1999-02-22  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/unix/sysv/linux/clock.c: Don't test return value of
	__times [PR libc/990].
1999-02-22 16:10:00 +00:00
Ulrich Drepper 555d4c582e Update.
1999-02-21  David S. Miller  <davem@redhat.com>

	* sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Fix
	parentheses in Feb 2 changes.
	* sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
1999-02-22 09:37:25 +00:00
Ulrich Drepper 13f2ac59bf Update.
1999-02-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* sysdeps/generic/glob.c (glob): Save previous errno.
1999-02-21 14:29:07 +00:00
Ulrich Drepper f6b56b5530 Update.
1999-02-21  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/generic/glob.c (glob): Enlarge buffers for reentrant
	lookup functions if it is too small.
1999-02-21 09:55:41 +00:00
Ulrich Drepper ad9570d733 Update.
* elf/dl-deps.c (_dl_map_object_deps): Don't add dummy objects created
	for tracing to the scope lists.
	* elf/do-lookup.h: Remove test for l_opencount == 0 after above change.
	DT_SYMTAB is always available according to ELF spec.
1999-02-20 23:57:48 +00:00
Ulrich Drepper 2f6164e233 Update.
* elf/dl-lookup.c (_dl_lookup_symbol_skip): Before first do_lookup
	call test whether there is any scope left.
	(_dl_lookup_versioned_symbol_skip): Likewise.
1999-02-20 22:05:45 +00:00
Ulrich Drepper a0e3f6f49c Update.
* elf/Makefile (distribute): Add do-lookup.h.
	* elf/do-lookup.h: New file.  Split out from dl-lookup.c.
	* elf/dl-lookup.c: Move do_lookup function in separate file and
	include the file twice, for handling versioning and without it.
1999-02-20 21:12:26 +00:00
Ulrich Drepper 7796221a03 Update.
* sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
	entry is already relocated.
	* sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
	* sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
	* sysdeps/mips/dl-machine.h (elf_machine_runtime_setup): Likewise.
	* sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
	Likewise.
	* sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
	Likewise.
	* sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_setup):
	Likewise.

	* sysdeps/mips/mips64/dl-machine.h: Likewise.
1999-02-20 18:28:24 +00:00
Ulrich Drepper f420344cef Update.
* elf/dynamic-link.h (elf_get_dynamic_info): Take new argument with
	load address.  Relocate d_ptr in DT_DTRTAB, DT_SYMTAB, DT_RELA, DT_REL,
	DT_JMPREL, DT_PLTGOT, and DT_VERSYM l_info entry.
	(_ELF_DYNAMIC_DO_RELOC): Take extra argument which specifies whether
	rel and rela relocations can both happen and skip one test if this
	is not possible.
	(ELF_DYNAMIC_DO_RELA, ELF_DYNAMIC_DO_REL): Call _ELF_DYNAMIC_DO_RELOC
	appropriately.
	* elf/dl-addr.c (_dl_addr): DT_SYMTAB and DT_STRTAB entries are
	already relocated.
	* elf/dl-deps.c (_dl_map_object_deps): DT_STRTAB entry is already
	relocated.
	* elf/dl-load.c (_dl_init_paths): DT_STRTAB entry is already relocated.
	(_dl_map_object_from_fd): Call elf_get_dynamic_info with new argument.
	(_dl_map_object): DT_STRTAB entry is already relocated.
	* elf/dl-lookup.c (do_lookup): DT_STRTAB and DT_SYMTAB entries are
	already relocated.
	* elf/dl-reloc.c (_dl_relocate_object): DT_STRTAB entry is already
	relocated.
	* elf/dl-runtime.c (fixup): DT_SYMTAB, DT_STRTAB, DT_JMPREL, and
	DT_VERSYM entries are already relocated.
	(profile_fixup): Likewise.
	* elf/dl-version.c: Rename VERSTAG macro into VERSYMIDX.  Replace
	all users.
	(match_symbol): DT_STRTAB entry is already relocated.
	(_dl_check_map_versions): Likewise.  Also fo DT_VERSYM.
	* elf/do-rel.h (elf_dynamic_do_rel): reladdr is now assumed to be
	relocated already.  DT_SYMTAB and DT_VERSYM entries are also relocated.
	* elf/rtld.c (_dl_start): Pass extra argument to elf_get_dynamic_info.
	(find_needed): DT_STRTAB entry is already relocated.
	(dl_main): Pass extra argument to elf_get_dynamic_info.
	DT_STRTAB entry is already relocated.
	* sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): DT_JMPREL and
	DT_PLTGOT entries are already relocated.
	(elf_machine_rela): Likewise for DT_SYMTAB.
	* sysdeps/arm/dl-machine.h (elf_machine_rel): DT_STRTAB is already
	relocated.
	* sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
	* sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
	* sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
	* sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
	* sysdeps/powerpc/dl-machine.c (__process_machine_rela): Likewise.
	* sysdeps/mips/dl-machine.h (elf_machine_got_rel): Likewise.
	(elf_machine_got_rel): Likewise for DT_SYMTAB and DT_STRTAB.

	* grp/initgroups.c (initgroups): If function in current module was
	successful don't stop but continue to process to get all the groups.
1999-02-20 15:02:24 +00:00
Ulrich Drepper 24d6084042 Update.
* elf/dl-load.c (_dl_map_object_from_fd): Use global
	_dl_pf_to_proot array to convert p_flags value.
	* elf/dl-reloc.c (_dl_relocate_object): Likewise.
1999-02-20 09:52:46 +00:00
Ulrich Drepper 57846308af Update.
1999-02-20  Ulrich Drepper  <drepper@cygnus.com>

	* elf/dynamic-link.h (elf_get_dynamic_info): Use memset instead of
	loop to clear `info'.

	* sysdeps/i386/i486/bits/string.h: If fill byte is constant let gcc
	do the work and don't use inline assembler.
1999-02-20 09:40:26 +00:00
Ulrich Drepper 126b06f99e Update.
1999-02-19  Ulrich Drepper  <drepper@cygnus.com>

	* elf/ldsodefs.h (_dl_signal_error): Mark as __noreturn__.
	* elf/dl-load.c (lose): Make it a function at the toplevel, mark as
	noreturn, and prevent it from being inlined.
	Define LOSE appropriately.
	(_dl_map_object_from_fd): Compare all bytes in e_ident at once.
	Optimize decoding of p_flags for certain platforms.
1999-02-19 20:37:20 +00:00
Ulrich Drepper 4ac5087baf Update.
1999-02-19  Philip Blundell  <pb@nexus.co.uk>

	* Makeconfig (link-libc): When doing a static link, make sure that
	libgcc.a is included both before and after libc.a.
1999-02-19 08:52:29 +00:00
Ulrich Drepper b378b9f9e3 Update.
1999-02-18  Thorsten Kukuk  <kukuk@suse.de>

	* nis/nss_compat/compat-spwd.c: Fix handling of default values for
	sp_warn, sp_inact, sp_expire and sp_flag.
1999-02-19 08:33:58 +00:00
Ulrich Drepper 61e0617ac3 Update.
* elf/link.h (link_map): Add l_dev and l_ino.
	* elf/dl-load.c (_dl_map_object_from_fd): Test dev/ino of newly
	loaded shared object with all laoded objects.  Initialize l_ino
	and l_dev in case it's new.
	* elf/rtld.c (dl_main): Explain situation is l_dev/l_ino with main
	object.
	* elf/Makefile: Compile and run new test.
	* elf/multiload.c: New file.
1999-02-19 00:00:05 +00:00
Ulrich Drepper 1a989e004c Update.
* nss/nsswitch.h (service_user): Change name field from const char *
	to char[0].
	(name_database_entry): Likewise.
	* nss/nsswitch.c (nss_parse_service_list): Adjust memory allocation
	for change of `service_user'.
	(nss_getline): Adjust memory allocation for change of
	`name_database_entry'.
1999-02-18 22:27:04 +00:00
Ulrich Drepper ed3b44d39c Update.
* catgets/catgets.c: Correctly handle NLSPATH from environment
	[PR libc/980].
1999-02-18 09:15:19 +00:00
Ulrich Drepper d629bceca4 Update.
1999-02-18  Ulrich Drepper  <drepper@cygnus.com>

	* io/Makefile (routines): Add lock64.
	* io/Versions: Add lockf64 for GLIBC_2.1.1.
	* sysdeps/generic/lockf64.c: New file.
1999-02-18 09:10:37 +00:00
Ulrich Drepper 5fdc5ad725 Update.
1999-02-16  Ulrich Drepper  <drepper@cygnus.com>

	* string/bits/string2.h: Only use strncmp optimization if count
	argument is constant.
1999-02-16 21:22:40 +00:00
Roland McGrath 6686d05a25 1999-02-16 Roland McGrath <roland@baalperazim.frob.com>
* sysdeps/mach/hurd/revoke.c: New file.
1999-02-16 19:10:07 +00:00
Ulrich Drepper ff8273391c Update.
1999-02-16  Ulrich Drepper  <drepper@cygnus.com>

	* wctype/wctype.h (_ISwbit): Cast result of shift operations to
	int to avoid warning about `ISO C restricts enumerator values to
	range of `int''.
1999-02-16 17:10:53 +00:00
Ulrich Drepper 3f80a33b99 Update.
1999-02-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* elf/dlfcn.h: Fix typo.
	* sysdeps/generic/bits/dlfcn.h: Likewise.
	* sysdeps/mips/bits/dlfcn.h: Likewise.
1999-02-16 15:35:52 +00:00
Ulrich Drepper 7cd1708f76 Update.
* sysdeps/i386/i486/bits/string.h (memcmp): Correctly set flags
	for the case N == 0.

	* db2/Makefile (distribute): Add LICENSE.
1999-02-16 12:42:10 +00:00
Ulrich Drepper 4811cda92f Update.
1999-02-16  Ulrich Drepper  <drepper@cygnus.com>

	* db2/Makefile: Update.
1999-02-16 12:20:39 +00:00
Ulrich Drepper 9677f17ad8 Update.
1999-02-03  Jeff Bailey  <jbailey@nisa.net>

	* sysdeps/unix/make_errlist.c: Add i18n and copyright to
	generated files.

	* sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Fix typo.
1999-02-16 12:14:05 +00:00
Ulrich Drepper eda78eec29 Update.
* time/mktime.c: Use ISO C form for function definitions and
	remove unnecessary prototypes.
1999-02-16 12:08:42 +00:00
Ulrich Drepper b09bb95838 Update.
* sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix typo in last change.
1999-02-16 11:06:33 +00:00
Ulrich Drepper bc03c49eff Update.
1999-02-16  Ulrich Drepper  <drepper@cygnus.com>

	* time/time.h: Avoid unneccesary #ifdef.
1999-02-16 09:49:44 +00:00
Ulrich Drepper d112ae3080 Update.
1999-02-15  Geoff Keating  <geoffk@ozemail.com.au>

	* stdio-common/_itoa.c (_itoa): Correct parameters to
	udiv_qrnnd_preinv.

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

	* misc/sys/cdefs.h: Undefine __PMT since it might be defined
	before (e.g. in glob.h).
	Closes PR libc/959.

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

	* sysdeps/mips/fpu_control.h: Fix typo.
	Patch by Sylvain Pion <Sylvain.Pion@sophia.inria.fr>.
	Remove __setfpucw.
1999-02-16 09:39:12 +00:00
Roland McGrath 4d120c7379 1999-02-10 Roland McGrath <roland@baalperazim.frob.com>
* sysdeps/mach/hurd/pipe.c (__pipe): Don't call __socket_shutdown on
	the "unused" ends of the sockets.  Let pipes be bidirectional.
1999-02-15 16:32:41 +00:00
Ulrich Drepper 98ad070038 Update.
1999-02-15  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/posix/getaddrinfo.c (getaddrinfo): Correct test for
	invalid ai_flags.
1999-02-15 10:38:47 +00:00
Ulrich Drepper d07e37e2df Update.
1999-02-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* manual/llio.texi (Waiting for I/O): Correct meaning.  Patch by
	Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/969].

	* manual/setjmp.texi (Non-Local Exits and Signals): Fix
	typo.  Patch by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/970].
1999-02-15 09:25:37 +00:00
Ulrich Drepper a199ee5dcb Update.
1999-02-15  Ulrich Drepper  <drepper@cygnus.com>

	* string/Versions: Add __strverscmp to GLIBC_2.1.1.
1999-02-15 09:20:26 +00:00
Ulrich Drepper 0543cd2694 Update.
1999-02-13  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* misc/syslog.c (vsyslog): Remember errno for %m format.  Fix
	check for priority mask.
1999-02-14 20:14:54 +00:00
Ulrich Drepper 6e0d277c5e Update.
1999-02-14  Ulrich Drepper  <drepper@cygnus.com>

	* resolv/netdb.h (AI_NUMERICHOST): Change to 4.
	Reported by Craig Metz <cmetz@inner.net> .
1999-02-14 20:07:32 +00:00
Ulrich Drepper b119507013 Update.
1999-02-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* stdio-common/Makefile (tests): tllformat added.

	* stdio-common/tllformat.c: New program, based on tiformat.c with
	examples from Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.

1999-02-14  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* posix/test-vfork.c: Fix exit status test.

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

	* sysdeps/unix/sysv/linux/sa_len.c (__libc_sa_len): Add some
	missing cases.  Reported by Craig Metz <cmetz@inner.net> [PR libc/964].

1999-02-14  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1999-02-14 20:03:55 +00:00
Andreas Schwab 3634b0706f * sysdeps/m68k/fpu/s_modf.c: Optimized by using __m81_test instead
of separare explicit comparisons.
Sun Feb 14 01:49:29 1999  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* sysdeps/m68k/fpu/s_modf.c: Optimized by using __m81_test instead
	of separare explicit comparisons.
1999-02-13 16:51:29 +00:00
Ulrich Drepper c29c42b0af Update. 1999-02-11 15:43:52 +00:00
Ulrich Drepper 5ff1a70a0f Update.
1999-02-11  Ulrich Drepper  <drepper@cygnus.com>

	* localedata/locale/in_ID: New file.

1999-02-11  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* sysdeps/wordsize-64/inttypes.h: Always define ldiv_t if not yet
	defined.

	* sysdeps/wordsize-32/inttypes.h: Always define lldiv_t if not yet
	defined.
1999-02-11 14:59:52 +00:00
Ulrich Drepper 49b75f5ef5 Update. 1999-02-11 12:11:01 +00:00
Ulrich Drepper 8286ad8e13 Update.
1999-02-10  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/unix/sysv/linux/kernel_stat.h: Define _NO_LFS___PAD1.
	* sysdeps/unix/sysv/linux/xstatconv.c (xstat64_conv): Don't initialize
	__pad1 if _NO_LFS___PAD1 is defined.
	* sysdeps/unix/sysv/linux/bits/stat.h: Remove __pad1 from stat64
	definition.
	* sysdeps/unix/sysv/linux/bits/types.h: Change __ino64_t to 64 bits.
	* sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
1999-02-10 11:33:49 +00:00
Ulrich Drepper 5512461f6a Update.
* po/el.po: Update from translation team.

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

	* intl/locale.alias: Fix slovenian entry [PR libc/948].

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

	* elf/sprof.c: assert.h isn't used anymore, remove inclusion.
	* inet/ruserpass.c: Likewise.
	* locale/programs/stringtrans.c: Likewise.
	* locale/programs/localedef.c: Likewise.
	* nscd/grpcache.c: Likewise.
	* nss/nss_files/files-XXX.c: Likewise.
	* stdlib/canonicalize.c: Likewise.
	* sysdeps/posix/sigwait.c: Likewise.

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

	* sunrpc/pmap_rmt.c (clnt_broadcast): We need 32 bit comparison
	even on 64 bit platforms.

	* sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
	Patch by Loic Prylli <Loic.Prylli@ens-lyon.fr>.

1999-02-09  Ulrich Drepper  <drepper@cygnus.com>
1999-02-09 09:50:05 +00:00
Ulrich Drepper 4c95120ead Update.
1999-02-09  Ulrich Drepper  <drepper@cygnus.com>

	* intl/dcgettext.c: Include locale.h is available.
1999-02-09 08:26:51 +00:00
Ulrich Drepper 0c6a66a792 Update. 1999-02-08 20:43:19 +00:00
Ulrich Drepper 5ffcefcd1b Update.
* sysdeps/libm-i387/s_asinhf.S: Fix typos which caused overwriting
	stack variables.
1999-02-08 20:33:32 +00:00
Ulrich Drepper c8184960fe Update.
* po/nl.po: Update from translation team.
1999-02-08 17:40:22 +00:00
Ulrich Drepper 037ff09f8b Update.
* sysdeps/libm-i387/s_asinhf.S: Correct computing absolute value.
1999-02-08 17:29:55 +00:00
Ulrich Drepper c3c626555a Update.
* Makefile: Allow calling goals for po subdir.
1999-02-08 12:14:21 +00:00
Ulrich Drepper c56661df71 Update.
* sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add missing RT
	signal definitions.
1999-02-08 10:13:00 +00:00
Ulrich Drepper 82d0c09944 Update.
* po/el.po: New file.

1999-02-07  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* elf/dl-load.c (_dl_map_object_from_fd): Replace magic constant
	when processing DT_SYMBOLIC objects.

1999-02-07  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* elf/dl-load.c (_dl_map_object_from_fd): When looking for the
	program headers without PT_PHDR only require that they are
	contained within one of the loaded segments.  Don't use assert,
	since that would be a bug in the object, not the dynamic linker.

1999-02-08  Richard Henderson  <rth@cygnus.com>

	* sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Save and
	restore all call-clobbered fp regs.

1999-02-08  Ulrich Drepper  <drepper@cygnus.com>
1999-02-08 10:08:45 +00:00
Ulrich Drepper c18cec57b9 Update.
* po/cs.po: New file.
1999-02-08 00:13:56 +00:00
Ulrich Drepper 17f6d8b916 Update.
1999-02-08  Ulrich Drepper  <drepper@cygnus.com>

	* resolv/res_hconf.c (_res_hconf_init): Don't use ENV_HOSTCONF for
	SUID binaries.
1999-02-08 00:09:54 +00:00
Ulrich Drepper 9395e8892d Update.
* signal/signal.h: Don't declare __libc_allocate_rtsig.
	* include/signal.h: Declare __libc_allocate_rtsig here.
1999-02-07 21:30:11 +00:00
Ulrich Drepper 48f6496e3f Update.
1999-02-07  Ulrich Drepper  <drepper@cygnus.com>

	* elf/dl-lookup.c: Increment _dl_num_relocations in the four entry
	point functions, not do_lookup since the later can be called more
	than once.
1999-02-07 21:21:33 +00:00
Ulrich Drepper e1f601e878 Update.
1999-02-03  Jakub Jelinek  <jj@ultra.linux.cz>

	* sysdeps/generic/segfault.c: Add ADVANCE_STACK_FRAME
	macro, so that architectures which need to add some special
	offset to stack pointer can share this file.

	* sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: New file.
	* sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: New file.
	* sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: New file.
	* sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: New file.

	* sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Remove.
	* sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Remove.
	* sysdeps/unix/sysv/linux/sparc/bits/mman.h: New file - common
	between sparc32 and sparc64.

	* sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Remove.
	* sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Remove.
	* sysdeps/unix/sysv/linux/sparc/vfork.S: New file - common
	between sparc32 and sparc64.

	* sysdeps/unix/sysv/linux/sparc/sparc32/fork.S: Remove.
	* sysdeps/unix/sysv/linux/sparc/sparc64/fork.S: Remove.
	* sysdeps/unix/sysv/linux/sparc/fork.S: New file - common
	between sparc32 and sparc64.

	* sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Remove.
	* sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Remove.
	* sysdeps/unix/sysv/linux/sparc/sysdep.S: New file - common
	between sparc32 and sparc64.
1999-02-07 20:46:14 +00:00
Ulrich Drepper e518937a3a Update.
1999-02-07  Ulrich Drepper  <drepper@cygnus.com>

	* Versions.def: New version GLIBC_2.1.1 for libc.
	* stdlib/Versions: Add _Exit, imaxdiv, and imaxdiv to GLIBC_2.1.1.
	* stdlib/labs.c: Moved to...
	* sysdeps/generic/labs.c: ...here.
	* stdlib/llabs.c: Moved to...
	* sysdeps/generic/llabs.c: ...here.
	* stdlib/stdlib.h: Allow definition of ldiv_t and lldiv_t in other
	header.  Declare _Exit.
	* sysdeps/generic/_exit.c: Add alias _Exit.
	* sysdeps/mach/hurd/_exit.c: Likewise.
	* sysdeps/standalone/i386/force_cpu386/_exit.c: Likewise.
	* sysdeps/standalone/i960/nindy960/_exit.c: Likewise.
	* sysdeps/standalone/m68k/m68020/mvme136/_exit.c: Likewise.
	* sysdeps/unix/_exit.c: Likewise.
	* sysdeps/wordsize-32/inttypes.h: Define imaxdiv_t and declare
	imaxdiv and imaxabs.  Declare lldiv_t if necessary.
	* sysdeps/wordsize-64/inttypes.h: Likewise.
	* sysdeps/wordsize-32/llabs.c: New file.
	* sysdeps/wordsize-32/lldiv.c: New file.
	* sysdeps/wordsize-64/labs.c: New file.
	* sysdeps/wordsize-64/ldiv.c: New file.
	* manual/arith.texi: Document imaxabs, imaxdiv_t, and imaxdiv.
	* manual/startup.texi: Document _Exit.

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

	* nscd/cache.c: Include <arpa/inet.h> for inet_ntop.
1999-02-07 12:50:11 +00:00
Ulrich Drepper 8d8c6efa78 Update.
1999-02-06  Ulrich Drepper  <drepper@cygnus.com>

	* Versions.def: Add versions for ld.so.
	* csu/Versions: Remove __libc_stack_end here.
	* elf/Versions: Split libc definitions in libc and ld.so definitions.
	* elf/Makefile (ld-map): Change to ld.so.map.
	* scripts/versions.awk: Recognize dot in library names.

	* ctype/ctype.h: Remove definitions of __tolower and __toupper.
	Don't use __tolower and __toupper in inline functions.
	Add optimizing macros for tolower and toupper.
	* ctype/ctype-extn.c (_tolower): Don't use __tolower.
	(_toupper): Don't use __toupper.
	* ctype/ctype.c (tolower): Don't use __tolower.
	(toupper): Don't use toupper.

	* nscd/cache.c (prune_cache): Correct printing of debugging messages.

	* resolv/Versions (libresolv): Export __ns_name_unpack and
	__ns_name_ntop.
	* resolv/res_comp.c: Rename ns_name_unpack to __ns_name_unpack and
	make it global.  Change all users.  Similar for ns_name_ntop.
	* resolv/nss_dns/dns-host.c: Don't use dn_expand when extracting in
	user-provided buffer.  Use __ns_name_unpack and __ns_name_ntop
	directly to detect too small buffer.
	* stdio-common/Makefile (tests): Add scanf12.
	* stdio-common/scanf12.c: New file.
	* stdio-common/scanf12.input: New file.
	* stdio-common/vfscanf.c (__vfscanf): Handle +/- at beginning of
	floating-point correctly if the number is invalid.
	* stdio-common/vfscanf.c: Don't use non-reentrant multibyte conversion
	* stdio-common/printf_fphex.c: Likewise.
	* stdio-common/vfprintf.c: Likewise.
See ChangeLog.9 for earlier changes.
1999-02-07 00:06:12 +00:00
Ulrich Drepper b8f558b7ac Update.
1999-02-04  Ulrich Drepper  <drepper@cygnus.com>

	* stdlib/strtoll.c: Add alias __strtoq_internal.
	* stdlib/strtoull.c: Add alias __strtouq_internal.

	* wcsmbs/mbrtowc.c: Correct logic testing for converted NUL
	character.  Patch by Owen Taylor <otaylor@redhat.com>.
1999-02-04 00:15:46 +00:00
Roland McGrath 0678826d46 1999-02-03 Mark Kettenis <kettenis@gnu.org>
* sysdeps/mach/hurd/utimes.c (__utimes): Deal with TVP being NULL.
1999-02-03 15:18:09 +00:00
Ulrich Drepper de1703ff95 Update.
* version.h (VERSION): Bump to 2.1.
	(RELEASE): Change to stable.
1999-02-03 11:02:57 +00:00
Ulrich Drepper 649ad05add Update.
1999-02-03  Ulrich Drepper  <drepper@cygnus.com>

	* elf/dlsym.c (dlsym_doit): If no symbol for RTLD_NEXT is found
	initialize ref element of args object so that dlsym does not dump
	a core.
	* elf/dlvsym.c (dlvsym_doit): Likewise.
1999-02-03 10:30:07 +00:00
Ulrich Drepper f549233427 Update.
1999-02-03  Jakub Jelinek  <jj@ultra.linux.cz>

	* sysdeps/unix/sysv/linux/sparc/sparc64/pipe.S: Set branch
	prediction correctly.

	* sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h: Signal
	takes a pointer to __sigcontext_t.
	* sysdeps/unix/sysv/linux/sparc/sparc64/syscall.S: Do a nop after retl.
	* sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Remove fork.S.
1999-02-03 09:31:42 +00:00
Ulrich Drepper e72ed84d09 Update.
1999-01-31  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* manual/install.texi (Configuring and compiling): Building in the
	source directory works, change paragraph stating the opposite.

1999-01-29  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* locale/programs/locale-spec.c: Fix last change.
1999-02-03 08:17:46 +00:00
Ulrich Drepper 5d593d24a6 Update.
1999-02-02  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* manual/time.texi (General Time String Parsing): Fix typos.  Fix
	column widths of table.
1999-02-03 07:45:07 +00:00
Roland McGrath b5bc342b74 1999-01-31 Mark Kettenis <kettenis@phys.uva.nl>
* sysdeps/mach/hurd/times.c: New file.
1999-02-02 23:14:49 +00:00
Ulrich Drepper 5431ece5bb Update.
* elf/dl-load.c: Use alloca, not __alloca.
1999-02-02 16:39:32 +00:00
Ulrich Drepper 813f4f4dff Update.
* nscd/nscd_getpw_r.c (nscd_getpw_r): Mark as internal and take
	extra argument with length of key string.
	(__nscd_getpwnam_r): Call nscd_getpw_r with extra argument.
	(__nscd_getpwuid_r): Create key string on stack.
	* nscd/nscd_getgr_r.c: Mark local functions as internal.
	* nscd/nscd_gethst_r.c: Likewise.
1999-02-02 16:27:57 +00:00
Ulrich Drepper b1418d8f39 Update.
1999-02-02  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/unix/sysv/linux/reboot.c: Make sure first parameter is
	correctly passed to the kernel even on 64bit platforms.
	Patch by Bruce Elliott <bde@nwlink.com>.

	* localedata/locales/it_CH: New file.
	Contributed by Giacomo Amabile Catenazzi <gcatenaz@g26.ethz.ch>.
1999-02-02 09:26:53 +00:00
Ulrich Drepper 5b3ce86c1c Update.
1999-01-31  Ulrich Drepper  <drepper@cygnus.com>

	* math/libm-test.c (fdim_test): Fix typo in message.
	Patch by Paul Kimoto <kimoto@spacenet.tn.cornell.edu>.
1999-01-31 13:48:14 +00:00
Ulrich Drepper 28fd0f23c1 Update.
1999-01-31  Philip Blundell  <philb@gnu.org>

	* sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: If the kernel
	doesn't have vfork, resort to using fork.
	* sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
1999-01-30 17:38:29 +00:00
Ulrich Drepper 3ea10b0b52 Update.
* sysdeps/sparc/sparc32/__longjmp.S: Include bits/setjmp.h not
	jmp_buf.h.  Patch by David S. Miller <davem@dm.cobaltmicro.com>.
1999-01-30 08:22:20 +00:00
Ulrich Drepper 4b2e86ce91 Update.
1999-01-30  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/libm-i387/s_fdim.S: Reverse arguments of instruction
	changed in last patch.
	* sysdeps/libm-i387/s_fdimf.S: Likewise.
	* sysdeps/libm-i387/s_fdiml.S: Likewise.
1999-01-30 00:17:22 +00:00
Ulrich Drepper 6eaccb759a Update.
1999-01-29  Richard Henderson  <rth@twiddle.net>

	* scripts/config.sub: Recognize alpha{pca5[67],ev[67]}.

	* sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols):
	Format pointer differences as longs.

	* sysdeps/alpha/fpu/s_floor.c, sysdeps/alpha/fpu/s_floorf.c:
	Copy commentary from bits/mathinclude.h.  Kill unused defines.

	* sysdeps/alpha/atomicity.h: New file.
1999-01-29 16:58:13 +00:00
Ulrich Drepper 21ab6fb6bc Update.
* scripts/versions.awk: Quote { in regexp.
1999-01-29 14:30:48 +00:00
Ulrich Drepper 4142edc3fa Update.
* version.h (VERSION): Bump to 2.0.112.
1999-01-29 13:50:18 +00:00
Ulrich Drepper 9270f939c6 Update.
* sunrpc/clnt_tcp.c (clnttcp_call): Resolve 32-64 comparison
	conflict for 64 bit platforms.
	Patch by trott@rottmann.hi.shuttle.de.

	* sysdeps/i386/Versions: Exports functions from libgcc since this
1999-01-29 12:59:08 +00:00
Ulrich Drepper 84514bcbf2 Update.
* sysdeps/unix/sparc/vfork.S: Correct comment.
	* sysdeps/unix/sparc/fork.S: Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Remove vfork.
	* sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc32/fork.S: No special case for
	child necessary.
	* sysdeps/unix/sysv/linux/sparc/sparc64/fork.S: Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: New file.
	* sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: New file.
	Patches by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.

	* sysdeps/libm-i387/s_fdim.S: Change fsubp to fsubrp for picky gas.
1999-01-29 12:01:59 +00:00
Ulrich Drepper 28133993a3 Update.
* sysdeps/libm-i387/s_fdim.S: Change fsubp to fsubrp for picky
	gas.
	* sysdeps/libm-i387/s_fdimf.S: Likewise.
	* sysdeps/libm-i387/s_fdiml.S: Likewise.
1999-01-29 11:29:58 +00:00
Ulrich Drepper d51913e933 Update.
* sysdeps/alpha/fpu/s_floor.c (__floor): Don't depend on inlining,
	duplicate the code.
	* sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
1999-01-29 10:58:02 +00:00
Ulrich Drepper baa9f3f31e Update.
1999-01-29  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/i386/Versions: Exports functions from libgcc sinc ethis
	is what was done in glibc 2.0.
	* sysdeps/m68k/Versions: Likewise.  New file.
1999-01-29 09:07:56 +00:00
Ulrich Drepper b7398be5f8 Update.
1999-01-28  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* sysdeps/wordsize-32/stdint.h (INT8_C, INT16_C, INT32_C, INT64_C,
	UINT8_C, UINT16_C, UINT32_C, UINT64_C): Remove casts, they must be
	integer constants.  Use ## directly instead of __CONCAT so that
	the suffix string is not expanded as a macro.
	* sysdeps/wordsize-64/stdint.h (INT8_C, INT16_C, INT32_C, INT64_C,
	UINT8_C, UINT16_C, UINT32_C, UINT64_C): Likewise.
	(INT64_MIN, INT64_MAX, UINT64_MAX, INT_LEAST64_MIN,
	INT_LEAST64_MAX, UINT_LEAST64_MAX, INT_FAST16_MIN, INT_FAST32_MIN,
	INT_FAST64_MIN, INT_FAST16_MAX, INT_FAST32_MAX, INT_FAST64_MAX,
	UINT_FAST16_MAX, UINT_FAST32_MAX, UINT_FAST64_MAX, INTMAX_MIN,
	INTMAX_MAX, UINTMAX_MAX): Define as long constants, not long long.

1999-01-28  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* locale/mb_cur_max.c (__ctype_get_mb_cur_max): Correct return
	type to size_t.
	* locale/broken_cur_max.c (__ctype_get_mb_cur_max): Likewise.
	* stdlib/stdlib.h (__ctype_get_mb_cur_max): Likewise.

1999-01-27  Philip Blundell  <pb@nexus.co.uk>

	* sysdeps/unix/sysv/linux/arm/vfork.S: Deleted.
1999-01-29 09:01:50 +00:00
Ulrich Drepper 8163845fda Update.
1999-01-28  David S. Miller  <davem@redhat.com>

	* sysdeps/sparc/sparc32/__longjmp.S: Rewrite without bogus sanity
	checks and aborts, to make longjmp based thread schemes work again.
1999-01-28 22:09:12 +00:00
Ulrich Drepper 1f749a3ba2 Update.
* sysdeps/unix/sysv/sysv4/solaris2/configure.in: New file.
	* sysdeps/unix/sysv/sysv4/solaris2/configure: New file.
	* sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: New file.
	Patch by Jeff Bailey <jbailey@phn.ca>.
1999-01-28 17:34:53 +00:00
Ulrich Drepper 744541835f Update.
* locale/setlocale.c (free_mem): Don't try to free C locale data
	and use setdata instead of doing it by hand.

	* iconv/gconv_conf.c (add_alias): Check that so such alias is
	currently stored.

	* iconv/gconv_db.c (free_derivation): Free names if charsets for
	first and last step.
1999-01-28 16:49:20 +00:00
Ulrich Drepper e6df9a5693 Update.
* iconv/gconv_dl.c: Unload all modules when debugging memory use.
1999-01-28 16:21:30 +00:00
Ulrich Drepper bb7acc5fff Update.
* locale/loadlocale.c (_nl_unload_locale): Free locale name.
1999-01-28 16:05:51 +00:00
Ulrich Drepper f84ad0b1e0 Update.
* intl/finddomain.c (free_mem): Also free filename.
	* locale/findlocale.c (free_mem): Likewise.
	(_nl_find_locale): Duplicate loc_name with strdupa not strdup.
	* locale/setlocale.c (free_mem): New function.  Free current locale
	data and set current locale to "C".
1999-01-28 14:14:08 +00:00
Ulrich Drepper d328b80b4e Update.
* libio/genops.c (_IO_un_link): Move #ifdef introduced in last
	change in right place.

	* sysdeps/unix/sysv/linux/sys/timex.h: Add MAXTC from kernel
	header.  Suggested by Thomas Quinot <thomas@Cuivre.FR.EU.ORG>.

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

	* libio/getc_u.c (__getc_unlocked): Avoid compiler warning.

1999-01-28  Ulrich Drepper  <drepper@cygnus.com>
1999-01-28 13:53:14 +00:00
Ulrich Drepper 51e176c2c2 Update.
* libio/genops.c (_IO_un_link, _IO_link_in): Don't use locking if
	_IO_MTSAFE_IO is not defined.
1999-01-28 11:35:54 +00:00
Ulrich Drepper 8ce63ec09b Update.
* iconv/gconv_db.c (free_modules_db): Don't free memory of
	internal modules.
1999-01-28 10:53:10 +00:00
Ulrich Drepper 0dbbad29ce Update.
1999-01-28  Ulrich Drepper  <drepper@cygnus.com>

	* iconv/gconv_db.c (free_mem): Don't free module tree if there is none.
1999-01-28 09:52:01 +00:00
Ulrich Drepper a9d755661b Update.
* locale/programs/locale-spec.c (locale_special): Take care of
	possible trigraph sequence.
	Patch by Zack Weinberg <zack@rabi.columbia.edu>.
1999-01-27 10:14:01 +00:00
Ulrich Drepper a25f202391 Update.
* time/strptime.c (strptime_internal, case 's'): Initialize secs
	to zero.  Patch by Bruce Elliott <bde@nwlink.com>.

1999-01-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* elf/Makefile (extra-objs): Add test modules objects.

1999-01-27  Ulrich Drepper  <drepper@cygnus.com>
1999-01-27 09:57:05 +00:00
Ulrich Drepper 8c474db54d Update.
* wctype/wcextra.c: Declare __ctype32_b.
1999-01-27 09:13:16 +00:00
Ulrich Drepper ee2752ea58 Update.
1999-01-27  Ulrich Drepper  <drepper@cygnus.com>

	* manual/string.texi: Add optimization examples for strcat and strchr.

	* libio/getc_u.c: Rename function to __getc_unlocked and make
1999-01-27 00:11:04 +00:00
Ulrich Drepper 209caedfd0 Update.
* libio/Makefile (routines): Remove fgetc.
	* libio/fgetc.c: Removed.
	* libio/getc.c: Add fgetc alias.
	* libio/Versions [GLIBC_2.1]: Add fgetc_unlocked.
	* libio/getc_u.c: Rename functio to __getc_unlocked and make
	getc_unlocked and fgetc_unlocked weak aliases.
	* libio/stdio.h: Add prototype for fgetc_unlocked.
1999-01-26 20:49:55 +00:00
Ulrich Drepper 009479366d Update.
* sysdeps/gnu/bits/utmp.h: Don't prepend exit_status elements with
	__ since utmp.h is not mentioned in any standard.
1999-01-26 19:29:36 +00:00
Ulrich Drepper 69963deb2c Update.
* sysdeps/unix/sysv/linux/i386/clone.S: When not using PIC don't
	use jecxz since the label might be far away.
1999-01-26 13:41:11 +00:00
Ulrich Drepper 7804eb37e8 Update.
1999-01-26  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/unix/sysv/linux/sigaction.c: Update comment to say the
	__libc_missing_rt_sigs is defined here.
	* sysdeps/unix/sysv/linux/sigpending.c: Only declare
	__libc_missing_rt_sigs.
	* sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
	* sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
1999-01-26 10:08:17 +00:00
Ulrich Drepper 0dbd556796 Update.
* scripts/config.guess: Changes for ARM/Linux.
	* scripts/config.sub: Likewise.
1999-01-25 18:16:36 +00:00
Ulrich Drepper aaff4ba9a6 Update.
1999-01-25  Ulrich Drepper  <drepper@cygnus.com>

	* elf/Makefile: Define libdl variable as name of libdl library and
	use it in all dependencies.
1999-01-25 11:18:10 +00:00
Ulrich Drepper b57018905f Update.
1999-01-26  Geoff Keating  <geoffk@ozemail.com.au>

	* nss/nss_db/db-netgrp.c (_nss_db_setnetgrent): Suppress warning
	about potentially uninitialized `flags'.
	* nss/nss_db/db-alias.c (internal_setent): Likewise.

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

	* elf/failobj.c: Provide prototype for xyzzy.

1999-01-25  Philip Blundell  <pb@nexus.co.uk>

	* sysdeps/unix/sysv/linux/arm/clone.S: Correct error check again.
1999-01-25 11:00:16 +00:00
Roland McGrath 25a49f0ea4 1999-01-24 Roland McGrath <roland@baalperazim.frob.com>
* sysdeps/mach/hurd/ioctl.c: Include <hurd/ioctls.defs>.
	(__ioctl): Use IOC_MSGID macro.
1999-01-25 08:43:14 +00:00
Ulrich Drepper 8f0302ee67 Update.
* libio/iofopen.c (_IO_fopen): Pass correct value as fourth
	parameter to _IO_file_fopen.
	* libio/iofopen64.c (_IO_fopen64): Likewise.
1999-01-24 17:29:18 +00:00
Ulrich Drepper 4487e30b40 Update.
* po/sv.po: Update from translation team.

	* sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add __vfork
	as alias.
	* sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.

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

	* ctype/ctype.h (toupper,tolower): Use __inline instead of inline,
	define inline functions only when optimizing for speed and
	__USE_EXTERN_INLINES is set.

1999-01-24  Ulrich Drepper  <drepper@cygnus.com>

	* ctype/ctype.c (toupper): Correct variable names from last change.
1999-01-24 17:11:55 +00:00
Ulrich Drepper 6a3b5b5c71 Fix typo.
* sysdeps/i386/i786/Implies: New file.
1999-01-24 11:09:07 +00:00
Roland McGrath 6f8c75b105 1999-01-24 Roland McGrath <roland@baalperazim.frob.com>
* sysdeps/mach/hurd/dl-sysdep.c (__getcwd): Fail with ENOSYS, don't
	call abort.  Suggested by Mark Kettenis <kettenis@phys.uva.nl>.

1999-01-23  Roland McGrath  <roland@baalperazim.frob.com>

	* sysdeps/unix/sysv/linux/sys/mtio.h: Moved to...
	* sysdeps/gnu/sys/mtio.h: ...here.
	(_IOT_mtop, _IOT_mtget, _IOT_mtpos, _IOT_mtconfiginfo): New macros.
	* sysdeps/gnu/Dist: Add sys/mtio.h.
	* sysdeps/unix/sysv/linux/Dist: Remove sys/mtio.h.
	* sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
	(sysdep_headers): Don't add sys/mtio.h here.
	* sysdeps/gnu/Makefile [$(subdir) = misc] (sysdep_headers): Add it
	here instead.

	Revamp Hurd ioctl typing magic to handle `struct' keyword in the
	ioctl command macros, so we can use Unix-compatible headers that
	make use of the _IO* macros.
	* sysdeps/mach/hurd/bits/ioctls.h (_IOC_ENCODE_TYPE,
	_IOC_ENCODE_TYPE_1, _IOC_ENCODE_TYPE_2, _IOTBASE_struct): New macros.
	(_IOR, _IOW, _IOWR): Use them _IOC_ENCODE_TYPE(t) instead of _IOT_##t.
	(_IOT_int, _IOT_char, _IOT_short): Renamed to _IOT__IOTBASE_*.
	(numerous ioctl command macros): Restore `struct' keyword.
1999-01-24 10:46:47 +00:00
Ulrich Drepper 1770a20dfb Update.
* scripts/config.sub: Update from latest autoconf release.
	* scripts/config.guess: Likewise.

	* sysdeps/i386/i786: New file.

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

	* manual/install.texi (Running make install): Change for Linux 2.2.

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

	* manual/process.texi (Creating a Process): Fix typos.

1999-01-24  Ulrich Drepper  <drepper@cygnus.com>
1999-01-24 10:41:37 +00:00
Ulrich Drepper 440d13e289 Update.
1999-01-24  Ulrich Drepper  <drepper@cygnus.com>

	* ctype/ctype.c (toupper): Correct variable names from lat change.
	(tolower): Likewise.
1999-01-24 10:17:23 +00:00
Ulrich Drepper d74e76f9f6 Update.
* sunrpc/rpc_main.c (open_output): Allow better translation of
	error message.
	(close_output): Likewise.
	* locale/programs/localedef.c: Unify messages.
	* malloc/obstack.c: Likewise.
	Suggested by Vladimir Michl <Vladimir.Michl@upol.cz>.
1999-01-23 22:50:17 +00:00
Ulrich Drepper 8ba3c7d939 Update.
* grp/putgrent.c (putgrent): Don't insert extra colon.
	Patch by Michael Schaefer <michael.schaefer@dlr.de>.
1999-01-23 22:38:35 +00:00
Ulrich Drepper 4caef86ca6 Update.
1999-01-23  Ulrich Drepper  <drepper@cygnus.com>

	* nss/nss_files/files-XXX.c (internal_getent): Make sure the buffer has
	at least two bytes (not one).  Correct buflen parameter type.
	* nss/nss_files/files-alias.c (get_next_alias): Make sure buffer
	has at least two bytes.  Use fgets_unlocked instead of fgets.

	* ctype/ctype.h: Don't user __tolower directly for tolower
	implementation.  Use inline function which tests for the range
	first.  Make _tolower equivalent to old tolower macros.
	Likewise for toupper.
	* ctype/ctype.c: Change tolower/toupper definition accordingly.

	* argp/argp-help.c: Use _tolower instead of tolower if possible.
	* inet/ether_aton_r.c: Likewise.
	* inet/ether_line.c: Likewise.
	* inet/rcmd.c: Likewise.
	* intl/l10nflist.c: Likewise.
	* locale/programs/ld-collate.c: Likewise.
	* locale/programs/linereader.c: Likewise.
	* locale/programs/localedef.c: Likewise.
	* nis/nss_nis/nis-alias.c: Likewise.
	* nis/nss_nis/nis-network.c: Likewise.
	* posix/regex.c: Likewise.
	* resolv/inet_net_pton.c: Likewise.
	* stdio-common/printf_fp.c: Likewise.
	* stdio-common/vfscanf.c: Likewise.
	* sysdeps/generic/strcasestr.c: Likewise.

	* math/bits/mathcalls.h: Fix typo.
1999-01-23 22:17:17 +00:00
Roland McGrath e3822a8a50 1999-01-23 Roland McGrath <roland@baalperazim.frob.com>
* sysdeps/gnu/errlist.awk: Add comment.
1999-01-23 13:10:02 +00:00
Ulrich Drepper d26bda6b53 Update.
1999-01-23  Ulrich Drepper  <drepper@cygnus.com>

	* csu/Versions: Add __register_frame_info_table.
1999-01-23 09:59:40 +00:00
Ulrich Drepper 256846bb65 Update.
1998-12-29  Geoff Keating  <geoffk@ozemail.com.au>

	* sunrpc/Versions: Include _authenticate, it's defined in a user
	header (in fact, it's the whole contents of rpc/svc_auth.h).

1999-01-23  Ulrich Drepper  <drepper@cygnus.com>

	* io/ftw.c (process_entry): Initialize flag since not all gcc
	versions are smart enough to see that this is no problem.

	* elf/dl-open.c (_dl_init_paths): Check malloc result.

	* csu/Versions: Add __frame_state_for.
1999-01-23 09:43:49 +00:00
Ulrich Drepper d480547e99 Update.
* sysdeps/gnu/errlist.awk: Mark ENOTSUP as alias for EOPNOTSUPP.
1999-01-22 14:14:28 +00:00
Ulrich Drepper bd4848fb22 Update.
1999-01-22  Ulrich Drepper  <drepper@cygnus.com>

	* iconv/gconv_conf.c (add_alias): Convert names to uppercase before
	adding into search tree.
	(add_module): Likewise.
	* iconv/iconv_open.c: Likewise.
	* iconv/gconv_db.c: Change all __strcasecmp to strcmp.
	* iconv/skeleton.c (gconv_init): Likewise.
1999-01-22 13:02:12 +00:00
Ulrich Drepper e18db2b0ee Update.
1999-01-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* elf/Makefile: Make dependencies between test modules explicit.
	(preloadtest-preloads): New variable.
	($(objpfx)preloadtest.out): Use it.
	(preloadtest-ENV): Use it.

1999-01-22  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* sysdeps/unix/sysv/linux/arm/Dist: Undo last change.  Not needed.

	* elf/Makefile: Add missing dependency for preloadtest binary.

1999-01-21  Ulrich Drepper  <drepper@cygnus.com>
1999-01-22 09:29:52 +00:00
Roland McGrath 46db1cb016 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Depend on
$(common-objpfx)errnos.d.
1999-01-21 23:33:42 +00:00
Roland McGrath 75d0cab2dd 1999-01-22 Roland McGrath <roland@baalperazim.frob.com>
* sysdeps/mach/hurd/Makefile: Fix errnos.h -> bits/errno.h in rules.

	* manual/errno.texi (Error Codes): Fix ENOSYS description.
	Add ENOTSUP.
1999-01-21 23:25:25 +00:00
Ulrich Drepper 448c38756a Update.
* elf/Makefile (distribute): Add test module sources.
1999-01-21 17:37:03 +00:00
Ulrich Drepper d1462d2e3f Update.
* sysdeps/unix/sysv/linux/sys/sysmacros.h: Pretty print.
	* sysdeps/unix/sysv/linux/Dist: Remove sys/sysmacros.h.
	* sysdeps/unix/sysv/linux/Makefile: Remove sys/sysmacros.h.
	* posix/Makefile (headers): Add sys/sysmacros.h.
	* posix/sys/types.h: Include sys/sysmacros.h for __USE_BSD.
	* sysdeps/generic/sys/sysmacros.h: New file.
	* sysdeps/mach/hurd/xmknod.c: Include sys/types.h and remove minor and
	major definition.
1999-01-21 14:52:39 +00:00
Ulrich Drepper c71183402c Update.
* version.h (VERSION): Bump to 2.0.111.
1999-01-21 14:18:11 +00:00
Ulrich Drepper 50b65db1ee Update.
1999-01-21  Ulrich Drepper  <drepper@cygnus.com>

	* elf/dl-close.c: Rewrite the way adding to the global scope works
	to handle error cases better than the last change.
	The l_global flag is now only set when the object is actually
	counted in the global scope list.
	* elf/dl-deps.c: Likewise.
	* elf/dl-open.c: Likewise.
1999-01-21 14:17:43 +00:00
Ulrich Drepper 1d28e93cab Update.
1999-01-20  Philip Blundell  <pb@nexus.co.uk>

	* sysdeps/unix/sysv/linux/arm/sigaction.c: New file.

	* sysdeps/unix/sysv/linux/arm/vfork.S: New file.
	* sysdeps/unix/sysv/linux/arm/Dist: Add vfork.S.

	* sysdeps/unix/sysv/linux/arm/clone.S: Optimise a little, support
	26-bit machines correctly and fix check for returned errors.
1999-01-21 09:46:49 +00:00
Ulrich Drepper dc88639c99 Update.
* sysdeps/unix/sysv/linux/i386/clone.S: Micro-optimization.
1999-01-21 09:35:55 +00:00
Ulrich Drepper 53ad957e4f Update.
* sysdeps/unix/sysv/linux/i386/vfork.S: Add back the first
	implementation now that the syscall is back in 2.2.0.
1999-01-21 09:26:20 +00:00
Ulrich Drepper fe60f7648c Update.
1999-01-21  Ulrich Drepper  <drepper@cygnus.com>

	* elf/Makefile: Change rule to make test module so that they are
	compiled using -fPIC.
	* elf/testobj1.c: Add missing prototype.
	* elf/testobj1_1.c: Likewise.
	* elf/testobj2.c: Likewise.
	* elf/testobj3.c: Likewise.
	* elf/testobj4.c: Likewise.
	* elf/testobj5.c: Likewise.
	* elf/testobj6.c: Likewise.
1999-01-21 08:31:59 +00:00
Ulrich Drepper 1e26231274 Update.
* elf/Makefile (tests): Add loadfail.
	Add rules to build failobj.so.
	* elf/loadfail.c: New file.  Test of failing to load object with
	RTLD_GLOBAL set.
	* elf/failobj.c: New file.  Object which will fail to load.
1999-01-20 20:01:17 +00:00
Ulrich Drepper ad11b5a745 Update.
* elf/dl-close.c (_dl_close): Fix last patch (cnt is unsigned).
1999-01-20 19:46:12 +00:00
Ulrich Drepper d3556ac929 Update.
* elf/dl-close.c: Handle failed loads which would have gone in the
	global scope correctly.

	* elf/testobj1.c: Include stdlib.h to get NULL defined.
	* elf/testobj2.c: Likewise.
	* elf/testobj3.c: Likewise.
	* elf/testobj4.c: Likewise.
	* elf/testobj5.c: Likewise.

	* iconvdata/sami-ws2.c: New file.
1999-01-20 18:32:29 +00:00
Ulrich Drepper 0f6052a803 Update.
* iconvdata/Makefile (modules): Add SAMI-WS2 and ISO-IR-197.
	* iconvdata/gconv-modules: Add entries for above charsets.
	* iconvdata/iso-ir-197.c: New file.
	* iconvdata/same-ws2.c: New file.
1999-01-20 16:12:52 +00:00
Ulrich Drepper 8b4a471567 Update.
1999-01-20  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/unix/sysv/linux/vfork.c: Once again use generic version.
1999-01-20 11:36:34 +00:00
Ulrich Drepper 5d003fb2ea Update.
1999-01-18  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* sysdeps/unix/sysv/linux/Makefile ($(objpfx)syscall-%.d): Fix
	generation of dependency list to make it work with newer versions
	of gcc.

1999-01-18  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* Makerules (build-module): New macro, moved from...
	* elf/Makefile (build-module): ... here.
	* iconvdata/Makefile (build-module): ... and here.
1999-01-20 09:42:04 +00:00
Ulrich Drepper 0ed91d50ee Update.
* sysdeps/alpha/Versions: Add __atan2 for libm and GLIBC_2.0.
1999-01-20 09:23:50 +00:00
Ulrich Drepper 3d91edb219 Update.
1999-01-20  Ulrich Drepper  <drepper@cygnus.com>

	* elf/Makefile (tests): Add preloadtest.  Add rules to build more test
	modules and the preloadtest binary.
	* elf/loadtest.c (TEST_ROUNDS): Increase to 1000.
	(testobjs): Add more modules.
	(tests): Add entries for new modules.
	* elf/preloadtest.c: New file.  Test for LD_PRELOAD.
	* elf/testobj1.c: Add 'preload' function.
	* elf/testobj2.c: Likewise.
	* elf/testobj3.c: Likewise.
	* elf/testobj4.c: New file.
	* elf/testobj5.c: New file.
	* elf/testobj6.c: New file.
1999-01-20 00:34:52 +00:00
Ulrich Drepper b25d4ff04d Update.
* elf/dl-object.c (_dl_new_object): Micro-optimization.
1999-01-20 00:00:16 +00:00
Ulrich Drepper 6bd0638460 Update.
* elf/restest1.c: New file.  Symbol resolution test.
	* elf/testobj1_1.c: New file.  Module used in this test.
	* elf/Makefile: Add rules for restest1 generation and execution.
1999-01-19 23:47:25 +00:00
Ulrich Drepper df4d289887 Update.
* elf/dl-object.c (_dl_new_object): l_local_scope really gets
	assigned the local scope.

	* math/tgmath.h: Rename nextafterx to nexttoward.
1999-01-19 22:49:19 +00:00
Ulrich Drepper d48f4d530e Update.
* posix/test-vfork.c (main): Improve test to check for correct
	exit code.
1999-01-19 15:41:14 +00:00
Ulrich Drepper d53afacb55 Update.
* sysdeps/unix/sysv/linux/i386/vfork.S: Rewrite to use clone.

	* sysdeps/unix/sysv/linux/bits/sched.h: Define CLONE_VFORK.
1999-01-19 15:34:49 +00:00
Ulrich Drepper 3ef4002b3f Update.
1999-01-19  Ulrich Drepper  <drepper@cygnus.com>

	* timezone/zdump.c: Update from tzcode1999a.
	* timezone/zic.c: Likewise.
1999-01-19 14:38:48 +00:00
Ulrich Drepper 42bd0a85b9 Update.
1999-01-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* math/tgmath.h (nexttoward): Rename nextafterx to nexttoward.
1999-01-19 12:54:50 +00:00
Ulrich Drepper 49a71f927c Update.
* sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Add baud rates >
	460800.
	* sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
	* sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
	* sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1999-01-19 12:28:57 +00:00
Ulrich Drepper 36fe9ac901 Update.
1999-01-19  Ulrich Drepper  <drepper@cygnus.com>

	* math/Makefile (libm-calls): Rename s_nextafterx to s_nexttoward.
	* math/Versions: Likewise.
	* math/bits/mathcalls.h: Likewise.
	* manual/arith.texi: Likewise.
	* sysdeps/libm-ieee754/s_nextafterl.c: Likewise.
	* sysdeps/libm-ieee754/s_nextafterx.c: Replaced by...
	* sysdeps/libm-ieee754/s_nexttoward.c: New file.
	* sysdeps/libm-ieee754/s_nextafterxf.c: Replaced by...
	* sysdeps/libm-ieee754/s_nexttowardf.c: New file.
	* sysdeps/libm-ieee754/s_nextafterxl.c: Replaced by...
	* sysdeps/libm-ieee754/s_nexttowardl.c: New file.

	* time/Makefile (routines): Removed strfxtime.
	* time/Versions: Likewise.
	* time/strfxtime.c: Removed.
	* time/time.h: Remove _LOCALTIME, _NO_LEAP_SECONDS, struct tmx,
	mkxtime, and strfxtime.
1999-01-19 10:11:00 +00:00
Ulrich Drepper 1ca8b61ade Fix typo.
* Rules: Add dummy.c and dummy.o to common-generated.
1999-01-18 23:16:52 +00:00
Ulrich Drepper 2bd6088017 Update.
1999-01-18  Ulrich Drepper  <drepper@cygnus.com>

	* iconv/gconv_conf.c (add_module): Complete rewrite.  Use cleverer
	data structures and avoid creating intermediate representations
	first.  Rewrite also all helper functions.
	* iconv/gconv_db.c (find_derivation): Use new data structure for
	module database.
	* iconv/Versions: Remove __gconv_nmodules.
	* iconv/iconv_prog.c: Rewrite generation of charset name list to
	use new data structure.
	* iconv/gconv_int.h (struct gconv_module): Add new elements for
	database data structure.
	(__gconv_modules_db): Update type.
	(__gconv_transform_dummy): Removed.
	* iconv/gconv_builtin.h: Remove dummy transformation.
	* iconv/gconv_simple.c: Remove __gconv_transform_dummy.

	* sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Remove
	__syscall_vfork, add vfork.
	* sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.

	* Rules: Add dummp.c and dummy.o to common-generated.
1999-01-18 23:15:16 +00:00
Ulrich Drepper 464d646f3e Update.
1999-01-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* posix/test-vfork.c: Include <sys/wait.h> for wait declaration.

1999-01-16  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* manual/ctype.texi: Fix cross refs and typos.
	* manual/charset.texi: Likewise.

1999-01-18  Ulrich Drepper  <drepper@cygnus.com>

	* Rules: Add dummp.y and dummy.o to common-generated.
	Patch by Andreas Schwab.

1999-01-18 10:07 -0500  Zack Weinberg  <zack@rabi.phys.columbia.edu>

	* manual/libc-texinfo.sh: Use tsort.awk.
	* manual/tsort.awk: New file.
	* manual/Makefile (minimal-dist): Add tsort.awk.
	(distribute): Remove generated files: summary.texi,
	stamp-summary, chapters.texi, top-menu.texi, and texis.
1999-01-18 09:38:36 +00:00
Andreas Schwab 37ce12d14c * sysdeps/unix/sysv/linux/m68k/vfork.S: Test return value after
fork syscall.
1999-01-15  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* sysdeps/unix/sysv/linux/m68k/vfork.S: Test return value after
	fork syscall.
1999-01-18 01:45:33 +00:00
Ulrich Drepper c96f6550f3 Update.
* wctype/wcfuncs.c: Declare __ctype32_b.
1999-01-17 10:14:36 +00:00
Ulrich Drepper 3591977060 Update.
* elf/Makefile (test-modules): Add test-modules.
1999-01-17 01:17:09 +00:00
Ulrich Drepper 2ac51313f0 Update.
1999-01-17  Ulrich Drepper  <drepper@cygnus.com>

	* stdlib/canonicalize.c (canonicalize): Update write pointer after
	realloc.  Minor optimizations.
1999-01-17 01:08:32 +00:00
Ulrich Drepper 6bfdad38b3 Update.
* po/no.po: Update from norwegian translation team.
1999-01-16 18:43:44 +00:00
Ulrich Drepper 70e57b1382 Update.
* iconvdata/iso-2022-jp.c: Correct handling of G2 set.
	Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
1999-01-16 18:38:41 +00:00
Ulrich Drepper 482eec0d11 Update.
1999-01-16  Ulrich Drepper  <drepper@cygnus.com>

	* elf/Makefile (tests): Add loadtest.
	Add rules to generate test modules.
	* Makeconfig (+link): Add $(LDFLAGS-$(@F)) to command line.
	* elf/loadtest.c: New file.
	* elf/testobj1.c: New file.
	* elf/testobj2.c: New file.
	* elf/testobj3.c: New file.

	* elf/dl-close.c: Correct removing module from global list.

	* elf/dl-open.c: Add debugging code.

	* include/string.h: Add __rawmemchr prototype.
	* string/Makefile (routines): Add rawmemchr.
	* string/Versions [GLIBC_2.1]: Add __rawmemchr and rawmemchr.
	* string/string.h: Add prototype for rawmemchr.
	* string/bits/string2.h: Optimize strchr with rawmemchr.
	* sysdeps/generic/rawmemchr.c: New file.
	* sysdeps/i386/rawmemchr.c: New file.
	* sysdeps/i386/i486/bits/string.h: Add rawmemchr inline code.
	Optimize strchr with rawmemchr.

	* sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _LFS_LARGEFILE,
	_LFS64_LARGEFILE, and _LFS64_STDIO for Unix98.

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

	* nis/nis_error.c (nis_errlist): Fix capitilasation.
1999-01-16 17:09:04 +00:00
Ulrich Drepper 37a87f834a Update.
Improve mbsinit example.
1999-01-15 16:24:11 +00:00
Ulrich Drepper d0ab77802a Update.
* posix/Makefile (tests): Add test-vfork.
	* posix/test-vfork.c: New file by Andreas Schwab.
1999-01-15 13:35:35 +00:00
Ulrich Drepper a58fe83962 Update.
* manual/charset.texi: More misspelling fixes.
	Reported by Tom Tromey <tromey@cygnus.com>.
1999-01-15 13:10:43 +00:00
Ulrich Drepper b7aee91f71 Update.
1999-01-15  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/unix/sysv/linux/vfork.c: Removed.
	* sysdeps/unix/sysv/linux/i386/vfork.S: New file.
1999-01-15 10:25:58 +00:00
Ulrich Drepper 152b214538 Update.
1998-12-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* sysdeps/unix/sysv/linux/mips/bits/siginfo.h: New file.
1999-01-14 13:30:54 +00:00
Ulrich Drepper 51bba858cd Update.
* Make-dist: If file is generated but still distributed the later
	is correct.

1998-12-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	Patche by Ralf Baechle <ralf@gnu.org>:
	* sysdeps/mips/sys/regdef.h: New file, enhanced versions of
	deleted linux specific files.
1999-01-14 13:27:00 +00:00
Ulrich Drepper 0d03230432 Update.
* sysdeps/unix/sysv/linux/arm/Dist: Add sys/user.h.
1999-01-14 12:58:05 +00:00
Ulrich Drepper 1b1594b3ad Update.
* manual/Makefile (examples): Filter out the example code from
	add-ons.
1999-01-14 12:44:50 +00:00
Ulrich Drepper 47d805f646 Update.
* version.h (VERSION): Bump to 2.0.110.
1999-01-14 12:13:08 +00:00
Ulrich Drepper 8ab1cf08c6 Update.
* nis/nis_error.c (nis_errlist): Fix typo in string.
1999-01-14 10:44:35 +00:00
Ulrich Drepper 9963a779f5 Update.
* misc/regexp.h: Add restrict to function declarations.

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

	* misc/regexp.h (compile): Correct end-of-line check, fix typo in
	docu.  Reported by Kalle Olavi Niemitalo <kalle@Niemitalo.fi>.

1999-01-14  Ulrich Drepper  <drepper@cygnus.com>
1999-01-14 10:25:40 +00:00
Ulrich Drepper 695b9a0276 Update.
1999-01-14  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/unix/sysv/linux/alpha/syscalls.list: Add vfork.
	Patch by Richard Henderson <rth@twiddle.net>.
1999-01-14 00:17:25 +00:00
Ulrich Drepper 7be8096fe6 Update.
* manual/nss.texi (NSS Module Interface): Document requirement on errno
	value after unsuccessful call of module function.
1999-01-13 18:31:25 +00:00
Ulrich Drepper 44129238a2 Update.
1999-01-13  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/unix/sysv/linux/syscalls.list: Add __syscall_fork alias.
	* sysdeps/unix/sysv/linux/vfork.c: Use vfork syscall if available,
	otherwise use fork.
	* sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add vfork.
	* sysdeps/unix/sysv/linux/sparc32/syscalls.list: Likewise.
	* sysdeps/unix/sysv/linux/sparc64/syscalls.list: Likewise.

	* sysdeps/unix/sysv/linux/i386/sysdep.h: Correct handling of
	INLINE_SYSCALL for syscall without parameters.
1999-01-13 13:29:55 +00:00
Ulrich Drepper d7b88214f6 Update.
* sysdeps/unix/make-syscalls.sh: Set shared-only-routines for
	versioned syscalls.

	* Rules: Remove rules for empty.* again.

1999-01-13  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1999-01-13 09:25:35 +00:00
Andreas Schwab 9ddcbe57b0 * sysdeps/unix/sysv/linux/m68k/vfork.S: New file.
1999-01-13  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* sysdeps/unix/sysv/linux/m68k/vfork.S: New file.
1999-01-13 01:43:33 +00:00
Ulrich Drepper 7c97addd6f Update.
1999-01-13  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/i386/bits/string.h: Correct several bugs in various
	functions which never worked.
	Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
1999-01-13 00:14:51 +00:00
Ulrich Drepper d731df03bd Update.
1999-01-12  Ulrich Drepper  <drepper@cygnus.com>

	* manual/charset.texi: Add many corrections.
	Patch by Benjamin Kosnik <bkoz@cygnus.com>.
1999-01-12 23:36:42 +00:00
Ulrich Drepper c1b2d47280 Update.
1999-01-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* manual/charset.texi: Fix some typos.
1999-01-12 08:12:19 +00:00
Ulrich Drepper 281631fba8 Update.
1999-01-12  Ulrich Drepper  <drepper@cygnus.com>

	* login/programs/pt_chown.c (main): Update copyright year.
1999-01-12 00:20:24 +00:00
Ulrich Drepper 18fd611b53 Update.
* sysdeps/posix/tempname.c: Open files with mode 0600.
1999-01-12 00:00:01 +00:00
Ulrich Drepper 390955cbde Update.
1999-01-11  Ulrich Drepper  <drepper@cygnus.com>

	* ctype/Versions [GLIBC_2.0]: Export __ctype32_b.
	* include/wctype.h: Declare __iswctype.
	* stdio-common/vfscanf.c (__vfscanf): Use __iswspace instead of
	iswspace.
	* wctype/Makefile (routines): Add wcextra_l.
	* wctype/wcextra.c (iswblank): Implement function here and don't use
	__iswctype.
	(__iswblank_l):  Move definition to...
	* wctype/wcextra_l.c: ...here.  New file.
	* wctype/wcfuncs.c: Really implement functions and don't call
	__iswctype or __towctrans.
	* wctype/wctype.h: Change isw* and tow* macros.  Don't call
	__iswctype or __towctrans.  Instead optimize constant argument case.

	* iconv/gconv.h: Fix typos.

	* iconv/skeleton.c: Fix typos.  Optimize init function a bit.
	Correctly emit escape sequence to return to initial state in
	conversion function.

	* iconvdata/iso-2022-jp.c (gconv_init): Correctly initialize
	max_needed_to element.

	* manual/mbyte.texi: Removed.  This is now described in charset.texi.
	* manual/charset.texi: New file.
	* manual/Makefile (chapters): Replace mbyte by charset.
	* manual/ctype.texi: Document wide character functions.
	* manual/intro.texi: Fix reference to mbyte chapter.
	* manual/lang.texi: Likewise.
	* manual/locale.texi: Likewise.
	* manual/stdio.texi: Likewise.
	* manual/string.texi: Fix @node line for new charset chapter.
	* manual/libc.texinfo (UPDATED): Updated.  Also update copyright years.
	* manual/memory.texi (savestring): Optimize code to give a good
	example.

	* manual/filesys.texi: Fix wording.  Patches by Jim Meyering.

	* nscd/nscd_getgr_r.c: Include stdint.h to get uintptr_t definition.
	* nscd/nscd_getpw_r.c: Likewise.
	* nscd/nscd_gethst_r.c: Likewise.

	* stdlib/stdtold_l.c: Always include xlocale.h.

1999-01-11  Geoffrey Keating  <geoffk@ozemail.com.au>

	* stdlib/fpioconst.h (LDBL_MAX_10_EXP_LOG): Define to be same as
	DBL_MAX_10_EXP_LOG if there is no long double.
	(_fpioconst_pow10): Always use size as LDBL_MAX_10_EXP_LOG to match
	printf_fp.c.

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

	* timezone/Makefile ($(testdata)/GB): Changed to ...
	($(testdata)/Europe/London): ... for tst-timezone test.
	($(objpfx)tst-timezone.out): Change GB to Europe/London.

	* timezone/tst-timezone.c (main): Enable DST switching test,
	change GB to Europe/London.

1999-01-10  Philip Blundell  <philb@gnu.org>

	* socket/Makefile (headers): Remove bits/sockunion.h.

1999-01-09  Philip Blundell  <philb@gnu.org>

	* socket/sys/socket.h: Don't include <bits/sockunion.h>.
	* sysdeps/generic/bits/sockunion.h: Deleted.
	* sysdeps/unix/sysv/linux/bits/sockunion.h: Likewise.

1999-01-08  H.J. Lu  <hjl@gnu.org>

	* io/fts.c (fts_close): Don't access memory after having it freed.
1999-01-11 20:13:43 +00:00
Ulrich Drepper 68ef28edc2 Update.
1998-01-08  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* manual/Makefile (stamp-summary): Remove space after -t option
	for compatibility with non-GNU sort programs.

1999-01-08  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* manual/search.texi (Comparison Functions): Fix compare_doubles
	example.

1999-01-07  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* Makerules (do-tests-clean): Remove reference to obsolete
	variable tests-static.
1999-01-08 08:54:53 +00:00
Ulrich Drepper fc4157daf5 Update.
* sysdeps/unix/sysv/linux/ntp_adjtime.c: Removed.  It's an alias
	for adjtimex.
	* sysdeps/unix/sysv/linux/Dist: Add ntp_gettime.c.
	* sysdeps/unix/sysv/linux/Makefile [subdir=time] (sysdep_routines):
	Remove ntp_adjtime.
	* sysdeps/unix/sysv/linux/syscalls.list: Add alias ntp_adjtime to
	adjtimex.
	* sysdeps/unix/sysv/linux/sys/timex.h: Correct prototype for
	ntp_adjtime.
1999-01-07 23:48:59 +00:00
Ulrich Drepper 6923133b10 Update.
* sysdeps/i386/i686/mempcpy.S: Fix typos.

	* sysdeps/i386/i686/strcmp.S: New file.
	* sysdeps/i386/i686/memcpy.S: New file.
1999-01-07 22:36:12 +00:00
Ulrich Drepper 7ffe2de674 Update.
* sysdeps/i386/i686/memset.S: New file.
	* sysdeps/i386/i686/bzero.S: New file.

1999-01-05  Scott Bambrough  <scottb@corelcomputer.com>
1999-01-07 17:59:28 +00:00
Ulrich Drepper 997d6467be Update.
* sysdeps/unix/sysv/linux/Makefile [subdir=time] (sysdep_routines):
	Add ntp_adjtime and ntp_gettime.
	* sysdeps/unix/sysv/linux/Versions [GLIBC_2.1]: Add ntp_adjtime and
	ntp_gettime.

1998-12-29  Ulrich Windl  <Ulrich.Windl@rz.uni-regensburg.de>

	* manual/time.texi (Precision Time): Add documentation for
	ntp_gettime and ntp_adjtime.

1998-12-28  Ulrich Windl  <Ulrich.Windl@rz.uni-regensburg.de>

	* sysdeps/unix/sysv/linux/ntp_gettime.c: Created new file

	* sysdeps/unix/sysv/linux/ntp_adjtime.c: Created new file

	* sysdeps/unix/sysv/linux/sys/timex.h (struct ntptimeval): Added.
	Add prototypes for ntp_adjtime and ntp_gettime.

1999-01-07  Ulrich Drepper  <drepper@cygnus.com>
1999-01-07 11:57:41 +00:00
Ulrich Drepper 3499233817 Update.
1999-01-07  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/i386/bits/select.h (__FD_ZERO): Remove early clobbers
	from c and D register output.

1999-01-07  Philip Blundell  <philb@gnu.org>

	* sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Fix bug in last change.

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

	* sysdeps/unix/sysv/linux/alpha/bits/types.h: Correct type for
	__fsfilcnt_t.  Patch by Bruce Elliott <bde@nwlink.com>.

1999-01-05  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* manual/conf.texi: Remove pointers from first @node.  Move old
	@node spec inside comment.
	* manual/lang.texi: Likewise.
	* manual/libc-texinfo.sh: Also find `@node.*Top' in a comment.
	* manual/stdio.texi: Fix typo.

1999-01-04  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* wcsmbs/btowc.c: Accept all values in the range [SCHAR_MIN
	.. UCHAR_MAX].  Local var buf renamed to result and its type
	changed from char[] to wchar_t to get proper alignment.

	* posix/fnmatch.c: Also cast the arguments of the other ctype
	functions to unsigned char.

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

	* Rules: Add rules for empty.{o,os,op} back.
1999-01-07 09:55:57 +00:00
Ulrich Drepper 1686c45233 Update.
* Makerules (common-mostlyclean): Add missing parentheses.
1999-01-05 16:42:23 +00:00
Ulrich Drepper 50976cad83 Update.
1999-01-05  Ulrich Drepper  <drepper@cygnus.com>

	* Rules: Add back rules for empty.o generation.
1999-01-05 16:19:50 +00:00
Ulrich Drepper 46a2401faf Update.
* Makefile (tests-clean): New target to delete test output files.
1999-01-05 15:39:03 +00:00
Ulrich Drepper 5dc230dce4 Update.
1999-01-05  Philip Blundell  <philb@gnu.org>

	* sysdeps/unix/sysv/linux/net/if_arp.h: Add new ARPHRD definitions
	from latest (2.2.0pre4) kernel.

1999-01-05 Scott Bambrough  <scottb@corelcomputer.com>

	* sysdeps/unix/sysv/linux/arm/sys/user.h : New file.  Fixes problem
	on ARM platforms with programs that include <sys/user.h> and
	<sys/ptrace.h>.  Solution suggested by Geoff Keating earlier with
	fix for same problem on the PowerPC platform.
1999-01-05 09:20:02 +00:00
Ulrich Drepper fb19a1ec9e Update.
1999-01-04  Philip Blundell  <philb@gnu.org>

	* sysdeps/unix/sysv/linux/arm/register-dump.h: Correct widths of
	register values.
	* sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: New file.

	* csu/version.c (banner): Update date.
	* elf/sprof.c: Likewise.
	* login/programs/utmpd.c: Likewise.
	* nss/getent.c: Likewise.
	* posix/getconf.c: Likewise.
	* Rules: Likewise.  Remove rules to generate obsolete empty.{c,o*}.
1999-01-04 17:21:50 +00:00
Ulrich Drepper 3c5edd4dc6 Update.
1999-01-04  Ulrich Drepper  <drepper@cygnus.com>

	* catgets/gencat.c: Update year in copyright message text.
	* db2/makedb.c: Likewise.
	* debug/catchsegv.sh: Likewise.
	* elf/ldd.bash.in: Likewise.
	* iconv/iconv_prog.c: Likewise.
	* locale/programs/locale.c: Likewise.
	* locale/programs/localedef.c: Likewise.
	* malloc/mtrace.pl: Likewise.
	* nscd/nscd.c: Likewise.

1999-01-02  Philip Blundell  <philb@gnu.org>

	* sunrpc/Makefile: Ensure that we really use the right path for cpp.

1999-01-03  Philip Blundell  <philb@gnu.org>

	* Makefile (tests-clean): New test output files.
	* Makerules (do-tests-clean): New rule to support the above.
	* Rules (subdir_testclean): Likewise.

1999-01-03  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* iconv/Makefile: Use install-others instead of explicit
	dependency on subdir_install.

1999-01-02  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* iconv/gconv_db.c (find_derivation): Release lock before
	returning.
	(__gconv_find_transform): Likewise.

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

	* inet/ether_ntoa.c (ether_ntoa): Make `asc' static since that's
	what we return.

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

	* Makerules: Remove all references to obsolete variables
	tests-static and test-srcs-static.
	* Make-dist: Likewise.
	* Rules: Likewise.  Remove rules to generate obsolete
	empty.{c,o*}.

1999-01-03  Philip Blundell  <philb@gnu.org>

	* sysdeps/unix/sysv/linux/arm/pread.c: Use the i386 implementation.
	* sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
	* sysdeps/unix/sysv/linux/arm/pwrite.c: Likewise.
	* sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
1999-01-04 12:33:59 +00:00
Andreas Schwab 259163b8b3 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Reorder expression
to avoid accessing global data in the usual case.
1998-12-28  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* sysdeps/m68k/dl-machine.h (elf_machine_rela): Reorder expression
	to avoid accessing global data in the usual case.
1999-01-04 01:36:57 +00:00
Ulrich Drepper 28e9818f04 Update.
1999-01-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* wcsmbs/wcstold_l.c: Correct last patch to include wchar.h from
	system path.
1999-01-01 08:21:03 +00:00
Ulrich Drepper 118bad87bd Update.
1998-12-31  Ulrich Drepper  <drepper@cygnus.com>

	* iconvdata/Makefile: Use rpath $ORIGIN for modules which use any of
	the conversion libraries.

	* include/features.h: Mention latest extensions in _POSIX_C_SOURCE
	description.

	* libio/genops.c (list_all_lock): New variable.
	(_IO_un_link, _IO_link_in): Acquire lock before modifying _IO_list_all.
	[PR libc/911].

	* sysdeps/i386/i686/strtok.s: Add missing cld.

	* sysdeps/i386/i686/mempcpy.S: New file.

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

	Suppress parentheses warnings:
	* sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
	(DL_FIND_ARG_COMPONENTS): here,
	* sysdeps/powerpc/dl-machine.c: here,
	* sysdeps/powerpc/fclrexcpt.c (feclearexcept): here,
	* sysdeps/powerpc/fesetround.c (fesetround): here,
	* sysdeps/powerpc/feupdateenv.c (feupdateenv): here,
	* sysdeps/powerpc/fraiseexcpt.c (feraiseexcept): here,
	* sysdeps/powerpc/fsetexcptflg.c (fesetexceptflag): here,
	* sysdeps/powerpc/s_rint.c (__rint): here,
	* sysdeps/powerpc/s_rintf.c (__rintf): here,
	* sysdeps/powerpc/w_sqrt.c (__sqrt): here,
	* sysdeps/powerpc/w_sqrtf.c (__sqrtf): and here.

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

	* wcsmbs/wcstold.c [__NO_LONG_DOUBLE_MATH]: Include wchar.h.
	* wcsmbs/wcstold_l.c [__NO_LONG_DOUBLE_MATH]: Likewise.  Also define
	appropropriate prototypes, correct procedure names.

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

	* sysdeps/generic/crypt-entry.c: Prototype __crypt_r, suppress
	warning.
	(__crypt_r): Add __restrict.
	* sysdeps/generic/crypt.h: Remove internal routine.  Add __restrict.

1998-12-31  Ulrich Drepper  <drepper@cygnus.com>

	* stdlib/longlong.h: Add missing #else in SPARC definitions.

1998-12-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	Patches by Ralf Baechle <ralf@gnu.org>:
	* sysdeps/unix/sysv/linux/mips/sgidefs.h: Removed.
	* sysdeps/unix/sysv/linux/mips/sys/asm.h:  Removed.
	* sysdeps/unix/sysv/linux/mips/sys/regdef.h:  Removed.
	* sysdeps/unix/sysv/linux/mips/sys/fpregdef.h:  Removed.
	* sysdeps/unix/sysv/linux/mips/regdef.h:  Removed.
	* sysdeps/unix/sysv/linux/mips/fpregdef.h: Removed.

	* sysdeps/unix/sysv/linux/mips/Makefile: Remove delete files.
	* sysdeps/unix/sysv/linux/mips/Dist: Remove deleted files.

	* sysdeps/mips/sys/fpregdef.h: New files, enhanced versions of deleted
	linux specific files.
	* sysdeps/mips/sys/asm.h: Likewise.
	* sysdeps/mips/sgidefs.h: Likewise.
	* sysdeps/mips/fpregdef.h: Likewise.
	* sysdeps/mips/regdef.h: Likewise.

	* sysdeps/mips/Makefile: Add new headers.
	* sysdeps/mips/Dist: Add new files.

	* sysdeps/mips/fpu_control.h (_FPU_DEFAULT): Change value.

1998-12-28  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* iconvdata/Makefile: Remove variable assignments and rules that
	are now auto-generated.  Include $(objpfx)iconv-rules instead.
	Btw, that removes a few typos.
	(charmaps): New variable.
	($(objpfx)iconv-rules): New target.
	(gen-8bit-modules): Renamed from sed-generated-headers, remove .h
	suffixes.
	(gen-8bit-gap-modules): Renamed from awk-generated-headers, remove
	.h suffixes.
	(gen-special-modules): New variable.
	(generated-modules): New variable.
	(headers): Use it.
	(before-compile): Likewise.
	(generated): Likewise, and add iconv-rules.
	* iconvdata/euc-cn.c: Renamed from euccn.c.
	* iconvdata/euc-jp.c: Renamed from eucjp.c.
	* iconvdata/euc-kr.c: Renamed from euckr.c.
	* iconvdata/euc-tw.c: Renamed from euctw.c.
	* iconvdata/iso_6937.c: Renamed from iso6937.c.
	* iconvdata/iso_6937-2.c: Renamed from iso6937-2.c.
	* iconvdata/t.61.c: Renamed from t61.c.
	* iconvdata/Makefile (distribute): Adjusted for those renames.
	Remove $(objpfx) from names.

1998-12-28  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* sysdeps/generic/hp-timing.h: Fix comment.
	* sysdeps/generic/dl-hash.h: Likewise.
	* sysdeps/i386/i686/hp-timing.h: Likewise.

1998-12-28  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* posix/fnmatch.c (fnmatch): Always pass unsigned char values to
	FOLD macro.

1998-12-28  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* nss/db-Makefile ($(VAR_DB)/shadow.db): Fix last change.

1998-12-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Sync with
	current Linux 2.1.132 kernel sources.

1998-12-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	Patches by Ralf Baechle <ralf@gnu.org> for Linux/MIPS:
	* sysdeps/unix/sysv/linux/mips/syscalls.list: Add ipc, change
	pread/pwrite and llseek calls.

	* sysdeps/unix/sysv/linux/mips/sysdep.S: New file.

1998-12-29  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>

	* malloc/thread-m.h [_LIBC] : Fix for NO_THREADS case.
1998-12-31 18:19:19 +00:00
Ulrich Drepper e4192acbca Update.
* Makefile (distribute): Add INTERFACE and CONFORMANCE.
	* elf/Makefile (distribute): Add hp-timing.h.
	* sysdeps/i386/i686/Dist: New file.
1998-12-28 21:12:35 +00:00
Ulrich Drepper 3a4aae98f0 Update.
* version.h (VERSION): Bump to 2.0.109.
1998-12-28 19:17:32 +00:00
Ulrich Drepper 548f240823 Fix typos.
Low-level, low-overhead, high-precision timing functionality.
	* sysdeps/i386/i686/dl-hash.h: New file.  Another 10% faster than
1998-12-28 19:04:11 +00:00
Ulrich Drepper edbe910117 Update.
* mach/Versions: Add mach_msg_send and mach_msg_receive.
	Patch by UCHIYAMA Yasushi <uch@nop.or.jp>.
1998-12-28 17:24:34 +00:00
Ulrich Drepper db60f6f9c5 Update.
* sysdeps/unix/sysv/linux/netipx/ipx.h (SIOCIPXNCPCONN): New macro
	from latest kernel.
1998-12-28 17:01:32 +00:00
Ulrich Drepper 76235ed48f Update.
1998-12-28  Ulrich Drepper  <drepper@cygnus.com>

	* stdlib/fpioconst.c: If __NO_LONG_DOUBLE_MATH don't define constants
	beyond range of double.
	* stdlib/fpioconst.h (_fpioconst_pow10): Reduce size according to
	fpioconst.c change.
	* stdlib/strtold.c: Fall back on double functions if
	__NO_LONG_DOUBLE_MATH.
	* stdlib/strtold_l.c: Likewise.
	* wcsmbs/wcstold.c: Likewise.
	* wcsmbs/wcstold_l.c: Likewise.
	* sysdeps/ieee754/ldbl2mpn.c: Don't generate code if
	__NO_LONG_DOUBLE_MATH.
	* sysdeps/ieee754/mpn2ldbl.c: Likewise.

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

	* sysdeps/powerpc/bits/endian.h: Use #warning, not #error, if
	the endianness can't be determined, for makedepend.
1998-12-28 14:28:07 +00:00
Ulrich Drepper db276fa11c Update.
1998-12-27  Ulrich Drepper  <drepper@cygnus.com>

	* elf/dl-lookup.c (_dl_num_relocations): New variable.
	(do_lookup): Increment _dl_num_relocations for every call.
	* elf/rtld.c (print_statistics): New function.
	(_dl_debug_statistics): New variable.  Set when statistics are asked
	for.
	(rtld_total_time, relocate_time, load_time): New variables.  Used
	in print_statistics.
	(_dl_start): Record start and end time of startup.  Call
	print_statistics if needed.
	(dk_main): Record times for relocations and loading.
	(process_dl_debug): Recognize statistics.

	Low-level, low-overhead, high-precision timing funcationality.
	* sysdeps/generic/hp-timing.h: New file.
	* sysdeps/i386/i686/Makefile: New file.
	* sysdeps/i386/i686/hp-timing.h: New file.
	* sysdeps/i386/i686/hp-timing.c: New file.

	* sysdeps/i386/dl-machine.h (elf_machine_rel): Reverse order of OR
	clauses to avoid accessing global variables during rtld relocation.

	* sunrpc/rpc_main.c: Unify messages.

	* sysdeps/unix/sysv/linux/arm/Dist: Add ioperm.c and sys/io.h.
1998-12-27 17:29:47 +00:00
Roland McGrath 47b33891c4 1998-12-27 Roland McGrath <roland@baalperazim.frob.com>
* sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
	Remove __ from member names; rename __unused to f_spare.

1998-12-21  Mark Kettenis  <kettenis@phys.uva.nl>

	Implement fstatvfs and statvfs on the Hurd.
	* sysdeps/mach/hurd/bits/statfs.h: New file.
	* sysdeps/mach/hurd/bits/statvfs.h: New file.
	* sysdeps/mach/hurd/fstatvfs.c: New file.
	* sysdeps/mach/hurd/statvfs.c: New file.

	* sysdeps/generic/fstatfs64.c: Changed into stub.
	Moved previous contents to...
	* sysdeps/unix/sysv/linux/fstatfs64.c: ...here.
	* sysdeps/generic/fstatvfs64.c: Likewise.
	* sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
	* sysdeps/generic/statfs64.c: Likewise.
	* sysdeps/unix/sysv/linux/statfs64.c: Likewise.
	* sysdeps/generic/statvfs64.c: Likewise.
	* sysdeps/unix/sysv/linux/statvfs64.c: Likewise.

1998-12-19  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* sunrpc/key_call.c (getkeyserv_handle): Use __fcntl instead of

1998-12-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* locale/weight.h (get_weight): Extract string elements as
	unsigned values.
1998-12-27 01:40:53 +00:00
Ulrich Drepper 85f72e9c2a Update.
1998-12-25  Ulrich Drepper  <drepper@cygnus.com>

	* elf/dl-hash.h: Move to...
	* sysdeps/generic/dl-hash.h: ...here.  Correct parameter type (must
	be unsigned char).  Remove conditional from inner loop and rearrange
	binary operations (12-22% performance increase).
	* sysdeps/i386/i686/dl-hash.h: New file.  Yet 10% faster than
	optimized generic version.
1998-12-26 09:30:54 +00:00
Ulrich Drepper 65c64a0b4a Update.
* elf/dl-lookup.c (do_lookup): If looking up an unversioned symbol
	but the object file only contains versioned definitions than
	accept the definition if there is exactly one even if the version
	number is not the default version.  This helps dlsym() to find
	newly introduced symbols.
1998-12-23 15:38:56 +00:00
Ulrich Drepper f1f0edfe2c Update.
1998-12-23  Ulrich Drepper  <drepper@cygnus.com>

	* locale/programs/ld-collate.c: Unify messages and correct typos.
	* locale/programs/ld-monetary.c: Likewise.
	* locale/programs/ld-numeric.c: Likewise.
	* locale/programs/ld-time.c: Likewise.
	* manual/errno.texi: Likewise.
	* nis/nis_error.c: Likewise.
	* nis/nis_print.c: Likewise.
	* nis/nss_nisplus/nisplus-publickey.c: Likewise.
	* sunrpc/rpc_main.c: Likewise.
1998-12-23 13:13:49 +00:00
Ulrich Drepper edb570bb87 Update.
1998-12-20  Philip Blundell  <philb@gnu.org>

	* sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Add
	implementation.
	* sysdeps/unix/sysv/linux/arm/syscalls.list: Remove wrappers for
	now-inlined calls.
        
1998-12-22  Philip Blundell  <pb@nexus.co.uk>

	* sysdeps/unix/sysv/linux/arm/ioperm.c: New file.
	Implementation of inb, outb etc for ARM systems.
	* sysdeps/unix/sysv/linux/arm/sys/io.h: Likewise.
	* sysdeps/unix/sysv/linux/arm/Versions: Add appropriate
	entries for the above.
1998-12-23 13:08:22 +00:00
Ulrich Drepper 361d49e6a4 Update.
* nss/db-Makefile (shadow.db): Create file with correct protections.
	Based on a patch by Joel Klecker <espy@debian.org>.
1998-12-21 12:39:47 +00:00
Ulrich Drepper d17a729b48 Update.
1998-12-21  Ulrich Drepper  <drepper@cygnus.com>

	* inet/gethstbynm_r.c: Remove NEED__RES definition since we do this
	anyway for digits_dots.c.
	* nss/getXXbyYY.c: Initialize _res before using digits_dots.c
	functions.
	* nss/getXXbyYY_r.c: Likewise.

1998-12-19  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de> 
 
	* sunrpc/key_call.c (getkeyserv_handle): Use __fcntl instead of 
	fcntl.
 
1998-12-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de> 
 
	* locale/weight.h (get_weight): Extract string elements as 
	unsigned values.
1998-12-21 12:25:07 +00:00
Roland McGrath 6ac73ea734 1998-12-06 Mark Kettenis <kettenis@phys.uva.nl>
Reverse the change of 1998-04-22.  Providing a struct dirent with
	different members when __USE_FILE_OFFSET64 is defined is asking
	for trouble.  Instead add the necessary LFS magic to the 4.4BSD
	header.
	* sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Add LFS definitions.
	* sysdeps/mach/hurd/bits/dirent.h: Removed.
	* sysdeps/mach/hurd/readdir64.c: Removed.
	* sysdeps/mach/hurd/readdir64_r.c: Removed.

	* sysdeps/generic/bits/mman.h [__USE_MISC] (MAP_ANONYMOUS): Define as
	alias for MAP_ANON.

	* stdio/stdio.h (sys_errlist, sys_nerr, _sys_errlist, _sys_nerr):
	Remove decls.  They don't exist at all on the Hurd.
1998-12-20 19:13:11 +00:00
Roland McGrath c5720a9396 1998-12-20 Roland McGrath <roland@baalperazim.frob.com>
* sunrpc/svc_unix.c, sunrpc/clnt_unix.c: Avoid using `struct cmsghdr'
	and `struct ucred' #ifndef SCM_CREDENTIALS.

	* sunrpc/publickey.c (getsecretkey): Use `&errno' instead of
	`__errno_location ()'; means the same, works for Hurd.

	* sysdeps/mach/hurd/Makefile (subdirs): Don't elide sunrpc.
1998-12-20 10:24:39 +00:00
Ulrich Drepper c730d6780f Update.
* sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Include
	features.h and stddef.h.
	* sysdeps/unix/sysv/sysv4/solaris2/bits/sigstack.h (struct
	sigaltstack): Move ss_size field at the end.
	Patches by Jeff Bailey <jbailey@nisa.net>.
1998-12-18 16:03:11 +00:00
Ulrich Drepper 51c68755af Update.
* time/getdate.c (check_mday): tm_mon contains values from 0 to 11,
	not 1 to 12.
1998-12-18 10:02:06 +00:00
Ulrich Drepper ff7059bfe8 Update.
1998-12-18  Ulrich Drepper  <drepper@cygnus.com>

	* manual/texinfo.tex: Update to latest version.

	* sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add ipc.
	* sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
	Patch by Cristian Gafton <gafton@redhat.com>.
1998-12-18 09:12:02 +00:00
Ulrich Drepper 277f73d1a3 Update.
* iconvdata/gconv-modules: Add remaining aliases from Internet
	standards.
1998-12-17 23:03:50 +00:00
Ulrich Drepper 8c4796197c Update.
* iconv/gconv_int.h (gconv_module): Add new element from_regex_mem.
	* iconv/gconv_conf.c (module_compare): Make s1 and s2 const.
	(detect_conflict): New function.
	(add_alias): Call detect_conflict to see whether there is already
	a module for the new name.
	(add_module): Make sure there is no alias for the new name.
	(read_conf_file): Call add_alias with new argument.
	(__gconv_read_conf): Don't destroy module tree immediately after
	walking it.  We need it to test the internal conversions for
	conflicts.
	* iconv/gconv_db.c (find_derivation): Don't allocate memory for
	regular expression.  There is now room in the module descriptor.
	(free_mem): Don't free memory for regular expression.
1998-12-17 20:59:54 +00:00
Ulrich Drepper c5b0e13e20 Update.
* sysdeps/unix/sysv/linux/bits/socket.h: Add AF_IRDA, PF_IRDA and
	MSG_TRYHARD.
1998-12-17 15:34:52 +00:00
Ulrich Drepper c0b50509ef Update.
* sunrpc/clnt_unix.c (clntunix_destroy): Use __close not close.
	* libio/oldtmpfile.c: Likewise.
	* libio/oldiofdopen.c: Use __fcntl instead fcntl.
	* sysdeps/posix/profil.c: Use __sigaction instead of sigaction.

	* login/login.c: Determine pts/3 as terminal name if path is
1998-12-17 13:58:32 +00:00
Ulrich Drepper 0937645101 Update.
* iconvdata/iso646.c (gconv_init): Return correct error value if we
	run out of memory.
	* iconvdata/iso-2022-jp.c: Likewise.
1998-12-17 12:10:58 +00:00
Ulrich Drepper c7ec9d75a7 Update.
* iconv/gconv_db.c (gen_steps): Respect error return value from
	init functions and abort.
1998-12-17 11:18:37 +00:00
Ulrich Drepper 4798763f3f Update.
1998-12-17  Ulrich Drepper  <drepper@cygnus.com>

	* iconvdata/iso646.c: Recognize NF_Z_62-010_1973 as charset name.

1998-12-17  H.J. Lu  <hjl@gnu.org>
1998-12-17 09:57:24 +00:00
Ulrich Drepper 536d70382d Update.
Thu Dec 17 08:53:40 1998  H.J. Lu  <hjl@gnu.org>

	* sunrpc/rpc/xdr.h (XDR_DESTROY): Add ';'.
	(xdr_destroy): Likewise.
1998-12-17 09:09:17 +00:00
Ulrich Drepper 68185625b4 update
1998-12-17  Ulrich Drepper  <drepper@cygnus.com>

	* login/login.c: Determine pts/3 and terminal name if path is
	/dev/pts/3.  This is consistent with getlogin.  [PR libc/906]
1998-12-17 07:02:26 +00:00
Ulrich Drepper 04166d6ee1 Update.
1998-12-16  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* sysdeps/posix/tempname.c (__path_search): Add casts for format
	string.

1998-12-16  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* sunrpc/rpc/xdr.h (XDR_DESTROY, xdr_destroy): Avoid dangling else
	problem.
	(IXDR_PUT_INT32): Fully parenthesize parameters.
	(IXDR_GET_LONG, IXDR_PUT_LONG): Mark GCC extension.  Fully
	parenthesize parameter.
1998-12-17 06:41:01 +00:00
Ulrich Drepper b76e5a4e6b Update.
* iconvdata/gconv-modules: Add some of the charset name aliases
	used in Internet standards.

1998-12-16  Ulrich Drepper  <drepper@cygnus.com>
1998-12-16 17:53:14 +00:00
Ulrich Drepper 133d3d3048 Update.
1998-12-16  Ulrich Drepper  <drepper@cygnus.com>

	* version.h (VERSION): Bump to 2.0.107.

	* sysdeps/i386/i486/bits/string.h: Pretty printing.
1998-12-16 14:31:03 +00:00
Ulrich Drepper d8a167a5e5 Update.
1998-12-16  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>

	* sunrpc/rpc/xdr.h: Revert patch from 1998-12-14, partly revert
	patch from 1998-12-01.
1998-12-16 11:10:36 +00:00
Roland McGrath d735bcf464 1998-12-16 Roland McGrath <roland@baalperazim.frob.com>
* sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Define this #ifdef
	__USE_BSD as well as #ifdef __USE_GNU, so MAXSYMLINKS can use it.
	Reported by UCHIYAMA Yasushi <uch@nop.or.jp>

1998-12-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Don't change
	read-only struct termios_p* but change k_termios member directly.
1998-12-16 10:15:27 +00:00
Ulrich Drepper 88fd983034 Update.
1998-12-16  Ulrich Drepper  <drepper@cygnus.com>

	* iconvdata/ibm866.c: New file.
	* iconvdata/cp1258.c: New file.
	* iconvdata/cp1258.h: New file.
	* iconvdata/mac-uk.c: New file.
	* iconvdata/gconv-modules: Add rules for new modules.
	* iconvdata/Makefile: Likewise.

	* sysdeps/gnu/bits/ipc.h: Move libc internal bits to...
	* include/bits/ipc.h: ..here.  New file.

1998-12-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de> 
 
	* sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Don't change 
	read-only struct termios_p* but change k_termios member directly.
1998-12-16 08:28:16 +00:00
Ulrich Drepper a3fc1f7195 Update.
1998-12-15  H.J. Lu  <hjl@gnu.org>

	* sysdeps/posix/tempname.c (__path_search): Fix the maximum
	string length.
1998-12-15 16:56:25 +00:00
Ulrich Drepper e9dcb08080 Update.
* sysdeps/unix/sysv/linux/msgctl.c: Use INLINE_SYSCALL.
	* sysdeps/unix/sysv/linux/msgget.c: Likewise.
	* sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
	* sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
	* sysdeps/unix/sysv/linux/semctl.c: Likewise.
	* sysdeps/unix/sysv/linux/semget.c: Likewise.
	* sysdeps/unix/sysv/linux/semop.c: Likewise.
	* sysdeps/unix/sysv/linux/shmat.c: Likewise.
	* sysdeps/unix/sysv/linux/shmctl.c: Likewise.
	* sysdeps/unix/sysv/linux/shmdt.c: Likewise.
	* sysdeps/unix/sysv/linux/shmget.c: Likewise.
	* sysdeps/unix/sysv/linux/syscalls.list: Remove ipc syscall here.
	* sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add ipc syscall here.

	* time/strftime.c: Remove 'f' format.

	* time/strptime.c (get_number): Ignore trailing whitespace.
	(strptime_internal): Handle 'F' and 'k' formats.
1998-12-15 16:47:38 +00:00
Ulrich Drepper 5a7cb1a2c7 Update.
1998-12-15  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/posix/tempname.c (__path_search): Add second part of the
	patch by Andreas Jaeger.

1998-12-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* stdio-common/tst-tmpnam.c (main): Use void as parameter to avoid
	warnings about unused args.  Fix comment.

1998-12-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* sysdeps/posix/tempname.c (__path_search): Correct last patch.

1998-12-08  H.J. Lu  <hjl@gnu.org>

	* sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Don't clear
	the IBAUD0 bit in c_iflag.

	* sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Clear the
	the IBAUD0 bit in c_iflag.
1998-12-15 09:31:30 +00:00
Ulrich Drepper b61af6fc2e Update.
1998-12-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de> 
 
	* stdio-common/tst-tmpnam.c (main): Use void as parameter to avoid  
	warnings about unused args.  Fix comment. 
 
1998-12-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de> 
 
	* sysdeps/posix/tempname.c (__path_search): Correct last patch.
1998-12-15 00:02:24 +00:00
Ulrich Drepper 181a8546c8 Update.
Patch by Bruce Elliott <bde@nwlink.com>.
1998-12-14 22:02:37 +00:00
Ulrich Drepper c870d249d2 Update.
1998-12-14  Ulrich Drepper  <drepper@cygnus.com>

	* sunrpc/rpc/xdr.h (IXDR_GET_INT32): Case pointer before reading from
	it.
	(IXDR_PUT_INT32): Likewise for writing.
1998-12-14 21:59:20 +00:00
Ulrich Drepper af6c1b27ac Update.
1998-12-08  H.J. Lu  <hjl@gnu.org> 
 
	* sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Don't clear 
	the IBAUD0 bit in c_iflag. 
 
	* sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Clear the 
	the IBAUD0 bit in c_iflag.
1998-12-14 21:48:11 +00:00
Ulrich Drepper 6269e52119 Update.
* time/Makefile (tests): Add tst-strptime.
	* time/tst-strptime.c: New file.
	* time/strptime.c: Correct bugs in weekday and yearday computation.

1998-12-14  Ulrich Drepper  <drepper@cygnus.com>
1998-12-14 21:27:19 +00:00
Ulrich Drepper c2cfb5126b Update.
* time/strptime.c (strptime_internal): Set tm_wday and tm_yday in
	any of tm_year, tm_mon, or tm_mday was changed and the value
	itself wasn't specified.
1998-12-14 19:08:03 +00:00
Ulrich Drepper 60876a7544 Update.
* include/stdio.h: Add new parameter to __path_search.
	* libio/oldtmpfile.c: Add 0 as new parameter to __path_search.
	* stdio-common/tmpfile.c: Likewise.
	* stdio-common/tmpfile64.c: Likewise.
	* stdio-common/tmpnam.c: Likewise.
	* stdio-common/tmpnam_r.c: Likewise.
	* stdio-common/tempnam.c: Add 1 as new parameter to __path_search.
	* sysdeps/posix/tempname.c: Add new parameter.  If value is nonzero
	consider TMPDIR environment variable and dir parameter.  Otherwise not.
	* stdio-common/Makefile (tests): Add tst-tmpnam.
	* stdio-common/tst-tmpnam.c: New file.
1998-12-14 15:23:56 +00:00
Ulrich Drepper 59036602bf Update.
1998-12-14  Ulrich Drepper  <drepper@cygnus.com>

	* po/es.po: Update from translation team.
1998-12-14 12:03:13 +00:00
Ulrich Drepper 4260bc7454 Update.
1998-12-12  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
	* timezone/Makefile: Protect inclusion of z.* by avoid-generated
	and inhibit_timezone_rules instead of no_deps.
	* Make-dist: Pass inhibit_timezone_rules=t when making
	echo-distinfo.
 
1998-12-12  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
 
	* manual/Makefile (distribute): Remove dir-add.texinfo.
 
	* sysdeps/unix/sysv/linux/powerpc/Dist: Add sys/procfs.h and
	sys/user.h.
 
1998-12-11  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
 
	* manual/Makefile (stamp-summary): Use ^L as separator for
	sorting.
	* manual/arith.texi: Add comments before all @deffoox lines to get
	them added to the summary.
	* manual/creature.texi: Likewise.
	* manual/math.texi: Likewise.
 
1998-12-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
 
	* math/libm-test.c: Remove macro ISINF.  Change all usages of
	ISINF to isinf.
1998-12-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
	* sysdeps/alpha/fpu/fsetexcptflg.c: Avoid -Wparentheses warning.
	* sysdeps/libm-ieee754/s_expm1.c (__expm1): Avoid -Wparentheses
	warning.
	* sysdeps/libm-ieee754/s_log1p.c (__log1p): Likewise.
	* sysdeps/libm-ieee754/e_logf.c (__ieee754_logf): Likewise.
	* sysdeps/libm-ieee754/s_expm1f.c (__expm1f): Likewise.
	* sysdeps/libm-ieee754/e_log.c (__ieee754_log): Likewise.
	* sysdeps/libm-ieee754/s_log1pf.c (__log1pf): Likewise.

1998-12-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
	* sunrpc/svc_udp.c (svcudp_bufcreate): Declare len as socklen_t.
	(svcudp_recv): Likewise.
1998-12-13  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
	* nis/nss-nisplus.h: Change some mappings of NIS+ errors to
	NSS error codes to avoid endless loops.
1998-12-12  Geoff Keating  <geoffk@ozemail.com.au>
	* posix/fnmatch.c (fnmatch): Arguments to FOLD must not have
	side-effects.
1998-12-14 09:14:02 +00:00
Ulrich Drepper 763babf874 Update.
1998-12-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de> 
 
	* math/libm-test.c: Remove macro ISINF.  Change all usages of 
	ISINF to isinf.
1998-12-13 15:01:50 +00:00
Ulrich Drepper a3f4b50b6a Update.
* stdlib/test-canon.c: Define PATH_MAX if the system does not.
	* string/stratcliff.c: Use MAP_ANON instead of MAP_ANONYMOUS.
	Patch by UCHIYAMA Yasushi <uch@nop.or.jp>.
1998-12-13 14:58:26 +00:00
Ulrich Drepper 550be6cdb0 Update.
1998-12-13  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/posix/tempname.c: Use __xstat instead of __stat.
	* sysdeps/unix/grantpt.c: Likewise.
	* sysdeps/unix/sysv/linux/ptsname.c: Likewise.
	* sysvipc/ftok.c: Likewise.
	Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
1998-12-13 14:52:55 +00:00
Ulrich Drepper 3bb266e010 Update.
* sysdeps/alpha/fpu/fsetexcptflg.c: Avoid -Wparentheses warning. 
 
	* sysdeps/libm-ieee754/s_expm1.c (__expm1): Avoid -Wparentheses 
	warning. 
	* sysdeps/libm-ieee754/s_log1p.c (__log1p): Likewise. 
	* sysdeps/libm-ieee754/e_logf.c (__ieee754_logf): Likewise. 
	* sysdeps/libm-ieee754/s_expm1f.c (__expm1f): Likewise. 
	* sysdeps/libm-ieee754/e_log.c (__ieee754_log): Likewise. 
	* sysdeps/libm-ieee754/s_log1pf.c (__log1pf): Likewise. 

1998-12-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1998-12-13 12:14:18 +00:00
Ulrich Drepper 70b0abbaa2 Update.
1998-12-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de> 
 
	* sunrpc/svc_udp.c (svcudp_bufcreate): Declare len as socklen_t. 
	(svcudp_recv): Likewise. 
 
1998-12-13  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de> 
 
	* nis/nss-nisplus.h: Change some mappings of NIS+ errors to 
	NSS error codes to avoid endless loops. 
 
1998-12-13  Ulrich Drepper  <drepper@cygnus.com>

	* iconvdata/gconv-modules: Correct aliases for ISO-8859-13 and add
	aliases for ISO-8859-14.
1998-12-13 11:05:07 +00:00
Ulrich Drepper 9fc19e48b5 Update.
1998-12-12  Geoff Keating  <geoffk@ozemail.com.au> 
 
	* posix/fnmatch.c (fnmatch): Arguments to FOLD must not have 
	side-effects.
1998-12-12 22:10:30 +00:00
Ulrich Drepper c090aa1511 Update.
* iconvdata/iso-8859-11.h: ISO 8859-11 conversion data.
	* iconvdata/iso-8859-11.c: ISO 8859-11 conversion module.
	* iconvdata/iso-8859-13.c: Likewise for 8859-13.
	* iconvdata/iso-8859-14.c: Likewise for 8859-14.
	* iconvdata/iso-8859-15.c: Likewise for 8859-15.
	* iconvdata/gconv-modules: Add rules for new modules.
	* iconvdata/Makefile: Likewise.

1998-12-12  Ulrich Drepper  <drepper@cygnus.com>
1998-12-12 21:48:52 +00:00
Ulrich Drepper f98b4bbd11 Update.
1998-12-12  Ulrich Drepper  <drepper@cygnus.com>

	* stdio-common/printf_fp.c: #ifdef out long double handling code if
	__NO_LONG_DOUBLE_MATH is defined to avoid warnings.
	* stdio-common/printf_fphex.c: Likewise.
	* stdio-common/printf-size.c: Likewise.

1998-12-12  Ulrich Drepper  <drepper@cygnus.com>

	* login/Makefile: Install pt_chown using INSTALL_PROGRAM.
	Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.

	Patchess by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
1998-12-12 17:15:19 +00:00
Ulrich Drepper c2a329735e Update.
* sysdeps/powerpc/dl-machine.h (elf_machine_matches_host): Mark
	static inline, not extern inline.
	(elf_machine_dynamic): Likewise.
	(elf_machine_lazy_rel): Likewise.
	(elf_machine_plt_value): Likewise.
	* sysdeps/powerpc/backtrace.c: Include stddef.h to get NULL
	definition.
	Patches by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
1998-12-11 15:32:09 +00:00
Ulrich Drepper 486fa0b7d4 Update.
* sysdeps/mips/dl-machine.h (elf_machine_rel): Fixl_addr parameter
	type.  Reported by job bogan <job@piquin.uchicago.edu>.
1998-12-11 15:27:39 +00:00
Ulrich Drepper bc15f0f814 Update.
1998-12-11  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/unix/opendir.c (__opendir): Use __xstat instead of
	__stat.
1998-12-11 15:26:32 +00:00
Ulrich Drepper 724049ba8b Update.
1998-12-11  Kunihiro Ishiguro  <kunihiro@zebra.org>

	* inet/netinet/in.h: Change obsolete structure member
	ipv6mr_ifindex to new ipv6mr_interface.
1998-12-11 15:11:44 +00:00
Ulrich Drepper 981993e1b6 Update.
1998-12-11  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/ieee754/dbl2mpn.c: Changed '#include "ieee754.h"' to
	'#include <ieee754.h>'.  ARM port has its own version of 'ieee754.h'
	due to its big endian floating point format.
	* sysdeps/ieee754/ldbl2mpn.c: Likewise.
	* sysdeps/ieee754/mpn2dbl.c: Likewise.
	* sysdeps/ieee754/mpn2ldbl.c: Likewise.
	* sysdeps/ieee754/mpn2flt.c: Likewise.
	Patch by Scott Bambrough <scottb@corelcomputer.com>.
1998-12-11 13:08:51 +00:00
Ulrich Drepper a6e3a56af6 Update.
* sysdeps/unix/sysv/linux/adjtime.c: Undo last change.
1998-12-10 19:09:07 +00:00
Ulrich Drepper f2bbe1fda2 Update.
* po/fr.po: Likewise.
1998-12-10 17:23:16 +00:00
Ulrich Drepper adc9be5c3d Update.
* po/es.po: Update from translation team.
1998-12-10 13:25:03 +00:00
Ulrich Drepper 631f2dd02e Update.
1998-12-10  Ulrich Drepper  <drepper@cygnus.com>

	* posix/PTESTS: Fix typo.

	* nis/nss_compat/compat-pwd.c: Fix handling of +/- entries.
1998-12-10 11:53:03 +00:00
Ulrich Drepper 04c216a860 Update.
1998-12-10  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>

	* nis/nss_compat/compat-pwd.c: fix handling of +/- entries.
1998-12-10 11:39:40 +00:00
Ulrich Drepper 38e1109681 Update.
1998-12-10  Ulrich Drepper  <drepper@cygnus.com>

	* sunrpc/Makefile: Call rpcgen program which -Y parameter so that
	it can find the preprocessor.
1998-12-10 10:19:59 +00:00
Ulrich Drepper 648c133790 Update.
1998-12-09  Geoff Keating  <geoffk@ozemail.com.au>

	* sysdeps/unix/sysv/linux/sys/procfs.h: Use sys/user.h not
	asm/user.h.
	* sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.

	* sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: New file,
	like linux/sys/procfs.h but uses uid_t and gid_t.
	* sysdeps/unix/sysv/linux/powerpc/sys/user.h: New file,
	don't include <linux/ptrace.h>.

1998-12-08  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* posix/runptests.c (main): Check that regcomp did not succeed
	unexpectedly.
	* posix/runtests.c (run_a_test): Likewise.  Return appropriate
	exit code.
	* posix/TESTS: Regexp "a[b-a]" should not compile.
	* posix/PTESTS: Comment out bogus tests GA113(2), GA145(2) and
	GA147(2).

1998-12-09  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* locale/programs/ld-ctype.c (allocate_arrays): Don't crash if
	there is no codeset name.
	* locale/programs/ld-collate.c (collate_output): Don't crash if a
	character has no weight.
1998-12-10 10:00:31 +00:00
Ulrich Drepper b77e6cd621 Update.
1998-12-10  Ulrich Drepper  <drepper@cygnus.com>

	* inet/getnetgrent_r.c (innetgr): Check host and domain name with
	strcasecmp, not strcmp.  [PR libc/894].

1998-12-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* posix/regex.h: Declare re_comp, re_exec if compiling for libc to
	get prototypes.

	* wctype/wctype.h: Add prototypes for __iswblank_l and iswblank.

1998-12-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* sysdeps/unix/sysv/linux/gethostid.c: Include <netdb.h> to get
	prototype for __gethostbyname_r.

	* include/time.h: Add declarations of internal interfaces.

	* time/tzset.c: Remove declarations of internal interfaces.
	* time/gmtime.c: Likewise.
	* time/localtime.c: Likewise.
	* time/offtime.c: Likewise.
	* time/tzfile.c: Likewise.
1998-12-10 09:47:59 +00:00
Ulrich Drepper c3c95a7b02 Update.
1998-12-01 09:47 -0500  Zack Weinberg  <zack@rabi.phys.columbia.edu>

	* sysdeps/unix/sysv/linux/sys/timex.h: Copy out
	user-space-relevant definitions from linux/timex.h of kernel
	2.1.130 and remove include of kernel header.

	* sysdeps/unix/sysv/linux/adjtime.c: Remove portability crud.
1998-12-08 13:31:40 +00:00
Ulrich Drepper 5c2a0669c1 Update.
1998-12-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* posix/regex.c: Get regex.h from system path, not from local
	directory.

	* posix/regex.h: Move internal interfaces to ...
	* include/regex.h: ...here.

	* posix/unistd.h: Move internal interfaces to ...
	* include/unistd.h: ...here.

	* math/math.h: Move internal interfaces to ...
	* include/math.h: ...here.

	* posix/glob.h: Move internal interfaces to ...
	* include/glob.h: ...here.

	* string/string.h: Move internal interfaces to ...
	* include/string.h: ...here.

	* time/sys/time.h: Move internal interfaces to ...
	* include/sys/time.h: ...here.

	* resolv/netdb.h: Move internal interfaces to ...
	* include/netdb.h: ...here.

1998-12-08  Ulrich Drepper  <drepper@cygnus.com>

	* iconvdata/eucjp.c: Handle Yen in overscore conversion from ISO 10646
	correctly.
	* iconvdata/iso-2022-jp.c: Handle Kana in 2022-JP2 correctly
	Fix various bugs in conversion routine.
	* iconvdata/jis0201.h: Correct variable name.
	* iconvdata/jis0208.c: Correct script to generate tables and regenerate
	them.
	* iconvdata/jis0208.h: Likewise.
	* iconvdata/jis0212.c: Likewise.
	* iconvdata/sjis.c: Likewise.
	Patch by HANATAKA Shinya <hanataka@abyss.rim.or.jp>.
1998-12-08 13:12:47 +00:00
Ulrich Drepper b38bb8ca8c Update.
* configure.in: Disable --disable-static.
1998-12-07 16:35:21 +00:00
Ulrich Drepper a94b2ac0aa Update.
* sysdeps/unix/sysv/linux/speed.c (IBAUD0): New definition.  Bit
	set in c_iflag if cfsetispeed is call with SPEED set to zero.
	(cfgetispeed): Return zero if prior if IBAUD0 is set.
	(cfsetospeed): Clear IBAUD0 bit.
	(cfgetispeed): Set IBAUD0 bit if necessary.
	* sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Clear
	the IBAUD0 bit in c_iflag when making the system call.
	Work around a Linux kernel bug which silently changes the
	PARENB/CREAD/CSIZE bits in c_cflag on pty.
	Based on a patch by H.J. Lu <hjl@gnu.org>.
	* Makeconfig (link-libc-static): Don't use link-libc since this
	includes the shared object.  Use gnulib only.
1998-12-07 16:14:02 +00:00
Ulrich Drepper 5470bc9f78 Update.
1998-12-07  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/unix/sysv/linux/speed.c (cfsetispeed): Make a real
	function.  Don't set speed is SPEED parameter is zero since this
	means set it to the output speed.

	* version.h (VERSION): Bump to 2.0.106.

1998-12-07 12:06  Ulrich Drepper  <drepper@cygnus.com>

	* po/de.po: Update from translation team.
	* po/ko.po: Likewise.

1998-12-07  Richard Henderson  <rth@cygnus.com>

	* sysdeps/unix/sysv/linux/alpha/select.S: Save a4 through
	both paths.
1998-12-07 13:36:03 +00:00
Roland McGrath 0d3eb016d6 1998-12-05 Roland McGrath <roland@baalperazim.frob.com>
* sysdeps/mach/hurd/pselect.c: New file.

	* sysdeps/mach/hurd/poll.c: New file.

	* hurd/Makefile (routines): Add hurdselect.
	* hurd/hurdselect.c: New file.
	(_hurd_select): New function, guts taken from ...
	* sysdeps/mach/hurd/select.c (__select): ... here.
	Now work by just calling _hurd_select.
	* hurd/hurd/fd.h: Declare _hurd_select.

1998-12-05  Roland McGrath  <roland@baalperazim.frob.com>

	* time/strptime.c: Fix unterminated comment in last change.

	* argp/argp.h: Add __restrict.
1998-12-06 00:44:12 +00:00
Ulrich Drepper 6685edd3c6 Update.
* ctype/ctype.h (_ISbit): Protect use of parameter with
	* wctype/wctype.h (_ISwbit): Likewise.
1998-12-05 20:43:57 +00:00
Ulrich Drepper 9c8cfaf543 Update.
* wctype/wctype.h (_ISwbit): Protext use of parameter with
	parentheses.
1998-12-05 20:35:42 +00:00
Ulrich Drepper 83ce8c1485 Update.
* locale/Versions: Make experimental locale interface available in
	GLIBC_2.1.
1998-12-05 17:25:56 +00:00
Ulrich Drepper 69c7e1ddd5 Update.
* sysdeps/gnu/bits/utmp.h (struct exit_status): Define members
	* sysdeps/gnu/bits/utmpx.h (struct __exit_status): Likewise.
1998-12-05 09:18:32 +00:00
Ulrich Drepper 31604a65d1 Update.
1998-12-05  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/gnu/bits/utmp.h: Rename struct exit_status to
	__exit_status.
	(struct __exit_status): Define members without leading __ only for
	__USE_GNU.

	* sysdeps/gnu/bits/utmpx.h (struct __exit_status): Define members
	without leading __ only for __USE_GNU.
1998-12-05 09:12:01 +00:00
Ulrich Drepper a6ff34d7b0 Update.
1998-12-04  Ulrich Drepper  <drepper@cygnus.com>

	* argp/argp.h: Add __retrict.
	* dirent/dirent.h: Likewise.
	* elf/dlfcn.h: Likewise.
	* grp/grp.h: Likewise.
	* iconv/iconv.h: Likewise.
	* inet/aliases.h: Likewise.
	* libio/libio.h: Likewise.
	* libio/stdio.h: Likewise.
	* locale/locale.h: Likewise.
	* misc/mntent.h: Likewise.
	* posix/wordexp.h: Likewise.
	* pwd/pwd.h: Likewise.
	* resolv/netdb.h: Likewise.
	* rt/aio.h: Likewise.
	* stdio-common/printf.h: Likewise.
	* stdlib/monetary.h: Likewise.
	* stdlib/stdlib.h: Likewise.
	* string/argz.h: Likewise.
	* string/envz.h: Likewise.
	* string/string.h: Likewise.
	* time/time.h: Likewise.

1998-12-04  Zack Weinberg  <zack@rabi.phys.columbia.edu>

	* misc/sys/cdefs.h: Only include features.h if _FEATURES_H isn't
	defined.  gcc's redundant include optimizer isn't clever enough to
	prevent a reinclusion here.
	Define __restrict to the empty string only if not GCC or
	GCC version less than 2.92.

1998-12-03  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* sysdeps/unix/sysv/linux/configure.in: Fix last change.

1998-12-03  Mark Kettenis  <kettenis@phys.uva.nl>

	* time/strptime.c (strptime_internal): Make use of `%C' format
	specifier if it is seen together with the `%y' specifier.

1998-12-04  Ulrich Drepper  <drepper@cygnus.com>

	* po/sk.po: New file.

1998-12-03  Scott Bambrough  <scottb@corelcomputer.com>

	* sysdeps/arm/dl-machine.h (dl_start_user): Incorrect address
	for _dl_main_searchlist passed to _dl_init_next.

1998-12-02  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* math/libm-test.c: Expand literal tabs in strings.  Normalize
	whitespace.

1998-12-02  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* sysdeps/unix/sysv/linux/sys/fsuid.h: Fix spelling.
1998-12-04 20:58:15 +00:00
Roland McGrath aab217f3ee 1998-12-04 Mark Kettenis <kettenis@phys.uva.nl>
Provide backwards binary compatibility for the Hurd.
	* hurd/geteuids.c [PIC && DO_VERSIONING]: Make __getuids a weak
	alias for geteuids.
	* hurd/Versions [GLIBC_2.0]: Add __getuids,
	__hurd_file_name_lookup and _hurd_umask.
	[GLIBC_2.1]: Add _hurd_proc_init.
	* hurd/Makefile [versioning] (routines): Add compat-20.
	(shared-only-routines): Likewise.
	* hurd/hurdinit.c (_hurd_new_proc_init): Renamed from
	_hurd_proc_init.  Use it as the default _hurd_proc_init version
	for GLIBC_2.1.
	* hurd/compat-20.c: New file.
	* mach/Versions [GLIBC_2.0]: Add __vm_allocate.
1998-12-04 13:47:40 +00:00
Roland McGrath c31fd66e4c 1998-12-03 Mark Kettenis <kettenis@phys.uva.nl>
* hurd/Versions [GLIBC_2.1]: Add _hurd_proc_init.

	* hurd/Versions: Move geteuids and seteuids from GLIBC_2.0 to
	GLIBC_2.1.
1998-12-03 23:55:48 +00:00
Ulrich Drepper eeabe8776d Update.
1998-12-02  Ulrich Drepper  <drepper@cygnus.com>

	* elf/elf.h: Add R_MIPS_JALR and adjust R_MIPS_NUM appropriately.

1998-12-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* inet/Versions: Remove inet6_isipv4mapped.

1998-12-02  Philip Blundell  <pb@nexus.co.uk>

	* inet/in6_addr.c (inet6_isipv4mapped): Obsolete, deleted.

1998-11-30  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* manual/time.texi (Formatting Date and Time): Fix typo.

1998-11-30  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* sysdeps/unix/sysv/linux/configure.in: Only check for symlinks
	when configuring natively.  Use autoconf macros instead of rolling
	our own.  Handle defaulted prefix.
1998-12-02 13:44:40 +00:00
Ulrich Drepper 19c6b9c8ab Update.
1998-12-01  Ulrich Drepper  <drepper@cygnus.com>

	* version.h (VERSION): Bump to 2.0.105.

	* sysdeps/generic/Dist: Add bits/libc-tsd.h.

	* sysdeps/mach/hurd/Dist: Add bits/libc-tsd.h.

	* sysdeps/unix/sysv/linux/mips/Dist: Add xstatconv.c.
1998-12-01 20:53:27 +00:00
Ulrich Drepper 628a0aa152 Update.
1998-11-29 1998  H.J. Lu  <hjl@gnu.org>

	* libio/genops.c (_IO_unbuffer_write): Renamed from
	_IO_unbuffer_all.
	(_IO_cleanup): Call _IO_unbuffer_write instead of
	_IO_unbuffer_all.

1998-12-01  Ulrich Drepper  <drepper@cygnus.com>

	* intl/localealias.c: Use *_unlocked version of stdio function if
	_LIBC_REENTRANT is defined, not _LIBC.

1998-12-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* include/grp.h: Add prototypes for internal functions
	__getgrgid_r and __getgrnam_r.

	* inet/herrno.c: Include <netdb.h> for prototype, undef h_errno.

	* resolv/nsap_addr.c: Include <arpa/inet.h> for inet_nsap_addr and
	inet_nsap_ntoa prototypes.

	* sysdeps/unix/sysv/linux/Makefile (syscall-%.h): Pass -I option
	to gcc to have it find the correct system header.
	Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.

	Reported by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
1998-12-01 19:35:00 +00:00
Ulrich Drepper 6259535174 Update.
1998-12-01  Ulrich Drepper  <drepper@cygnus.com>

	* Makefile (postclean): Add sysd-sorted.
1998-12-01 16:11:17 +00:00
Ulrich Drepper ee586e0ec4 Update.
1998-12-01  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>

	* sunrpc/auth_des.c: Use new XDR int32 functions for integers.
	* sunrpc/rpc/xdr.h: Add IXDR INT32 functions.
	* sunrpc/rpc_hout.c: Remove (u_long) casts in defines to avoid
	conflicts with new solaris version.
	* sunrpc/rpc_main.c: Fix bug in generating Makefile name (malloc
	doesn't zero allocated memory).
	* sunrpc/rpc_svcout.c: Local variables now starts with a _ to avoid
	conflicts with xdr functions.  Solves PR libc/877.
	* nis/rpcsvc/nis.x: Use always uint32_t.
	* nis/rpcsvc/nis.h: Likewise.
	* nis/rpcsvc/nis_object.x: Likewise.

1998-12-01  Ulrich Drepper  <drepper@cygnus.com>

	* math/libm-test.c: Various cleanups.  Patch by Zack Weinberg.

	* sysdeps/unix/sysv/linux/alpha/setfpucw.c: Use correct type for
	parameter.  Patch by Christian Gafton.

	* string/envz.h: Add prototype for envz_remove.
	Reported by Andreas Jaeger.
1998-12-01 11:25:26 +00:00
Roland McGrath 42ee0538b8 1998-11-30 Mark Kettenis <kettenis@phys.uva.nl>
* mach/Versions [libc, GLIBC_2.0]: Add __spin_lock,
	__spin_lock_init,  __mutex_lock, __mutex_trylock,
	__mutex_unlock.
	Remove get_priviliged_ports.  Moved to hurd/Versions.

	* hurd/Versions [libc, GLIBC_2.0]: Add _end.  This makes the Hurd
	brk implementation see the end of the data segment of the program
	instead of the shared library.
	Add __hurd_errno_location.  This inline function is used in user
	programs.
	Add _hurd_critical_section_lock, _hurd_critical_section_unlock,
	_hurd_fd_get, _hurd_port_free, _hurd_port_get,
	_hurd_port_locked_get.  These inline functions are used by macros
	used in mail.local in the Hurd distribution.
	Add get_privileged_ports.  Moved here from mach/Versions.
	Remove __hurd_file_name_lookup,	__hurd_file_name_lookup_retry,
	__hurd_file_name_split, __hurd_file_name_path_lookup.  These are
	not used outside libc.

1998-11-30  Mark Kettenis  <kettenis@phys.uva.nl>

	* hurd/hurdstartup.c: Really include set-hooks.h with <> instead
	of "".
1998-11-30 18:45:57 +00:00
Ulrich Drepper 5713a71e1a Update.
1998-11-29  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>

	* sunrpc/Makefile: Add xdr_intXX_t to routines.
	* sunrpc/Versions: Add xdr_int8_t, xdr_uint8_t, xdr_in16_t and
	  xdr_uint16_t.
	* sunrpc/rpc/xdr.h: Add prototypes for new xdr_intXX_t functions.
	* sunrpc/xdr.c: Remove xdr_int32_t and xdr_uint32_t.
	* sunrpc/xdr_intXX_t.c: New, contains all xdr_intXX_t functions.

	* nis/Depend: New.
	* nis/nss_nis/nis-service.c: Include generated prototype for parser.
1998-11-30 16:42:19 +00:00
Ulrich Drepper 348ed5157b Update.
1998-11-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* nscd/nscd_getpw_r.c: Include nscd_proto.h for prototypes.

	* sysdeps/generic/errno-loc.c: Include <errno.h> for prototype,
	undefine errno to get variable.

	* sysdeps/unix/sysv/linux/i386/setfsuid.c: Include <sys/fsuid.h>
	instead of <unistd.h> for prototype.
	* sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.

1998-11-30  Ulrich Drepper  <drepper@cygnus.com>

	* misc/err.h: Correct comments and use protected attribute keywords.
	Reported by Joseph Myers <jsm28@cam.ac.uk>.

1998-11-29  Roland McGrath  <roland@baalperazim.frob.com>

	* malloc/thread-m.h [_LIBC]: Include <bits/libc-tsd.h>, and
	remove tsd stuff from pthreads/cthreads libc sections.
	Use __libc_tsd_define for MALLOC key.
	[_LIBC] (tsd_key_t, tsd_key_create): Define to a zero-size type and a
	no-op, respectively.
	[_LIBC] (tsd_setspecific, tsd_getspecific): Use __libc_tsd_get/set.

	* elf/dl-error.c: Include <bits/libc-tsd.h>.
	Use __libc_tsd_define for DL_ERROR key.
	(tsd_setspecific, tsd_getspecific): Rewritten using __libc_tsd_get/set.

	* sysdeps/mach/hurd/bits/libc-tsd.h: New file.
	* sysdeps/generic/bits/libc-tsd.h: New file.
	* Makefile (distribute): Add bits/libc-tsd.h.

1998-10-12  Roland McGrath  <roland@baalperazim.frob.com>

	* elf/dl-error.c: Remove kludge to check for ld.so load address.
	There is no need if weak undefined symbols are not used in ld.so;
	see linuxthreads/ChangeLog for changes to files
	linuxthreads/sysdeps/pthread/bits/libc-lock.h and
	linuxthreads/sysdeps/pthread/bits/libc-tsd.h.

1998-11-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* sysdeps/i386/bits/string.h (__memset_cc): Fix typo (s->__s).

	* sysdeps/i386/i486/bits/string.h: Add prototypes for all new
	inline functions.
	* sysdeps/i386/bits/string.h: Likewise.

1998-11-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Remove ipc_kludge.

1998-11-30  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* db2/progs/db_load/db_load.c (main): Avoid -Wparentheses warning.
1998-11-30 14:21:53 +00:00
Roland McGrath 3dc9c97969 * sysdeps/mach/hurd/dl-sysdep.c: Do not define
__hurd_threadvar_max.  Add comment explaining why we define
	__hurd_threadvar_stack_offset and __hurd_threadvar_stack_mask here.

1998-07-29  Mark Kettenis  <kettenis@phys.uva.nl>

	* sysdeps/mach/hurd/dl-sysdep.c (__hurd_sigthread_stack_base,
	__hurd_sigthread_stack_end, __hurd_sigthread_variables): Define to
	prevent inclusion of Hurd signal handling code.
	(__libc_write): New function.
	(_dl_sysdep_output): Removed.  The implementation in
	`elf/dl-misc.c' now also works for the Hurd.

1998-09-12  Mark Kettenis  <kettenis@phys.uva.nl>
1998-11-29 16:32:43 +00:00
Roland McGrath f69139ec74 1998-09-12 Mark Kettenis <kettenis@phys.uva.nl>
* hurd/hurdstartup.c: Do not include hurdmalloc.h; _hurd_startup
	does not use any of malloc/realloc/free anymore.  Include
	set-hooks.h with <> instead of "".
1998-11-29 16:07:30 +00:00
Roland McGrath 0c4db20b35 1998-11-29 Roland McGrath <roland@baalperazim.frob.com>
* sunrpc/svc_unix.c (__msgread): Move ON local var inside block
	within #ifdef SO_PASSCRED.  Avoids unused var when no SO_PASSCRED.
	* sunrpc/clnt_unix.c (__msgread): Likewise.
1998-11-29 11:20:24 +00:00
Roland McGrath cbef623541 1998-11-28 Roland McGrath <roland@baalperazim.frob.com>
* hurd/setuids.c: Renamed to ...
	* hurd/seteuids.c: this.
	(setuids): Renamed to seteuids.
	* hurd/getuids.c: Renamed to ...
	* hurd/geteuids.c: this.
	(__getuids): Renamed to geteuids, no aliases.
	* hurd/hurd.h (geteuids, seteuids): Declare them.
	* hurd/Versions: Replace getuids; __getuids with geteuids; seteuids.
	* hurd/Makefile (routines): Updated.

1998-11-28 23:23 -0500  Zack Weinberg  <zack@rabi.phys.columbia.edu>

	* sysdeps/unix/sysv/linux/configure.in: Test for symlinks in
	$prefix/include that may be clobbered on installation.
1998-11-29 10:11:23 +00:00
Ulrich Drepper 5f75d1e2fd Update.
1998-11-29  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/generic/segfault.c (install_handler): Correct test for
	SEGFAULT_HANDLER=all.
	Patch by Zack Weinberg.
1998-11-29 08:44:37 +00:00
Ulrich Drepper 0fea0021dc Update.
1998-11-28 23:23 -0500  Zack Weinberg  <zack@rabi.phys.columbia.edu> 
 
	* sysdeps/unix/sysv/linux/configure.in: Test for symlinks in 
	$prefix/include that may be clobbered on installation.
1998-11-28 23:37:49 +00:00
Ulrich Drepper 6d4752d8b9 Update.
1998-11-27  Philip Blundell  <pb@nexus.co.uk>

	Fixes to allow compilation with static NSS:
	* nss/Makefile: Make explicit the dependency of getent on
	libnss_files.a.
	[build_static_nss]: Define $(otherlibs) appropriately.
	* nss/Depend: Add a dependency on `resolv'.

1998-11-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	Partial support for MIPS ISO C 9x exception handling:
	* sysdeps/mips/fclrexcpt.c: New file.
	* sysdeps/mips/ftestexcept.c: New file.
	* sysdeps/mips/fgetexcptflg.c: New file.
	* sysdeps/mips/fesetround.c: New file.
	* sysdeps/mips/fegetround.c: New file.
	* sysdeps/mips/fegetenv.c: New file.
	* sysdeps/mips/fesetenv.c: New file.
	* sysdeps/mips/feupdateenv.c: Likewise.
	* sysdeps/mips/bits/fenv.h: New file.

1998-11-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* sysdeps/unix/sysv/linux/mips/bits/signum.h: Remove inclusion of
	<asm/signal.h> and add needed symbols from <asm/signal.h>; bring
	in sync with linux specific version.

	Patches by Ralf Baechle <ralf@uni-koblenz.de> for mips-linux:

	* sysdeps/unix/mips/sysdep.S: Define _errno as weak_alias, rewrite
	errno declaration.

	* sysdeps/unix/sysv/linux/mips/ustat.c: Use INLINE_SYSCALL instead
	of calling __syscall_*.
	* sysdeps/unix/sysv/linux/mips/xmknod.c: Likewise.

	* sysdeps/unix/sysv/linux/mips/syscalls.list: Update entries.

	* sysdeps/unix/sysv/linux/mips/sys/syscall.h: Add missing SYS_*
	constants, correct values according to Linux 2.1.130.

	* sysdeps/unix/sysv/linux/mips/pwrite.c: New file.
	* sysdeps/unix/sysv/linux/mips/pwrite64.c: New file.
	* sysdeps/unix/sysv/linux/mips/pread.c: New file.
	* sysdeps/unix/sysv/linux/mips/pread64.c: New file.

	* sysdeps/mips/Makefile (sysdep_routines): Use += instead of a
	:=.

	* sysdeps/unix/sysv/linux/mips/bits/ipc.h: Remove ipc_kludge.

	* sysdeps/unix/sysv/linux/mips/xstatconv.c: New file.

	* sysdeps/unix/sysv/linux/mips/xstat.c: Removed.

	* sysdeps/unix/sysv/linux/mips/sys/ucontext.h: New file.

	* sysdeps/unix/sysv/linux/mips/kernel_termios.h: Add copyright
	message, change name of include protection, remove inclusion of
	<bits/termios.h>.

	* sysdeps/unix/sysv/linux/mips/kernel_sigaction.h
	(old_kernel_sigaction): Define.
	(struct kernel_sigaction): Rename sa_handler to k_sa_handler.

	* sysdeps/unix/sysv/linux/mips/bits/time.h: Removed, we can use
	the general linux version.
	* sysdeps/unix/sysv/linux/mips/bits/stat.h (_STAT_VER_KERNEL): Added.

	* sysdeps/unix/sysv/linux/mips/bits/socket.h: Update file.

1998-09-03  Philip Blundell  <pb@nexus.co.uk>

	* sysdeps/arm/bits/endian.h (__FLOAT_WORD_ORDER): Define to big
	endian.
	* math/math_private.h: Use __FLOAT_WORD_ORDER rather than
	BYTE_ORDER.
	* string/endian.h: If __FLOAT_WORD_ORDER wasn't defined by
	<bits/endian.h>, make it the same as __BYTE_ORDER.

1998-11-26  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* Makeconfig ($(common-objpfx)sysd-dirs): Use automatic variables
	if possible.
	($(common-objpfx)sysd-sorted): Likewise.

1998-11-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* sysdeps/libm-ieee754/e_log.c (__ieee754_log): Add declaration of
	local variables t1,t2 only if needed.

	* sysdeps/libm-ieee754/s_truncf.c (__truncf): Likewise.
	* sysdeps/libm-ieee754/s_trunc.c (__trunc): Likewise.

	* sysdeps/mips/mul_1.S (Loop): Add closing comment to avoid
	warning.

1998-11-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* math/math.h: Add brace to correct #if expression.

1998-11-26  Philip Blundell  <philb@gnu.org>

	Undo change of 1998-11-12:
	* sysdeps/unix/sysv/linux/netlink/netlink.h: Deleted.
	* sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
	netlink/netlink.h.
	* sysdeps/unix/sysv/linux/Dist: Likewise.

1998-11-22  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>

	* nis/nis_print.c (nis_print_entry): Changes to match Solaris output.

1998-11-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* sysdeps/generic/pselect.c (__pselect): Change interface,
	set/restore sigmask.

	* misc/sys/select.h: Change declaration according to Stevens' Unix
	Network Programming.
	* include/sys/select.h (__pselect): Likewise.
	Reported by <bwelling@anomaly.munge.com> [PR libc/872].

	* include/fpu_control.h: New file, contains __setfpucw
	declaration.

	* sysdeps/generic/fpu_control.h: Remove __setfpucw declaration,
	it's an internal symbol.
	* sysdeps/alpha/fpu/fpu_control.h: Likewise.
	* sysdeps/arm/fpu/fpu_control.h: Likewise.
	* sysdeps/i386/fpu_control.h: Likewise.
	* sysdeps/m68k/fpu_control.h: Likewise.
	* sysdeps/powerpc/fpu_control.h: Likewise.
	* sysdeps/sparc/sparc32/fpu/fpu_control.h: Likewise.
	* sysdeps/sparc/sparc64/fpu/fpu_control.h: Likewise.
1998-11-28 21:06:13 +00:00
Ulrich Drepper 48252123bc Update.
1998-09-03  Philip Blundell  <pb@nexus.co.uk> 
 
	* sysdeps/arm/bits/endian.h (__FLOAT_WORD_ORDER): Define to big 
	endian. 
	* math/math_private.h: Use __FLOAT_WORD_ORDER rather than 
	BYTE_ORDER. 
	* string/endian.h: If __FLOAT_WORD_ORDER wasn't defined by 
	<bits/endian.h>, make it the same as __BYTE_ORDER. 
 
1998-11-27  Ulrich Drepper  <drepper@cygnus.com>

	* math/math.h: Avoid using long double functions in generic macros
	if __NO_LONG_DOUBLE_MATH.

	* sysdeps/arm/dl-machine.h: Fix handling of weak undefined symbols
	during bootstrapping.
	* scripts/config.sub: Add Netwinder specific matches.
	Patch by Scott Bambrough <scottb@corelcomputer.com>.

1998-11-26  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de> 
 
	* Makeconfig ($(common-objpfx)sysd-dirs): Use automatic variables 
	if possible. 
	($(common-objpfx)sysd-sorted): Likewise. 
 
1998-11-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de> 
 
	* sysdeps/libm-ieee754/e_log.c (__ieee754_log): Add declaration of  
	local variables t1,t2 only if needed. 
 
	* sysdeps/libm-ieee754/e_atan2.c: Added braces to avoid compiler
	warnings.
	* sysdeps/libm-ieee754/s_truncf.c (__truncf): Likewise. 
	* sysdeps/libm-ieee754/s_trunc.c (__trunc): Likewise. 
 
	* sysdeps/mips/mul_1.S (Loop): Add closing comment to avoid 
	warning. 
 
1998-11-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de> 
 
	* math/math.h: Add brace to correct #if expression.
1998-11-27 11:34:40 +00:00
Ulrich Drepper 80fbf0d167 Update.
1998-11-26  Philip Blundell  <philb@gnu.org> 
 
	Undo change of 1998-11-12: 
	* sysdeps/unix/sysv/linux/netlink/netlink.h: Deleted. 
	* sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove 
	netlink/netlink.h. 
	* sysdeps/unix/sysv/linux/Dist: Likewise. 
 
1998-11-22  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de> 
 
	* nis/nis_print.c (nis_print_entry): Changes to match Solaris output.
1998-11-26 15:27:52 +00:00
Ulrich Drepper cb0509a8d5 Update.
1998-11-26  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/mips/dl-machine.h (ELF_MACHINE_NO_PLT): New defined macro.
	(elf_machine_got_rel): Remove scope variable.  Use scope from the map.
	Don't modify _dl_global_scope_end in the end.
	(__dl_runtime_resolv): Also use scope from the map.
	* sysdeps/mips/mips64/dl-machine.h: Likewise.
	* elf/dl-runtime.c: Don't define fixup and profile_fixup if
	ELF_MACHINE_NO_PLT is defined.
	* sysdeps/mips/sys/ucontext.h: New file.
	Patches by kaz Kojima <kkojima@rr.iij4u.or.jp>.

1998-11-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de> 
 
	* sysdeps/generic/pselect.c (__pselect): Change interface, 
	set/restore sigmask. 
 
	* misc/sys/select.h: Change declaration according to Stevens' Unix  
	Network Programming. 
	* include/sys/select.h (__pselect): Likewise. 
	Reported by <bwelling@anomaly.munge.com> [PR libc/872]. 
 
	* include/fpu_control.h: New file, contains __setfpucw 
	declaration. 
 
	* sysdeps/generic/fpu_control.h: Remove __setfpucw declaration, 
	it's an internal symbol. 
	* sysdeps/alpha/fpu/fpu_control.h: Likewise. 
	* sysdeps/arm/fpu/fpu_control.h: Likewise. 
	* sysdeps/i386/fpu_control.h: Likewise. 
	* sysdeps/m68k/fpu_control.h: Likewise. 
	* sysdeps/powerpc/fpu_control.h: Likewise. 
	* sysdeps/sparc/sparc32/fpu/fpu_control.h: Likewise. 
	* sysdeps/sparc/sparc64/fpu/fpu_control.h: Likewise.
1998-11-26 12:02:23 +00:00
Ulrich Drepper 0155a7737f Update.
1998-11-25  Ulrich Drepper  <drepper@cygnus.com>

	* version.h (VERSION): Bump to 2.0.104.

1998-11-25  Mark Kettenis  <kettenis@phys.uva.nl>

	* libio/bits/stdio.h (fread_unlocked): Add missing parentheses
	around parameter n.

1998-11-24  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* time/tzfile.c (__tzfile_read): Fix comment.

1998-11-24  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* Makerules (build-shlib): Pass -O1 down to linker to get
	optimized shared libraries.

1998-11-24  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* Makeconfig ($(common-objpfx)sysd-dirs): Cope with no Subdirs
	file.  Strip "-" from inhibited subdir name.  Combine into a
	single awk program.
	($(common-objpfx)sysd-sorted): Fix sed command.
1998-11-25 15:42:34 +00:00
Roland McGrath 77dd7355bb 1998-11-25 Roland McGrath <roland@baalperazim.frob.com>
* sysdeps/mach/hurd/i386/init-first.c (init): Restored as inline fn.
	Use constant _HURD_THREADVARS_MAX for temporary array size.

	* Makeconfig ($(common-objpfx)sysd-sorted): Use @ instead of / as sed
	s separator, since $(..) might contain a /.
1998-11-25 12:55:38 +00:00
Ulrich Drepper 45b3d8ad2a Update.
1998-11-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* configure.in (mips): Fix typo (Replace ,, by ;;).

	* libio/Versions: Clean up entries.
1998-11-24 12:24:38 +00:00
Ulrich Drepper 3312745968 Update.
1998-11-23  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/i386/fpu/bits/mathinline.h: Add optimizations for lrint
	and llrint.
1998-11-23 12:54:51 +00:00
Ulrich Drepper a42134a70b Update.
1998-11-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* sysdeps/unix/sysv/linux/netinet/ip_fw.h: Removed.  There are too
	many differences between the Linux 2.0 and 2.1 versions of this
	file and it's too difficult to convert all calls.  The file should
	only be needed by the ipfw program which has to take care of the
	correct kernel version and include files.

	* sysdeps/unix/sysv/linux/Dist: Remove netinet/ip_fw.h.
	* sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Likewise.
1998-11-23 09:48:32 +00:00
Ulrich Drepper 7d6a833849 Update.
1998-11-23  Ulrich Drepper  <drepper@cygnus.com>

	* Makeconfig: Don't read sysd-sorted unless sysd-dirs is read.
	Patch by Zack Weinberg.

	* math/bits/mathcalls.h: Adjust comments.  Remove gamma_r prototype.

	* sysdeps/i386/fpu/bits/mathinline.h: Make log2 only available if
	__USE_ISOC9X is defined.  Provide rint optimization.

1998-11-21  H.J. Lu  <hjl@gnu.org>

	* libio/Versions (_IO_popen, _IO_proc_open, _IO_proc_close,
	popen, pclose): Add to GLIBC_2.1.

	* libio/Makefile (routines): Add oldiopopen and oldpclose.
	(shared-only-routines): Likewise.

	* libio/pclose.c (pclose): Make it default for GLIBC_2.1.
	* libio/iopopen.c (_IO_proc_open, _IO_popen, popen,
	_IO_proc_close): Likewise.

	* libio/iolibio.h (_IO_new_popen, _IO_old_popen, __new_pclose,
	__old_pclose): New prototypes.

	* libio/libioP.h (_IO_new_file_jumps): Removed.
	(_IO_old_proc_jumps): Added.
	(_IO_new_proc_open, _IO_old_proc_open): New prototypes.

	* libio/oldiopopen.c: New file.

	* libio/oldpclose.c: New file.

1998-11-22  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>

	* nss/Makefile: Build and install getent.
	* nss/getent.c: New, get entries from administrative database.
1998-11-23 09:36:06 +00:00
Roland McGrath 1521f3a5de 1998-11-22 Roland McGrath <roland@baalperazim.frob.com>
* sysdeps/mach/hurd/i386/init-first.c (init): Provide temporary storage
	for the per-thread variables of the main user thread to make it
	possible to use malloc as soon as _hurd_preinit_hook has been run.
	For cthreads, copy values to new stack from there.
	For non-cthreads, malloc threadvar array here and copy from temp space.
	(init1): No longer initialize threadvars here.
	(doinit1): Made static void at top level.
	(init): Folded into [PIC] _init or [!PIC] doinit1, since GCC cannot
	inline a function that uses dynamic auto arrays.
1998-11-22 17:32:52 +00:00
Ulrich Drepper d89e7a9637 Update.
* version.h (VERSION): Bump to 2.0.103.
1998-11-20 17:27:47 +00:00
Ulrich Drepper 5edb938769 Update.
1998-11-20  Ulrich Drepper  <drepper@cygnus.com>

	* aclocal.m4 (LIBC_PROG_BINUTILS): Also add AR and RANLIB using the
	same method.
	* configure.in: Don't define AR and RANLIB here.

	* inet/gethstbyad_r.c: Define NEED__RES_HCONV and POSTPROCESS for
	host name res_hconf code.
	* inet/gethstbynm_r.c: Likewise.
	* nss/getXXbyYY_r.c: Include resolv/res_hconf.h if NEED__RES_HCONF
	is defined.  Call res_hconf_init if necessary.  If POSTPROCESS is
	defined execute the code.
	* resolv/Makefile (routines): Add res_hconf.
	(headers): Add res_hconf.h.
	* resolv/res_hconf.c: Pretty print.
	* resolv/res_hconf.h: Likewise.

1998-11-20  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/generic/bits/byteswap.h: Fix typos in non-GCC
	definitions.  Reported by Scott Bambrough <scottb@corelcomputer.com>.

1998-11-20 1998  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* math/libm-test.c: Raise some epsilons a bit.

1998-11-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* Makeconfig ($(common-objpfx)sysd-sorted): Fix portability problems.

1998-11-20  Ulrich Drepper  <drepper@cygnus.com>

	* Makefile (distribute): Add scripts/gen-sorted.awk.
1998-11-20 17:27:07 +00:00
Ulrich Drepper bece5ca7c1 Update.
1998-11-19  Ulrich Drepper  <drepper@cygnus.com>

	* posix/regex.c (regex_compile): Handle extra long class names
	correctly.
1998-11-19 18:39:58 +00:00
Ulrich Drepper 50463d27cd Update.
1998-11-19  Geoff Keating  <geoffk@ozemail.com.au>

	* elf/rtld.c (_dl_start): Handle weak undefined symbols in ld.so
	correctly.
1998-11-19 17:46:16 +00:00
Ulrich Drepper b0428320f5 Update.
* misc/error.c: Undo last change.

	* manual/errno.texi: Change the short text for ENODEV to
1998-11-19 14:56:07 +00:00
Ulrich Drepper 1da995555a Update.
1998-11-19  Ulrich Drepper  <drepper@cygnus.com>

	* ctype/Versions: Add _tolower and _toupper.
1998-11-19 13:09:21 +00:00
Ulrich Drepper f1317ef509 Update.
1998-11-19  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>

	* sunrpc/svc_unix.c (readunix): Check for POLLERR, POLLHUP and
	POLLNVAL.
1998-11-19 12:52:22 +00:00
Ulrich Drepper bb41a976a3 Update.
1998-11-19  Ulrich Drepper  <drepper@cygnus.com>

	* Makeconfig: Add comment to all-subdirs definition.
	Add rule to generate sysd-sorted.  Include this file and and set
	subdirs value to $(sorted-subdirs).
	* scripts/gen-sorted.awk: New file.
	* Make-dist (+tsrcs): Add Depend.
	* nscd/Depend: New file.
	* nss/Depend: New file.
	* rt/Depend: New file.

	* manual/errno.texi> Change the short text for ENODEV to
	"No such device".
1998-11-19 11:23:37 +00:00
Ulrich Drepper dfd2464b33 Update.
* sysdeps/unix/bsd/poll.c (__poll): Add code to extend sets if any
	passed file descriptor exceeds the size determined by
	getdtablesize.

	* sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Update
	from inline version in bits/socket.h.

	* sysdeps/unix/sysv/linux/bits/socket.h: Define __cmsg_nxthdr as
	inline function only is __USE_EXTERN_INLINES is defined.

	* time/strftime.c (my_strftime): Make code a bit clearer.
	Patch by Paul Eggert <eggert@twinsun.com>.

	by removing SIG_IGN handler for SIGCHLD if necessary.
1998-11-18 14:46:49 +00:00
Ulrich Drepper 090ca0002f Update.
1998-11-18  Ulrich Drepper  <drepper@cygnus.com>

	* io/Makefile (CFLAGS-ftw.c): Removed.

1998-11-18  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* io/Makefile (tests): Make sure that the test program has an
	explicit directory part.

1998-11-18  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* configure.in: Fix last change.

1998-11-18  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>

	* sunrpc/Makefile (routines): Add create_xid.

	* sunrpc/clnt_tcp.c: Use non-guessable xid.
	* sunrpc/clnt_udp.c: Likewise.
	* sunrpc/clnt_unix.c: Likewise.
	* sunrpc/pmap_rmt.c: Likewise.
	* sunrpc/create_xid.c: New, create non-guessable xid.

	* sunrpc/svc_tcp.c: Remove patch from 1998-06-15, use poll instead
	of select.
	* sunrpc/svc_unix.c: Use poll instead of select.
1998-11-18 11:05:09 +00:00
Ulrich Drepper 45a9a50e68 Update.
* sysdeps/unix/sysv/linux/sleep.c (__sleep): Make Unix98 compliant
	by working removing SIG_IGN handler for SIGCHLD if necessary.
	Patch by H.J. Lu <hjl@lucon.org>.
1998-11-17 20:39:52 +00:00
Ulrich Drepper d8cceb4fcf Update.
1998-11-17  Ulrich Drepper  <drepper@cygnus.com>

	* stdio-common/printf_fphex.c (__printf_fphex): Correct printing
	of denormalized numbers.

1998-10-06  Geoff Keating  <geoffk@ozemail.com.au>

	* sysdeps/powerpc/dl-machine.h (elf_machine_load_address): Suppress
	another parentheses warning, make nano-optimisation.

	* sysdeps/powerpc/dl-machine.h (_dl_runtime_resolve): Preserve
	saved LR on stack so _mcount works.
	(_dl_prof_resolve): Likewise.
	* sysdeps/powerpc/register-dump.h: Print FPRs.  Adjust for correct
	signal handler calling convention.
	* sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Adjust for
	correct signal handler calling convention---more like x86 linux and
	mklinux, less like linux-ppc versions between 2.1 and 2.1.126.

1998-11-17  Ulrich Drepper  <drepper@cygnus.com>

	* configure.in: Correct allowed makeinfo version.

1998-11-17  Philip Blundell  <pb@nexus.co.uk>

	* sysdeps/generic/bits/mathdef.h: Fix typo.

	* intl/locale.alias: Change `japanese' alias to match X11R6's.
1998-11-17 18:36:05 +00:00
Ulrich Drepper cae8899646 Update.
1998-11-17  Geoff Keating  <geoffk@ozemail.com.au>

	* sysdeps/unix/sysv/linux/powerpc/pwrite.c: Prototype the syscall
	under the right name (squish warning).
	* sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.

1998-11-17  Geoff Keating  <geoffk@ozemail.com.au>

	* stdio-common/_itoa.c (_itoa): Add redundant parentheses to
	prevent warnings.
1998-11-16 19:12:54 +00:00
Ulrich Drepper 9d1efe331c Update.
* intl/locale.alias: Change `japanese' alais to match X11R6's.
	Add `japanese.euc' alias.

	* manual/Makefile (%.info): Set LANGUAGE and LC_ALL explicitly to C
	before running makeinfo.

	* math/Makefile (libm-routines): $(strip) entire value.

	* nss/nss_db/db-XXX.c (internal_setent): Rewrite to avoid warning.

1998-10-24  H.J. Lu  <hjl@gnu.org>

	* libio/libio.h (_IO_cookie_io_functions_t): Protect with __USE_GNU.
	(_IO_cookie_file): Likewise.

1998-11-16  Philip Blundell  <philb@gnu.org>

	* inet/netinet/icmp6.h: Correct naming of constants.

1998-11-16  Ulrich Drepper  <drepper@cygnus.com>

	(fwrite_unlocked): Likewise.
	format, just stop.
1998-11-16 18:44:53 +00:00
Ulrich Drepper 8b7fb5883b Update.
1998-11-16  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/unix/opendir.c: Use o_directory_works differently.  Treat
	zero value as uninitialized so that variable can go into .bss.

	* dirent/opendir-tst1.c: Print error strings to stdout.

	* sysdeps/unix/sysv/linux/mmap64.c: New file.  Empty.
	* sysdeps/unix/sysv/linux/syscalls.list: Add mmap with mmap64 alias.
	* sysdeps/unix/sysv/linux/arm/mmap.S: Add mmap64 alias.
	* sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
	* sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.

1998-11-16  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* time/tzfile.c (__tzfile_read): Check that types[i].isdst is in
	range.

1998-11-16  Ulrich Drepper  <drepper@cygnus.com>

	* libio/bits/stdio.h (fread_unlocked): Do handle zero size and number.
	(fwrite_unlocked): Likewise.

1998-11-16  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* libio/bits/stdio.h (fread_unlocked): Don't evaluate non-constant
	twice.  Don't bother handling zero size.
	(frwite_unlocked): Likewise.

1998-11-15  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* configure.in: Fix regex for makeinfo version string.

1998-11-15  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* sunrpc/rpc_sample.c (write_sample_server): Avoid -Wparentheses
	warning.
	* sunrpc/rpc_svcout.c (write_program): Likewise.

1998-11-15  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* time/Makefile (CFLAGS-test_time.c): Add -Wno-format.

1998-11-16  Ulrich Drepper  <drepper@cygnus.com

	* misc/sys/mman.h: Pretty print prototypes.

1998-11-15  Ulrich Drepper  <drepper@cygnus.com

	* misc/error.c (error): Don't use result of strerror_r call directly
	since at least DEC Unix has a wrong return type.
	Patch by Johan Danielsson <joda@pdc.kth.se>.

1998-11-16  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1998-11-16 12:02:08 +00:00
Andreas Schwab 22bb3c7ff5 * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Undo
last change.
Mon Nov 16 11:17:31 1998  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Undo
	last change.
1998-11-16 02:41:56 +00:00
Ulrich Drepper 27658f2067 Update.
* stdio-common/vfscanf.c: Don't return -1 in case of an invalid
	format, jsut stop.
1998-11-13 19:38:37 +00:00
Ulrich Drepper 77d10f94bf Update.
* version.h (VERSION): Bump to 2.0.102.

	* stdio-common/tstdiomisc.c (t2): Update test case for last scanf
	change.
	* stdio-common/scanf7.c (main): Likewise.

1998-11-13  Ulrich Drepper  <drepper@cygnus.com>
1998-11-13 19:03:53 +00:00
Ulrich Drepper 47b856a9ea Update.
* stdio-common/vfscanf.c: Return EOF for invalid format
	characters.

1998-11-13  Philip Blundell  <philb@gnu.org>

	* sysdeps/arm/fpu/bits/setjmp.h (__JMP_BUF_SP): Correct value.
	Reported by Scott Bambrough.
1998-11-13 15:05:05 +00:00
Ulrich Drepper fb3d8ad658 Update.
* version.h (VERSION): Bump to 2.0.101.
1998-11-13 14:41:36 +00:00
Ulrich Drepper 99c9e773ee Update.
1998-11-13  Ulrich Drepper  <drepper@cygnus.com>

	* Makerules (Versions.all): Generate this file from all Versions.def
	files.
	(sysd-versions): Use Versions.all instead of Versions.def.
1998-11-13 14:06:33 +00:00
Ulrich Drepper 93d63a591c Update.
1998-11-11  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* locale/programs/config.h: Define HAVE_STRING_H for xstrdup.c.
1998-11-13 13:27:37 +00:00
Ulrich Drepper a3e0e9ae47 Update.
1998-11-13  Ulrich Drepper  <drepper@cygnus.com>

	* libio/bits/stdio.h: Correct and improve fread_unlocked and
	fwrite_unlocked optimizations.

	* time/tzfile.c (__tzfile_read): Set __tzname based on last names
	in time not to last entries in the file.
	(__tzfile_compute): Likewise.  Fix for PR libc/863.

	* timezone/Makefile: Generate GB timezone data for test.
	* timezone/tst-timezone.c: More tests for DST switching time (disabled
	for now).

1998-11-13  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
	* sysdeps/gnu/bits/utmp.h: Rename pad member of struct utmp to
1998-11-13 13:25:47 +00:00
Andreas Schwab 2dc9c8cd69 * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Remove
d0 from clobber list.
Fri Nov 13 11:57:21 1998  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Remove
	d0 from clobber list.
1998-11-13 03:01:32 +00:00
Ulrich Drepper d2537a474c Update.
1998-11-12  Ulrich Drepper  <drepper@cygnus.com>

	* inet/netinet/in.h: Add a few more IPPROTO_* macros.

	* libio/Makefile (headers): Add bits/stdio.h.
	* libio/iofread_u.c: Undefine fread_unlocked before definition.
	* libio/iofwrite_u.c: Undefine fwrite_unlocked before definition.
	* libio/stdio.h: Move optimizations into ...
	* libio/bits/stdio.h: ...here.  New file.

	* libio/iofread.c: Pretty print.

1998-11-12  Mark Kettenis  <kettenis@phys.uva.nl>

	* sysdeps/gnu/bits/utmpx.h: Protect members of struct
	__exit_status with `__'.  Rename pad member of struct utmpx to
	__unused.
	(RUN_LVL): Define unconditionally.
	* sysdeps/gnu/bits/utmp.h: Rename pad member of struct utmpx to
	__unused.

1998-11-12  Philip Blundell  <philb@gnu.org>

	* sysdeps/unix/sysv/linux/netlink/netlink.h: New file, support for
	Linux AF_NETLINK sockets (needed since the kernel version is
	unusable).
	* sysdeps/unix/sysv/linux/Makefile: Install it.
	* sysdeps/unix/sysv/linux/Dist: Distribute it.

1998-11-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* timezone/tst-timezone.c (tests): Add entry for America/Chicago
	to test for bug in PR libc/863.

1998-11-12  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Cleanup comment.

	* elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Rename macro
	parameter lazy to do_lazy to avoid clashing with struct member name.
	Reported by Ralf Baechle <ralf@uni-koblenz.de>.

1998-11-10  H.J. Lu  <hjl@gnu.org>

	* sysdeps/unix/sysv/linux/bits/local_lim.h: Undefine NR_OPEN
	if it is defined in <linux/limits.h>.

1998-11-09 13:07 -0500  Zack Weinberg  <zack@rabi.phys.columbia.edu>

	* include/protocols/routed.h: Include the real header with
	a full path from the top of the source tree.
	* include/protocols/rwhod.h: Likewise.
	* include/protocols/talkd.h: Likewise.
	* include/protocols/timed.h: Likewise.

	* timezone/Makefile: Don't include z.ZONE files if no_deps
	is set, not if avoid-generated is set.

1998-11-12  Ulrich Drepper  <drepper@cygnus.com>

	* signal/signal.h: Undo last change.  Get definition of timespec
	if __USE_POSIX199309.

	* string/bits/string2.h (__strpbrk_c2): Add intermediate cast to
	size_t to prevent gcc warning when using -Wqual-cast.
	(__strpbrk_c3): Likewise.
	Suggested by Alan Curry <pacman@cqc.com>.
1998-11-12 18:06:31 +00:00
Roland McGrath 159d483605 * hurd/hurdsig.c (_hurdsig_init): Add assertion that no pending,
unblocked signals are set in the startup masks.
1998-11-11 11:28:20 +00:00
Roland McGrath fc7af6d6a8 1998-11-11 Roland McGrath <roland@baalperazim.frob.com>
* hurd/hurdsig.c (_hurdsig_init): Take new args, INTARRAY and
	INTARRAYSIZE.  Initialize main thread's sigstate from INIT_SIG* ints.
	* hurd/hurd/signal.h: Update _hurdsig_init decl.
	* hurd/hurdinit.c (_hurd_proc_init): Take new args, INTARRAY and
	INTARRAYSIZE, pass them down to _hurdsig_init.
	* hurd/hurd.h: Update _hurd_proc_init decl.
1998-11-11 09:57:56 +00:00
Ulrich Drepper 74eee8866d Update.
1998-11-10  Ulrich Drepper  <drepper@cygnus.com>

	* math/cabs.c: Replace complex by _Complex.
	* math/cabsf.c: Likewise.
	* math/cabsl.c: Likewise.
	* math/cimag.c: Likewise.
	* math/cimagf.c: Likewise.
	* math/cimagl.c: Likewise.
	* math/conj.c: Likewise.
	* math/conjf.c: Likewise.
	* math/conjl.c: Likewise.
	* math/creal.c: Likewise.
	* math/crealf.c: Likewise.
	* math/creall.c: Likewise.

	* sysdeps/alpha/fpu/bits/mathdef.h: Define ISO C 9X stuff only if
	included from math.h and __USE_ISOC9X is defined.
	* sysdeps/generic/bits/mathdef.h: Likewise.
	* sysdeps/generic/i386/fpu/mathdef.h: Likewise.
	* sysdeps/generic/m68k/fpu/mathdef.h: Likewise.
	* sysdeps/generic/powerpc/bits/mathdef.h: Likewise.
	* sysdeps/generic/sparc/fpu/bits/mathdef.h: Likewise.

1998-11-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* sysdeps/i386/fpu/bits/mathdef.h: Allow direct inclusion by
	<complex.h>.
	* sysdeps/alpha/fpu/bits/mathdef.h: Likewise.
	* sysdeps/generic/bits/mathdef.h: Likewise.
	* sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
	* sysdeps/powerpc/bits/mathdef.h: Likewise.
	* sysdeps/sparc/fpu/bits/mathdef.h: Likewise.

1998-11-09  Ulrich Drepper  <drepper@cygnus.com>

	* extra-lib.mk: Fix typo in last change.
1998-11-10 19:11:20 +00:00
Ulrich Drepper 1792d4dbda Update.
1998-11-09 18:16  Ulrich Drepper  <drepper@cygnus.com>

	* math/complex.h: Include bits/mathdef.h to get __NO_LONG_DOUBLE_MATH
	is needed.
	Don't define long double functions if __NO_LONG_DOUBLE_MATH is defined.
	Don't define `complex' but instead `_Complex'.  The later is the
	reserved keyword.
	* math/bits/cmathcalls.c: Define _Mdouble_complex_ using _Complex,
	not complex.

1998-11-07  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* manual/libc.texinfo: Remove colon from category name.
	* manual/Makefile (dir-add.info): Likewise.

1998-11-07  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* configure.in: Avoid autoconf bug.

1998-10-28  H.J. Lu  <hjl@gnu.org>

	* posix/getopt.h: Add "__" to arguments in prototypes.

1998-11-05  H.J. Lu  <hjl@gnu.org>

	* libio/iofgets.c (_IO_fgets): Don't report error
	if something was read in and errno is set to
	EAGAIN.
	* libio/iofgets_u.c (fgets_unlocked): Likewise.

1998-11-05  Philip Blundell  <philb@gnu.org>

	* sysdeps/unix/sysv/linux/net/if_packet.h: Don't include kernel
	header; it defines too much.  Provide a local definition of struct
	sockaddr_pkt and a comment advising against its use.

1998-11-06  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* extra-lib.mk: Avoid empty include list.

1998-11-04  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* extra-lib.mk: Add support for $(lib)-shared-only-routines.

	* elf/Makefile (libdl-routines): Add dlopenold only if doing
	versioning.
	(libdl-shared-only-routines): New variable.

1998-11-06  Paul Eggert  <eggert@twinsun.com>

	Don't invoke localtime_r or gmtime_r unless it's the GNU C
	library's localtime_r and gmtime_r; there are too many buggy
	implementations of localtime_r and gmtime_r out there, and
	it's not worth keeping track of all the different bugs.

	* time/mktime.c (__EXTENSIONS__): Remove.
	(<unistd.h>): No need to include.
	Remove.
	(my_mktime_localtime_r): Renamed from localtime_r; all uses changed.
	Base it on localtime unless _LIBC.

	* time/strftime.c (my_strftime_gmtime_r): Renamed from gmtime_r;
	all uses changed.
	(my_strftime_localtime_r): Renamed from localtime_r; all uses changed.
	Base them on localtime/gmtime if not _LIBC.
1998-11-09 18:21:06 +00:00
Ulrich Drepper 5c94034262 Update.
1998-10-28  H.J. Lu  <hjl@gnu.org> 
 
	* posix/getopt.h: Add "__" to arguments in prototypes. 
 
1998-11-05  H.J. Lu  <hjl@gnu.org> 
1998-11-06  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1998-11-08 12:02:25 +00:00
Ulrich Drepper 05f732b361 Update.
1998-11-05 1998  H.J. Lu  <hjl@gnu.org> 
 
	* libio/iofgets.c (_IO_fgets): Don't report error 
	if something was read in and errno is set to 
	EAGAIN. 
	* libio/iofgets_u.c (fgets_unlocked): Likewise. 
 
1998-11-05  Philip Blundell  <philb@gnu.org> 
 
	* sysdeps/unix/sysv/linux/net/if_packet.h: Don't include kernel 
	header; it defines too much.  Provide a local definition of struct 
	sockaddr_pkt and a comment advising against its use. 
 
1998-11-06 1998  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de> 
 
	* extra-lib.mk: Avoid empty include list. 
 
1998-11-04  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de> 
 
	* extra-lib.mk: Add support for $(lib)-shared-only-routines. 
 
	* elf/Makefile (libdl-routines): Add dlopenold only if doing 
	versioning. 
	(libdl-shared-only-routines): New variable. 
 
1998-11-06  Paul Eggert  <eggert@twinsun.com> 
 
	Don't invoke localtime_r or gmtime_r unless it's the GNU C 
	library's localtime_r and gmtime_r; there are too many buggy 
	implementations of localtime_r and gmtime_r out there, and 
	it's not worth keeping track of all the different bugs. 

	* time/mktime.c (__EXTENSIONS__): Remove. 
	(<unistd.h>): No need to include. 
	* time/strftime.c: Likewise.

	* time/mktime.c (_POSIX_THREAD_SAFE_FUNCTIONS, HAVE_LOCALTIME_R):
	Remove. 
	(my_mktime_localtime_r): Renamed from localtime_r; all uses changed. 
	Base it on localtime unless _LIBC. 

	* time/strftime.c (my_strftime_gmtime_r): Renamed from gmtime_r; 
	all uses changed. 
	(my_strftime_localtime_r): Renamed from localtime_r; all uses changed. 
	Base them on localtime/gmtime if not _LIBC. 

1998-11-07  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/generic/isastream.c: Always return 0 unless it is an invalid
	file descriptor.  This makes this function actually usable.
	Proposed by Mark Kettenis <kettenis@phys.uva.nl>.
1998-11-08 10:40:28 +00:00
Ulrich Drepper d76bd17ff9 Update.
* math/math.h: Unconditionally include bits/mathdef.h.  Declare
	long double functions only if __NO_LONG_DOUBLE_MATH is not
	defined.
	* sysdeps/generic/bits/mathdef.h: Define only if __USE_ISOC9X.
	Define __NO_LONG_DOUBLE_MATH.
	* sysdeps/m68k/fpu/bits/mathdef.h: Define only if __USE_ISOC9X.
	* sysdeps/i386/fpu/bits/mathdef.h: Likewise.
1998-11-05 18:07:15 +00:00
Ulrich Drepper 9a821cf90b Update.
* elf/rtld.c: Add a few __builtin_expects where they will improve
	a lot.

1998-11-05  Ulrich Drepper  <drepper@cygnus.com>

1998-11-04  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* libio/genops.c (_IO_least_marker): Add additional parameter
	end_p replacing fp->_IO_read_end.
	(save_for_backup): Likewise.  All callers changed.  Use _IO_size_t
	and _IO_ssize_t instead of int.
	(_IO_switch_to_main_get_area): Remove use of _IO_save_ptr.
	(_IO_switch_to_backup_area): Likewise.  Fix comments.
	(_IO_seekmark): Undo last change.
	(_IO_default_pbackfail): Correct use of backup area.
	* libio/libio.h (_IO_FILE_complete): Remove _IO_save_ptr.
1998-11-05 17:52:04 +00:00
Ulrich Drepper fe959e1efb Update.
* version.h (VERSION): Bump to 2.0.100.
1998-11-05 13:03:24 +00:00
Ulrich Drepper c00160817d Update.
1998-11-05  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/i386/fpu/bits/mathinline.h (__pow2): Fix fldl -> fld.

	* sysdeps/libm-i387/s_fma.S: Optimize a bit.
	* sysdeps/libm-i387/s_fmaf.S: Likewise.

1998-11-04 19:47 -0500  Zack Weinberg  <zack@rabi.phys.columbia.edu>

	* configure.in: Search for install-info and substitute it.
	Determine whether install-info is the buggy Debian version
	that doesn't understand INFO-DIR-SECTION.
	* config.make.in: Add INSTALL_INFO and OLD_DEBIAN_INSTALL_INFO
	to be substituted.
	* manual/Makefile: If OLD_DEBIAN_INSTALL_INFO, give
	install-info the --section argument it needs to work properly.
	(dir-add.texinfo): Delete target.
	(dir-add.info): Generate this directly.  Sort entries.  Put a
	colon at the end of the INFO-DIR-SECTION line.
	* manual/libc.texinfo: Put a colon at the end of the
	@dircategory line.

1998-11-05  Paul Eggert  <eggert@twinsun.com>

	* time/mktime.c (__mktime_internal): Adopt the traditional (and
	problematic) notion of what to do when tm_isdst doesn't match.

1998-11-04  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* posix/PTESTS: Fix spelling.

1998-11-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* elf/dlopenold.c: Compile only if DO_VERSIONING is also defined.

1998-11-03  H.J. Lu  <hjl@gnu.org>

	* libio/fileops.c (new_do_write): New function.
	(_IO_new_do_write): Call new_do_write.
	(_IO_new_file_xsputn): Likewise.

	* libio/oldfileops.c (old_do_write): New function.
	(_IO_old_do_write): Call old_do_write.
	(_IO_old_file_xsputn): Likewise.
1998-11-05 12:26:43 +00:00
Ulrich Drepper a92599eaa0 Update.
Reported by Christian Gafton.

	* sysdeps/libm-i387/e_hypot.S: New file.
	* sysdeps/libm-i387/e_hypotf.S: New file.
1998-11-04 23:55:44 +00:00
Ulrich Drepper ff8ac38322 Update.
1998-11-04  Ulrich Drepper  <drepper@cygnus.com>

	* misc/efgcvt_r.c (fcvt_r): Remove code which tries to use libm
	functions.  Reduce error in computing normalized value by multiplying
	factor in loop and compute result in one step.
1998-11-04 23:45:45 +00:00
Ulrich Drepper 00c1176b65 Update.
1998-11-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de> 
 
	* elf/dlopenold.c: Compile only if DO_VERSIONING is also defined.
1998-11-04 23:04:21 +00:00
Ulrich Drepper 0720f75c4a Update.
1998-11-03  H.J. Lu  <hjl@gnu.org> 
 
	* libio/fileops.c (new_do_write): New function. 
	(_IO_new_do_write): Call new_do_write. 
	(_IO_new_file_xsputn): Likewise. 
 
	* libio/oldfileops.c (old_do_write): New function. 
	(_IO_old_do_write): Call old_do_write. 
	(_IO_old_file_xsputn): Likewise.
1998-11-04 22:59:09 +00:00
Ulrich Drepper 98b567ffae Update.
* time/mktime.c (__mktime_internal): Correct last change.  We must
	stop searching for the right isdst value before stepping to the
	initial value.
1998-11-04 21:20:17 +00:00
Ulrich Drepper 3ddfec55c4 Update.
1998-11-04  Ulrich Drepper  <drepper@cygnus.com>

	* malloc/malloc.c: Make sure calloc really returned zeroed memory.
	Patch by Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>.
1998-11-04 12:06:57 +00:00
Ulrich Drepper f540c0a4ad Update.
1998-11-02 16:12 -0500  Zack Weinberg  <zack@rabi.phys.columbia.edu>

	* sysdeps/generic/bits/signum.h: Define signals with their
	historical numbers when those are in the 1-15 range and
	consistent across platforms.
	Define compatibility aliases (SIGIOT, SIGCLD) if __USE_MISC.
	Define SIG_DFL, SIG_IGN, SIG_ERR as numeric constants cast
	appropriately instead of with fake function declarations
	(would cause link errors).
	If __USE_UNIX98, define SIG_HOLD.

1998-10-29  H.J. Lu  <hjl@gnu.org>

	* sysdeps/unix/sysv/linux/bits/sigaction.h (sigaction): Use
	union only if __USE_POSIX199309 is defined.

	* misc/sys/select.h (pselect): Declared only if __USE_GNU is
	defined.

	* sysdeps/unix/sysv/linux/netatalk/at.h: Include <linux/atalk.h>
	before <sys/socket.h> to make sockaddr_at available to
	<sys/socket.h>.
1998-11-03 17:21:07 +00:00
Ulrich Drepper 5fea58fbe8 Update.
1998-11-03  Ulrich Drepper  <drepper@cygnus.com>

	* time/mktime.c (__mktime_internal): Handle broken down times
	around the time of the DST switches more correctly.

1998-11-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

        * sysdeps/unix/sysv/linux/netatalk/at.h: Include <linux/atalk.h>
        before <sys/socket.h> to make sockaddr_at available to
        <sys/socket.h>.

1998-11-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* time/tzset.c (tz_compute): Remove unused parameter timer.
	Change caller.

1998-11-02  Mark Kettenis  <kettenis@phys.uva.nl>

	* sysdeps/generic/bits/types.h (__ipc_pid_t): New typedef.
1998-11-03 15:49:43 +00:00
Ulrich Drepper e254df14d5 Update.
* elf/Makefile (libdl-routines): Add dlopenold.
	* elf/Versions [libdl, GLIBC_2.1]: Add dlopen.
	* elf/dl-open.c (_dl_open): Check whether RTLD_LAZY or RTLD_GLOBAL
	is set and bounce otherwise.
	* elf/dlopen.c: Rename function to __dlopen_check and make version
	named dlopen.
	* elf/dlopenold.c: New file.

1998-11-02  Ulrich Drepper  <drepper@cygnus.com>
1998-11-02 22:26:02 +00:00
Ulrich Drepper e3e35cfc95 Update.
* elf/Versions [libc, GLIBC_2.01]: Add _dl_global_scope_alloc.
	* elf/dl-open.c (_dl_global_scope_alloc): Move definition to
	* elf/dl-deps.c: ...here.
	* elf/dl-open.c (dl_open_worker): Call _dl_map_object_deps with
	new parameter and expect result.  Remove code handling RTLD_GLOBAL.
	Add return value of _dl_map_object_deps to
	_dl_main_searchlist->r_nlist.
	* elf/dl-deps.c (_dl_map_object_deps): Change to return value.
	If we parameter GLOBAL is nonzero add object and dependencies to
	the global scope.
	* elf/ldsodefs.h: Adapt prototype for _dl_map_object_deps.
	* elf/rtld.c (dl_main): Call _dl_map_object_deps with new parameter.
	Mark all objects as in global scope.
	* elf/dl-object.c (_dl_new_object): Initialize l_global to zero.

	* sysdeps/unix/sysv/linux/bits/sockunion.h: Add Econet support.

	* sysdeps/unix/sysv/linux/i386/sysdep.h: Add .L prefix to symbols
	used in macro magic.

1998-11-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de> 
 
        * sysdeps/unix/sysv/linux/netatalk/at.h: Include <linux/atalk.h> 
        before <sys/socket.h> to make sockaddr_at available to 
        <sys/socket.h>. 

	* posix/glob.h: Remove __P from parameter lists of declarations.
 
1998-11-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de> 
 
	* time/tzset.c (tz_compute): Remove unused parameter timer. 
	Change caller. 
 
1998-11-02  Mark Kettenis  <kettenis@phys.uva.nl> 
 
	* sysdeps/generic/bits/types.h (__ipc_pid_t): New typedef. 
 
1998-11-02  Ulrich Drepper  <drepper@cygnus.com>
1998-11-02 21:48:45 +00:00
Ulrich Drepper 160698e277 Update.
1998-11-02  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/unix/sysv/linux/i386/setgroups.c (setgroups): Remove
	unnecessary test and add cast.

1998-11-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* posix/getconf.c: Add initializer SYSCONF for CHARCLASS_NAME_MAX.

	* sysdeps/unix/sysv/linux/ttyname.c (getttyname): Remove unused
	parameter fd.
	* sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.

1998-11-02  Mark Kettenis  <kettenis@phys.uva.nl>

	* sysdeps/generic/bits/types.h (__FDS_BITS): New macro to access
	fds_bits member.
	(__FDMASK): Use __fd_mask instead of unsigned long int in cast.

1998-10-31  Richard Henderson  <rth@cygnus.com>

	* math/Makefile (gmp-objs): Add udiv_qrnnd.

	* sysdeps/unix/alpha/sysdep.h (INLINE_SYSCALL*): New.
	(inline_syscall*): New.
	* sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL): New.
	* sysdeps/unix/sysv/linux/alpha/syscalls.list: Kill __syscall* bits.

1998-10-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>

	* sunrpc/Versions: Add xdr_uint32_t and xdr_int32_t.
	* sunrpc/pmap_rmt.c: Initialize clnt_stat variable.
	* sunrpc/rpc/auth_des.h: Use uint32_t for time values.
	* sunrpc/rpc/xdr.h: Add INT32 support.

	* nis/nis_call.c: Changes for new 64bit clean NIS+ interface.
	* nis/nis_callback.c: Likewise.
	* nis/nis_creategroup.c: Likewise.
	* nis/nis_defaults.c: Likewise.
	* nis/nis_intern.h: Likewise.
	* nis/nis_lookup.c: Likewise.
	* nis/nis_ping.c: Likewise.
	* nis/nis_print.c: Likewise.
	* nis/nis_table.c: Likewise.
	* nis/nis_util.c: Likewise.
	* nis/nis_xdr.c: Likewise.
	* nis/rpcsvc/nis.h: Likewise.
	* nis/rpcsvc/nis.x: Likewise.
	* nis/rpcsvc/nis_callback.h: Likewise.
	* nis/rpcsvc/nis_object.x: Likewise.
	* nis/rpcsvc/nislib.h: Likewise.

	* nis/rpcsvc/yp.h: Remove casts to (u_long).
	* nis/rpcsvc/yp_prot.h: Likewise.
	* nis/rpcsvc/ypupd.h: Likewise.
	* nis/ypclnt.c: Change %ld to %d in sprintf.

1998-10-29  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* manual/locale.texi (Formatting Numbers): Fix strfmon examples.

1998-10-28  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* sysdeps/generic/bits/select.h (__FD_ZERO): Change '\0' to plain
	0, __fd_mask is usually not a char.

1998-10-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* sysdeps/unix/sysv/linux/sigpending.c (sigpending): Allow
	compilation on systems without rt_* syscalls (e.g. on Linux 2.0).
	* sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
	* sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
	* sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
	* sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise
	* sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
	* sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.

	* sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Allow
	compiling on systems without rt_sigaction syscall.
	* sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (__sigaction):
	Likewise.

1998-10-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* time/strptime.c (HERE_D_FMT): Fix typo.
	Reported by Claus Heine <heine@math1.rwth-aachen.de>, PR libc/842.
1998-11-02 10:07:25 +00:00
Ulrich Drepper c55be36de7 Update.
* posix/PTESTS: Remove comment about incorrect test (it is correct).
1998-10-31 15:38:33 +00:00
Ulrich Drepper 256705f4bd Update.
1998-10-31  Ulrich Drepper  <drepper@cygnus.com>

	* aclocal.m4 (LIBC_PROG_FOO_GNU): Name output file using -o to
	avoid ld test generating an unwanted file.
1998-10-31 15:15:26 +00:00
Ulrich Drepper a1129917d7 Update.
1998-10-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de> 
 
	* sunrpc/Versions: Add xdr_uint32_t and xdr_int32_t. 
	* sunrpc/pmap_rmt.c: Initialize clnt_stat variable. 
	* sunrpc/rpc/auth_des.h: Use uint32_t for time values. 
	* sunrpc/rpc/xdr.h: Add INT32 support. 
	* sunrpc/xdr.c: Implement xdr_int32_t and xdr_uint32_t .
 
	* nis/nis_call.c: Changes for new 64bit clean NIS+ interface. 
	* nis/nis_callback.c: Likewise. 
	* nis/nis_creategroup.c: Likewise. 
	* nis/nis_defaults.c: Likewise. 
	* nis/nis_intern.h: Likewise. 
	* nis/nis_lookup.c: Likewise. 
	* nis/nis_ping.c: Likewise. 
	* nis/nis_print.c: Likewise. 
	* nis/nis_table.c: Likewise. 
	* nis/nis_util.c: Likewise. 
	* nis/nis_xdr.c: Likewise. 
	* nis/rpcsvc/nis.h: Likewise. 
	* nis/rpcsvc/nis.x: Likewise. 
	* nis/rpcsvc/nis_callback.h: Likewise. 
	* nis/rpcsvc/nis_object.x: Likewise. 
	* nis/rpcsvc/nislib.h: Likewise. 
 
	* nis/rpcsvc/yp.h: Remove casts to (u_long). 
	* nis/rpcsvc/yp_prot.h: Likewise. 
	* nis/rpcsvc/ypupd.h: Likewise. 
	* nis/ypclnt.c: Change %ld to %d in sprintf.
1998-10-31 12:13:49 +00:00
Ulrich Drepper 655b26bb75 Update.
1998-10-29  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de> 
 
	* manual/locale.texi (Formatting Numbers): Fix strfmon examples. 
 
1998-10-28  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de> 
 
	* sysdeps/generic/bits/select.h (__FD_ZERO): Change '\0' to plain 
	0, __fd_mask is usually not a char. 
 
1998-10-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de> 
 
	* sysdeps/unix/sysv/linux/sigpending.c (sigpending): Allow 
	compilation on systems without rt_* syscalls (e.g. on Linux 2.0). 
	* sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise. 
	* sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise. 
	* sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise. 
	* sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise 
	* sysdeps/unix/sysv/linux/sigqueue.c: Likewise. 
	* sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise. 
 
	* sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Allow 
	compiling on systems without rt_sigaction syscall. 
	* sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (__sigaction): 
	Likewise. 
 
1998-10-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de> 
 
	* time/strptime.c (HERE_D_FMT): Fix typo.   
	Reported by Claus Heine <heine@math1.rwth-aachen.de>, PR libc/842. 
 
	* catgets/test1.msg: New file.
1998-10-31 11:42:52 +00:00
Ulrich Drepper 646fffb981 Update.
* catgets/Makefile (tests): Add rules to run gencat on test1.msg.
	(generate): Add test1.cat and test1.h.
	(distribute): Add test1.msg.
1998-10-30 19:17:59 +00:00
Ulrich Drepper a3b2008a2d Update.
1998-10-30  Ulrich Drepper  <drepper@cygnus.com>

	* catgets/gencat.c: Do a better job in initializing dynamic
	memory [PR libc/844].
1998-10-30 18:53:29 +00:00
Ulrich Drepper 00995ca9ef Update.
1998-10-30 18:11  Ulrich Drepper  <drepper@cygnus.com>

	* iconv/gconv_conf.c (__gconv_read_conf): Don't define as
	internal_function since it is called through a pointer.
	* iconv/gconv_db.c (free_derivation): Likewise.
	* iconv/gconv_int.h: Adjust prototype od __gconv_read_conf.

	* posix/wordexp.c: Add internal_function to parse_backtick definition.
	* rt/aio_misc.c: Add internal_function to __aio_free_request,
	__aio_find_req, __aio_find_req_fd, and __aio_enqueue_request
	definitions.
	* rt/aio_notify.c: Add internal_function to __aio_notify_only and
	__aio_notify definitions.
	* wcsmbsload.c: Add internal_function to __wcsmbs_load_conv definition.
1998-10-30 18:18:59 +00:00
Ulrich Drepper e980ca9229 Update.
1998-10-30  Ulrich Drepper  <drepper@cygnus.com>

	* Makerules (build-shlib): Add -O to generate optimized shared
	objects.
1998-10-30 14:37:19 +00:00
Ulrich Drepper 0e19d4a310 Update.
1998-10-30 11:15  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/libm-i387/e_fmod.S: Remove invalid operand size suffix.
	* sysdeps/libm-i387/e_fmodf.S: Likewise.
	* sysdeps/libm-i387/e_fmodl.S: Likewise.
	* sysdeps/libm-i387/s_ilogb.S: Likewise.
	* sysdeps/libm-i387/s_ilogbf.S: Likewise.
	* sysdeps/libm-i387/s_logb.S: Likewise.
	* sysdeps/libm-i387/s_logbf.S: Likewise.
	* sysdeps/libm-i387/s_remquo.S: Likewise.
	* sysdeps/libm-i387/s_remquof.S: Likewise.
	* sysdeps/libm-i387/s_remquol.S: Likewise.
	* sysdeps/libm-i387/s_significand.S: Likewise.
	* sysdeps/libm-i387/s_significandf.S: Likewise.

1998-10-30  Geoff Keating  <geoffk@ozemail.com.au>

	* sysdeps/unix/sysv/linux/powerpc/syscalls.list: Really correct
	_llseek.

1998-10-30  Geoff Keating  <geoffk@ozemail.com.au>

	* math/libm-test.c: Loosen deltas for sin(0.9)^2+cos(0.9)^2.
1998-10-30 11:17:41 +00:00
Ulrich Drepper d4f4d1ca99 Update.
1998-10-30  Geoff Keating  <geoffk@ozemail.com.au> 
 
	* sysdeps/unix/sysv/linux/powerpc/syscalls.list: Really correct  
	_llseek. 
 
1998-10-30  Geoff Keating  <geoffk@ozemail.com.au> 
 
	* math/libm-test.c: Loosen deltas for sin(0.9)^2+cos(0.9)^2.
1998-10-29 23:55:05 +00:00
Ulrich Drepper d8334b9a91 Update.
(printf_unknown): Add label all_done.
1998-10-29 20:36:52 +00:00
Ulrich Drepper b08827487a Update.
* stdio-common/vfprintf.c (vfprintf): Fix the remaining premature
	returns without cleaning up the lock.
1998-10-29 20:29:35 +00:00
Ulrich Drepper 7dc7f7b215 Update.
* sysdeps/unix/sysv/linux/ttyname.c (ttyname): Keep Linux 2.0
	kernels in mind when reading /proc/self/fd/FD.
	* sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
1998-10-29 17:48:35 +00:00
Ulrich Drepper 67a9699992 Update.
* nscd/nscd.c (doc): It's "Name Service" not "Name Switch".
1998-10-29 15:36:59 +00:00
Ulrich Drepper d5cabaa4b0 Update.
* malloc/mtrace.c (tr_where): Replace snprintf call by mempcpy and
	_fitoa.
1998-10-29 15:31:47 +00:00
Ulrich Drepper c5e340c71b Update.
1998-10-29  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Try reading
	/prof/self/fd/FD first.
	* sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.

	* stdio-common/_itoa.h (_fitoa_word): New inline function.  Write
	formatted number starting at given position and return pointer to
	following byte.
	(_fitoa): Likewise, for long long.
1998-10-29 15:17:25 +00:00
Roland McGrath cf3a0eca81 1998-10-29 Roland McGrath <roland@baalperazim.frob.com>
* sysdeps/unix/sysv/linux/bits/sem.h,
	sysdeps/unix/sysv/linux/bits/ipc.h,
	sysdeps/unix/sysv/linux/bits/shm.h,
	sysdeps/unix/sysv/linux/bits/msq.h: Moved to ...
	* sysdeps/gnu/bits/sem.h, sysdeps/gnu/bits/ipc.h,
	sysdeps/gnu/bits/shm.h, sysdeps/gnu/bits/msq.h: ... here,
	so the same bits will be used for the Hurd.
1998-10-29 12:24:28 +00:00
Ulrich Drepper f3c1143bcf Update.
1998-10-29  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/unix/sysv/linux/sigaction.c (__sigaction): Allow
	compiling on systems without rt_sigaction syscall.

1998-10-12  Philip Blundell  <pb@nexus.co.uk>

	* Makeconfig (sysdep-subdirs): Allow Subdirs files to remove
	directories as well as add them.

1998-10-28  Philip Blundell  <pb@nexus.co.uk>

	* sysdeps/unix/sysv/linux/neteconet/ec.h: New file.  Support for
	AF_ECONET sockets as found in recent Linux 2.1 kernels.
	* sysdeps/unix/sysv/linux/Dist: Distribute it.
	* sysdeps/unix/sysv/linux/Makefile: Install it.

1998-10-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* string/bits/string2.h: __USE_GNU already implies __USE_MISC.

1998-10-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* sysdeps/generic/bits/types.h (__FDS_BITS): New macro to access
	fds_bits member.
	* sysdeps/unix/sysv/linux/alpha/bits/types.h (__FDS_BITS): Likewise.
	* sysdeps/unix/sysv/linux/bits/types.h (__FDS_BITS): Likewise.
	* sysdeps/unix/sysv/linux/mips/bits/types.h (__FDS_BITS): Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h (__FDS_BITS):
	Likewise.
	* sysdeps/unix/sysv/sysv4/solaris2/bits/types.h (__FDS_BITS):
	Likewise.
	* sysdeps/generic/bits/select.h (__FD_ZERO, __FD_SET, __FD_CLR,
	__FD_ISSET): Use it.
	* sysdeps/i386/bits/select.h (__FD_ZERO, __FD_SET, __FD_CLR,
	__FD_ISSET): Likewise.
1998-10-29 10:32:47 +00:00
Ulrich Drepper 845dcffc15 Update.
1998-10-12  Philip Blundell  <pb@nexus.co.uk> 
 
	* Makeconfig (sysdep-subdirs): Allow Subdirs files to remove 
	directories as well as add them.
1998-10-28 17:14:02 +00:00
Ulrich Drepper 09236fba29 Update.
1998-10-28  Philip Blundell  <pb@nexus.co.uk> 
 
	* sysdeps/unix/sysv/linux/neteconet/ec.h: New file.  Support for 
	AF_ECONET sockets as found in recent Linux 2.1 kernels. 
	* sysdeps/unix/sysv/linux/Dist: Distribute it. 
	* sysdeps/unix/sysv/linux/Makefile: Install it.
1998-10-28 17:09:17 +00:00
Ulrich Drepper 6e2cc2c147 Update.
1998-10-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de> 
 
	* string/bits/string2.h: __USE_GNU already implies __USE_MISC. 
 
1998-10-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de> 

	* sysdeps/generic/bits/types.h (__FDS_BITS): New macro to access 
	fds_bits member. 
	* sysdeps/unix/sysv/linux/alpha/bits/types.h (__FDS_BITS): Likewise. 
	* sysdeps/unix/sysv/linux/bits/types.h (__FDS_BITS): Likewise. 
	* sysdeps/unix/sysv/linux/mips/bits/types.h (__FDS_BITS): Likewise. 
	* sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h (__FDS_BITS): 
	Likewise. 
	* sysdeps/unix/sysv/sysv4/solaris2/bits/types.h (__FDS_BITS): 
	Likewise. 
	* sysdeps/generic/bits/select.h (__FD_ZERO, __FD_SET, __FD_CLR, 
	__FD_ISSET): Use it. 
	* sysdeps/i386/bits/select.h (__FD_ZERO, __FD_SET, __FD_CLR, 
	__FD_ISSET): Likewise.
1998-10-28 14:41:59 +00:00
Ulrich Drepper c70ca1fa69 Update.
* sysdeps/unix/sysv/linux/powerpc/pread.c: Do not use the i386 version.
	Instead call the system call wrapper function using an 64bit argument.
	* sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
	* sysdeps/unix/sysv/linux/powerpc/pwrite.c: Likewise.
	* sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
1998-10-27 14:19:07 +00:00
Ulrich Drepper 91cc83ff97 Update.
1998-10-28  Geoff Keating  <geoffk@ozemail.com.au>

	* sysdeps/unix/sysv/linux/powerpc/syscalls.list: Tidy up, correct
	llseek.
1998-10-27 12:23:36 +00:00
Ulrich Drepper 7e986b8b0d Update.
* signal/signal.h: Don't include <time.h> for timespec, add
	forward declaration.
1998-10-27 12:07:44 +00:00
Ulrich Drepper 2898c3a514 Update.
1998-10-27  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/i386/bits/select.h [!__USE_XOPEN]: Add special version
	of __FD_* macros which use __fds_bits.
	* sysdeps/generic/bits/select.h: Likewise.
	Reported by Matt McLean <keys@yikes.com>.
1998-10-27 10:27:11 +00:00
Ulrich Drepper c1a61edb7f Update.
1998-10-27  Philip Blundell  <pb@nexus.co.uk>

	* elf/elf.h: Update ARM definitions.
1998-10-27 09:44:35 +00:00
Ulrich Drepper cc3688877a Update.
1998-10-27  Ulrich Drepper  <drepper@cygnus.com>

	* signal/signal.h: Include bits/sigthread.h only for Unix98.
1998-10-27 09:17:20 +00:00
Ulrich Drepper a8eab8b140 Update.
* include/libc-symbols.h: If HAVE_BUILTIN_EXPECT is not defined
	define __builtin_expect as a macro substituting to the first
	argument.
	* config.h.in: Define HAVE_BUILTIN_EXPECT.
	* configure.in: Add test for __builtin_expect.
1998-10-26 17:59:59 +00:00
Ulrich Drepper 665a657ef1 Update.
1998-10-26  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/unix/sysv/linux/bits/types.h: Include
	bits/pthreadtypes.h only not for POSIX 199506.
	* sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
	* sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
1998-10-26 15:43:58 +00:00
Ulrich Drepper 48ab6a9e31 Update.
1998-10-26  Mark Kettenis  <kettenis@phys.uva.nl>

	* sysdeps/unix/sysv/linux/Versions: Move shutdown ...
	* socket/Versions [libc, GLIBC_2.0]: ... to here.
1998-10-26 11:46:26 +00:00
Ulrich Drepper 992af677a8 Update.
1998-10-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* include/stdio.h: Included <stddef.h> for size_t.

	* stdio/stdio.h: Move __path_search, __gen_tempname, __libc_fatal
	to ...
	* include/stdio.h: ...here.
	* libio/stdio.h: Removed __path_search, __gen_tempname, __libc_fatal.
1998-10-26 11:44:32 +00:00
Ulrich Drepper 0e103c6d2a Update.
1998-10-26 11:09  Ulrich Drepper  <drepper@cygnus.com>

	* time/Makefile (tests): Add tst-posixtz.
	* time/tst-posixtz.c: New file.

1998-10-24  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* elf/rtld.c (process_envvars): Accept any non-null value of
	LD_BIND_NOW, as mandated by the ABI.

1998-10-24  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* sysdeps/unix/sysv/linux/pread.c: Rename __syscall_pread64 to
	__syscall_pread.
	* sysdeps/unix/sysv/linux/pwrite.c: Rename __syscall_pwrite64 to
	__syscall_pwrite.
	* sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise.
	* sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
	* sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
	* sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.  Remove
	duplicate entries.
	* sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Remove
	s_pread64 and s_pwrite64.
	* sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise.

1998-10-24  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* sysdeps/unix/sysv/linux/llseek.c: Use INLINE_SYSCALL.
	* sysdeps/unix/sysv/linux/arm/syscalls.list: Rename __sys_llseek
	to __syscall__llseek.
	* sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
	* sysdeps/unix/sysv/linux/i386/syscalls.list: Remove entry for
	__sys_llseek.

1998-10-26  Cristian Gafton  <gafton@redhat.com>

	* sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add s_setfsgid
	and s_setfsuid.

1998-10-26  Ulrich Drepper  <drepper@cygnus.com>

	* time/tzset.c (tz_compute): Correct last patch and describe this
	in a comment.
1998-10-26 11:11:28 +00:00
Andreas Schwab d499a27c88 * sysdeps/unix/sysv/linux/m68k/Makefile [subdir=signal]: Remove
rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait, rt_sigqueueinfo, 
rt_sigaction and rt_sigpending. 
* sysdeps/unix/sysv/linux/m68k/syscalls.list: Remove all entries 
for __syscall_* functions. 
* sysdeps/unix/sysv/linux/m68k/sysdep.h: Implement INLINE_SYSCALL.
1998-10-24  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* sysdeps/unix/sysv/linux/m68k/Makefile [subdir=signal]: Remove
	rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait, rt_sigqueueinfo,
	rt_sigaction and rt_sigpending.
	* sysdeps/unix/sysv/linux/m68k/syscalls.list: Remove all entries
	for __syscall_* functions.
	* sysdeps/unix/sysv/linux/m68k/sysdep.h: Implement INLINE_SYSCALL.
1998-10-26 01:47:41 +00:00
Roland McGrath c2ef793036 1998-10-26 Roland McGrath <roland@baalperazim.frob.com>
* hurd/Versions: Add _hurd_dtable, _hurd_dtablesize,
	_hurd_dtable_lock, _hurd_intern_fd.

	* sysdeps/mach/hurd/Versions: Add cthread_keycreate,
	cthread_getspecific, cthread_setspecific, __libc_getspecific.

	* mach/Versions: Fix typo in last change.


	__mach_port_insert_right __mutex_trylock, __mutex_lock,
	__mutex_unlock, __swtch, __switch, __task_create, __task_suspend,
	__task_set_special_port, __task_terminate, __thread_depress_abort,
	__thread_switch, __vm_allocate, __vm_deallocate, __vm_map.  These
	functions are not used outside libc.
1998-10-26 00:11:36 +00:00
Ulrich Drepper 1938c48953 Update.
1998-10-25  Ulrich Drepper  <drepper@cygnus.com>

	* time/tzset.c (tz_compute): If time to switch to DST is later in
	the year switch back in the next year.
	Reported by jwitford@hutch.com.au.
1998-10-25 22:12:57 +00:00
Roland McGrath a825f8e844 1998-10-24 Mark Kettenis <kettenis@phys.uva.nl>
* mach/Versions: Add evc_wait, mach_error, mach_error_string,
	mach_error_type, mach_msg_destroy, mig_deallocate_reply_port.
	Remove __mach_host_self, __mach_reply_port, __mach_setup_thread,
	__mach_port_allocate, __mach_port_allocate_name,
	__mach_port_deallocate, __mach_port_insert_right, __mutex_init,
	__mutex_trylock, __mutex_lock, __mutex_unlock, __swtch, __switch,
	__task_create, __task_suspend, __task_set_special_port,
	__task_terminate, __thread_depress_abort, __thread_switch,
	__vm_allocate, __vm_deallocate, __vm_map.  These functions are not
	used outside libc.

	* sysdeps/mach/hurd/Versions: New file.
	[libc, GLIBC_2.0]: Add _cthread_exit_routine and
	_cthread_init_routine.  These are set by the Hurd cthreads library.
	Add __getcwd, __mmap.  If we don't add these, the weak definitions in
	the dynamic linker will not be replaced by the corresponding shared
	library routines once they are loaded.

1998-10-21  Mark Kettenis  <kettenis@phys.uva.nl>

	* sysdeps/mach/hurd/i386/init-first.c: Only define
	__libc_enable_secure if PIC is not defined.

1998-10-25  Roland McGrath  <roland@baalperazim.frob.com>

	* argp/Versions: Add _argp_unlock_xxx.  Lock-savvy functions call this
	to recurse into argp.
1998-10-25 20:09:00 +00:00
Ulrich Drepper 4a582094c2 Update.
1998-10-25  Ulrich Drepper  <drepper@cygnus.com>

	* include/features.h: Define __USE_POSIS199506 is _POSIX_C_SOURCE is
	greater or equal than 199506L.

	* sysdeps/generic/bits/types.h (__fd_set): Define element as fds_bits
	only is __USE_XOPEN.  Otherwise use __fds_bits.
	* sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
	* sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
	* sysdeps/unix/sysv/linux/bits/types.h: Likewise.
	* sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.

1998-10-24  H.J. Lu  <hjl@gnu.org>

	* locale/programs/charmap.c (parse_charmap): Accept tok_string
	for <code_set_name>.

1998-10-25  H.J. Lu  <hjl@gnu.org>

	* locale/programs/ld-ctype.c (ctype_finish): Also check
	<space>.

1998-10-25  Ulrich Drepper  <drepper@cygnus.com>

	* signal/signal.h: Include bits/sigthread.h only if __USE_POSIX199506.

	* sysdeps/unix/sysv/linux/bits/types.h: Include pthreadtypes.h only
	if __USE_POSIX199506 or __USE_UNIX98.

1998-10-24 22:34 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>

	* string/bits/string2.h: Inline strdup+friends only if
	__USE_MISC || __USE_GNU (prevents namespace pollution).

1998-10-24  H.J. Lu  <hjl@gnu.org>

	* sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (LOCK_SH,
	LOCK_EX, LOCK_NB, LOCK_UN): Protect with __USE_BSD.
	* sysdeps/unix/sysv/linux/i386/bits/fcntl.h (LOCK_SH, LOCK_EX,
	LOCK_NB, LOCK_UN): Likewise.
	* sysdeps/unix/sysv/linux/mips/bits/fcntl.h (LOCK_SH, LOCK_EX,
	LOCK_NB, LOCK_UN): Likewise.
	* sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (LOCK_SH, LOCK_EX,
	LOCK_NB, LOCK_UN): Likewise.
	* sysdeps/unix/sysv/linux/bits/fcntl.h (LOCK_SH, LOCK_EX,
	LOCK_NB, LOCK_UN): Likewise.

1998-10-24  H.J. Lu  <hjl@gnu.org>

	* libio/ioseekoff.c (_IO_seekoff): Check the valid dir value.

	* libio/rewind.c (rewind): Clear the error.

1998-10-24  H.J. Lu  <hjl@gnu.org>

	* grp/grp.h (getgrent_r, getgrgid_r, getgrnam_r): Add "__" to
	"buffer".

1998-10-24  H.J. Lu  <hjl@gnu.org>

	* sysdeps/unix/sysv/linux/alpha/bits/time.h (timeval): Protect
	with __need_timeval.
	* sysdeps/unix/sysv/linux/mips/bits/time.h (timeval): Likewise.
	* sysdeps/unix/sysv/linux/bits/time.h (timeval): Likewise.

1998-10-24  H.J. Lu  <hjl@gnu.org>

	* signal/signal.h (timespec, siginfo_t, sigwaitinfo, sigtimedwait,
	sigqueue): Protect with __USE_POSIX199309.

1998-10-24  H.J. Lu  <hjl@gnu.org>

	* time/time.h (timespec): Protect with __USE_POSIX199309 instead of
	__USE_POSIX.

1998-10-24  H.J. Lu  <hjl@gnu.org>

	* libio/fileops.c (_IO_new_file_seekoff): Always resync with
	the kernel file offset.
	* libio/oldfileops.c (_IO_old_file_seekoff): Likewise.
1998-10-25 09:11:53 +00:00
Ulrich Drepper 88455219c1 Update.
1998-10-24  H.J. Lu  <hjl@gnu.org>

	* time/tzfile.c (__tzfile_default): Set num_types to 2.

1998-10-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* rt/aio.h: Move __aio_init to...
	* include/aio.h: ...here.

1998-10-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Remove duplicate
	definition of O_LARGEFILE.

1998-10-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* sysdeps/unix/sysv/linux/alpha/pathconf.c (__pathconf): Use path
	as first argument to statfs.

1998-10-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* sysdeps/generic/setenv.c (setenv): Add braces around ambiguous else.

1998-10-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* malloc/mtrace.c: Include <string.h> for strlen.
1998-10-24 21:51:25 +00:00
Ulrich Drepper b0772d3be5 Update.
1998-10-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de> 
 
	* rt/aio.h: Move __aio_init to... 
	* include/aio.h: ...here. 
         
1998-10-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de> 
 
	* sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Remove duplicate 
	definition of O_LARGEFILE. 
 
1998-10-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de> 
 
	* sysdeps/unix/sysv/linux/alpha/pathconf.c (__pathconf): Use path 
	as first argument to statfs. 
 
1998-10-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de> 
 
	* sysdeps/generic/setenv.c (setenv): Add braces around ambiguous else. 
 
1998-10-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de> 
 
	* malloc/mtrace.c: Include <string.h> for strlen.
1998-10-24 15:02:35 +00:00
Roland McGrath 184edc95da * sysdeps/mach/hurd/bits/environments.h: New file. 1998-10-24 11:15:15 +00:00
Roland McGrath 3c06881689 1998-10-24 Roland McGrath <roland@baalperazim.frob.com>
* sysdeps/mach/hurd/dl-sysdep.c (__getcwd): New weak function.

	* mach/Versions, hurd/Versions: Add numerous symbols.
	Remove libmachuser and libhurduser sections, punt
	versioning for those libraries for now.

	* misc/Versions: Add reboot here; it exists on all platforms.
	* sysdeps/unix/sysv/linux/Versions: Remove reboot here.
1998-10-24 01:36:01 +00:00
Ulrich Drepper fc40fc6c92 Update.
1998-10-23  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_NOFOLLOW): New
	macro.
	* sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
	* sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
	* sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_LARGEFILE,
	O_NOFOLLOW, O_DIRECT): New macros.
	(O_DIRECTORY): Correct definition according to official 2.1.126.
	* sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_DIRECTORY,
	O_NOFOLLOW): New macros.
1998-10-23 23:27:48 +00:00
Roland McGrath d606f528f7 * include/ldsodefs.h: Test HAVE_ELF instead of __ELF__. 1998-10-23 23:12:28 +00:00
Roland McGrath b1fcf68625 1998-10-24 Roland McGrath <roland@baalperazim.frob.com>
* sysdeps/mach/hurd/opendir.c (__opendir): Return ENOENT for "".
	(__opendir): Add trailing slash to name for open, for ENOTDIR check.

	size_t is defined.  Some reordering of definitions to make
1998-10-23 23:00:53 +00:00
Ulrich Drepper 0d486134da Update.
* sysdeps/unix/sysv/linux/i386/Dist: Add setresuid.c, setresgid.c,
	setfsuid.c, and setfsgid.c.
	* sysdeps/unix/sysv/linux/arm/Dist: Likewise.
	* sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
1998-10-23 14:05:15 +00:00