platform/upstream/glibc.git
24 years agoUpdate.
Ulrich Drepper [Wed, 18 Aug 1999 04:14:16 +0000 (04:14 +0000)]
Update.

* timezone/tst-timezone.c (tests): Update America/Sao_Paulo test
case for new tzdata.

24 years agoUpdate.
Ulrich Drepper [Wed, 18 Aug 1999 03:42:39 +0000 (03:42 +0000)]
Update.

* sysdeps/unix/sysv/linux/alpha/bits/types.h: Make __useconds_t
unsigned.
* sysdeps/unix/sysv/linux/bits/types.h: Likewise.
* sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
* sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.

* sysdeps/generic/bits/types.h: Make __useconds_t unsigned.

* sysdeps/generic/ualarm.c (ualarm): Change return value and
parameter type to useconds_t.
* sysdeps/unix/bsd/ualarm.c: Likewise.

* sysdeps/generic/usleep.c (usleep): Change parameter type to
useconds_t.
* sysdeps/unix/sysv/linux/usleep.c: Likewise.
* sysdeps/mach/usleep.c: Likewise.

24 years agoUpdate.
Ulrich Drepper [Wed, 18 Aug 1999 03:13:30 +0000 (03:13 +0000)]
Update.

* locale/weight.h: Include <errno.h>.

24 years agoUpdate.
Ulrich Drepper [Wed, 18 Aug 1999 01:18:34 +0000 (01:18 +0000)]
Update.

* posix/sys/types.h: Define type useconds_t if not done already.
* posix/unistd.h: Likewise.  Use this in ualarm and usleep
declarations.
* sysdeps/generic/bits/types.h: Define type __useconds_t.
* sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
* sysdeps/unix/sysv/linux/bits/types.h: Likewise.
* sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
* sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.

24 years agoUpdate.
Ulrich Drepper [Wed, 18 Aug 1999 00:34:47 +0000 (00:34 +0000)]
Update.

* dirent/dirent.h (telldir): Change return type to long int.
* sysdeps/generic/telldir.c: Likewise.
* sysdeps/mach/hurd/telldir.c: Likewise.
* sysdeps/unix/telldir.c: Likewise.
* sysdeps/unix/bsd/telldir.c: Likewise.  Fix locking problem.

24 years agoUpdate.
Ulrich Drepper [Wed, 18 Aug 1999 00:23:27 +0000 (00:23 +0000)]
Update.

1999-08-17  Ulrich Drepper  <drepper@cygnus.com>

* locale/weight.h: Set errno if an invalid character is found.

24 years agoUpdate.
Ulrich Drepper [Tue, 17 Aug 1999 22:42:00 +0000 (22:42 +0000)]
Update.

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

* math/libm-test.c (erfc_test): Add test for example from PR
libc/1259.
(erf_test): Likewise.

24 years agoUpdate.
Ulrich Drepper [Tue, 17 Aug 1999 22:33:08 +0000 (22:33 +0000)]
Update.

* sysdeps/ieee754/dbl-64/s_erf.c: Correct type in performance increase
rewrite.  Patch by Alan Stern <stern@kitsilano.rowland.org>.

24 years agoUpdate.
Ulrich Drepper [Tue, 17 Aug 1999 20:49:23 +0000 (20:49 +0000)]
Update.

* timezone/private.h: Update from tzcode1999e.
* timezone/zic.c: Likewise.

* timezone/africa: Update from tzdata1999e.
* timezone/antarctica: Likewise.
* timezone/asia: Likewise.
* timezone/australasia: Likewise.
* timezone/europe: Likewise.
* timezone/leapseconds: Likewise.
* timezone/northamerica: Likewise.
* timezone/southamerica: Likewise.

24 years agoUpdate.
Ulrich Drepper [Tue, 17 Aug 1999 16:00:14 +0000 (16:00 +0000)]
Update.

1999-08-17  Ulrich Drepper  <drepper@cygnus.com>

* stdio-common/vfprintf.c (process_string_arg): Correct last patch
and write correct number of bytes in case of %ls with precision.
Reported by Shinya Hanataka <hanataka@abyss.rim.or.jp>.

24 years agoUpdate.
Ulrich Drepper [Tue, 17 Aug 1999 01:37:38 +0000 (01:37 +0000)]
Update.

* nscd/nscd.init: Test for kernel version and make LSB compliant.
Patch by Christian Gafton.

24 years agoUpdate.
Ulrich Drepper [Tue, 17 Aug 1999 01:28:07 +0000 (01:28 +0000)]
Update.

* sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Define O_DSYNC and
O_RSYNC.  Patch by Christian Gafton.

24 years agoUpdate.
Ulrich Drepper [Tue, 17 Aug 1999 01:06:30 +0000 (01:06 +0000)]
Update.

* stdio-common/vfprintf.c (process_string_arg) [printf]: Handle
possibly unterminated strings for %ls when a precision is
specified.
Patch by Akira YOSHIYAMA <yosshy@tkf.att.ne.jp>.

24 years agoUpdate.
Ulrich Drepper [Mon, 16 Aug 1999 17:09:08 +0000 (17:09 +0000)]
Update.

* charmaps/ISO-8859-13: Correct typo.
* charmaps/ISO-8859-14: Likewise.
* charmaps/ISO-8859-15: Likewise.

24 years agoUpdate.
Ulrich Drepper [Mon, 16 Aug 1999 17:04:22 +0000 (17:04 +0000)]
Update.

1999-08-16  Ulrich Drepper  <drepper@cygnus.com>

* charmaps/CP1258: Remove spurious <percent-sign/> entry.
* charmaps/IBM866: Likewise.
* charmaps/IBM874: Likewise.
* charmaps/ISO-8859-13: Likewise.
* charmaps/ISO-8859-14: Likewise.
* charmaps/ISO-8859-15: Likewise.
* charmaps/MAC-UK: Likewise.

24 years agoUpdate.
Ulrich Drepper [Mon, 16 Aug 1999 16:53:40 +0000 (16:53 +0000)]
Update.

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

* charmaps/UTF8: Add entries for /x00.  Remove spurious
<percent-sign/> entry.  Correct typo.

24 years agoUpdate.
Ulrich Drepper [Mon, 16 Aug 1999 07:05:34 +0000 (07:05 +0000)]
Update.

1999-08-16  Ulrich Drepper  <drepper@cygnus.com>

* wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Call
update_conversion_ptrs.
Reported by Shinya Hanataka <hanataka@abyss.rim.or.jp>.

* wcsmbs/wcsnlen.c: Correct decrement of maxlen.
Reported by Shinya Hanataka <hanataka@abyss.rim.or.jp>.

24 years agoUpdate.
Ulrich Drepper [Mon, 16 Aug 1999 06:52:42 +0000 (06:52 +0000)]
Update.

1999-08-15  Ulrich Drepper  <drepper@cygnus.com>

* wcsmbs/wcsnlen.c: Correct decrement maxlen.

* wcsmbs/Makefile (tests): Add tst-wcsnlen.
* wcsmbs/tst-wcsnlen.c: New file.

24 years agoUpdate.
Ulrich Drepper [Mon, 16 Aug 1999 06:06:21 +0000 (06:06 +0000)]
Update.

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

* libio/ioputs.c (_IO_puts): Add missing brace.

24 years agoUpdate.
Ulrich Drepper [Mon, 16 Aug 1999 02:53:37 +0000 (02:53 +0000)]
Update.

1999-07-20  Geoff Keating  <geoffk@cygnus.com>

* math/libm-test.c: Tweak deltas for a clean run on ppc.

24 years agoUpdate.
Ulrich Drepper [Mon, 16 Aug 1999 01:21:50 +0000 (01:21 +0000)]
Update.

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

* stdio-common/vfprintf.c (ORIENT): Check for the old stream.
(vfprintf): Likewise.
* stdio-common/vfscanf.c (ORIENT): Likewise.
* libio/genops.c (__underflow): Likewise.
(__uflow): Likewise.
* libio/iofputs.c (_IO_fputs): Likewise.
* libio/ioftell.c (_IO_ftell): Likewise.
* libio/iofwrite.c (_IO_fwrite): Likewise.
* libio/ioputs.c (_IO_puts): Likewise.
* libio/iosetbuffer.c (_IO_setbuffer): Likewise.
* libio/iosetvbuf.c (_IO_setvbuf): Likewise.

24 years agoUpdate.
Ulrich Drepper [Sun, 15 Aug 1999 22:50:39 +0000 (22:50 +0000)]
Update.

1999-08-15  Ulrich Drepper  <drepper@cygnus.com>

* iconv/gconv_builtin.h: Add ISO registry alias for UTF8.

24 years agoUpdate.
Ulrich Drepper [Sun, 15 Aug 1999 21:14:40 +0000 (21:14 +0000)]
Update.

* rt/aio_notify.c (__aio_notify_only): Take extra parameter.  Pass it
* resolv/nss_dns/dns-host.c (getanswer_r): Cleanup out-of-buffer
handling.
* manual/install.texi (Configuring and compiling): Mention CFLAGS.

24 years agoUpdate.
Ulrich Drepper [Sun, 15 Aug 1999 20:07:30 +0000 (20:07 +0000)]
Update.

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

* manual/job.texi (Process Group Functions): Document getpgid,
getsid.

24 years agoUpdate.
Ulrich Drepper [Sun, 15 Aug 1999 18:14:36 +0000 (18:14 +0000)]
Update.

1999-08-15  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/unix/sysv/linux/aio_sigqueue.c: Take extra parameter and
initialize si_pid from it.
* sysdeps/generic/aio_sigqueue.c (__aio_sigqueue): Take extra
parameter.
* rt/aio_misc.c (__aio_enqueue_request): Initialize caller_pid.
* rt/aio_misc.h (struct waitlist): Add caller_pid element.
(struct requestlist): Likewise.
Adjust prototypes of __aio_notify_only and __aio_sigqueue.
* rt/notify.c (__aio_notify_only): Take extra parameter.  Pass it
to __aio_sigqueue.
(__aio_notify): Pass caller PID to __aio_notify_only.
* rt/aio_suspend.c: Initialize caller_pid.
* rt/lio_listio.c: Likewise.
* rt/lio_listio64.c: Likewise.

* rt/lio_listio.c: If nothing has to be done free mutex before
signalling.
* rt/lio_listio64.c: Likewise.

24 years agoUpdate.
Ulrich Drepper [Sun, 15 Aug 1999 16:50:20 +0000 (16:50 +0000)]
Update.

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

* resolv/nss_dns/dns-host.c (getanswer_r): Cleanup out-of-
buffer handling.

1999-08-15  Ulrich Drepper  <drepper@cygnus.com>

* elf/elf.h: Define ElfXX_Versym.
* elf/link.h (struct link_map): Use ElfXX_Versym for l_versyms
definition.

* stdio-common/vfprintf.c (process_string_arg): Handle precisions
for string output correctly in the wide character case.
Patch by Akira YOSHIYAMA <yosshy@tkf.att.ne.jp>.

* intl/locale.alias: Add catalan.

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

* manual/install.texi (Configuring and compiling): Mention
CFLAGS.

1999-08-15  Ulrich Drepper  <drepper@cygnus.com>

* po/pt_BR.po: New file.

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

* math/libm-test.c (yn_test): Adjust deltas for i386.
(ccosh_test): Likewise.
(jn_test): Likewise.

1999-08-15  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/generic/_G_config.h: Get definition of mbstate_t.

24 years agoFix typo.
Ulrich Drepper [Sun, 15 Aug 1999 16:10:25 +0000 (16:10 +0000)]
Fix typo.

* locales/ca_ES: New file.

24 years agoUpdate.
Ulrich Drepper [Sun, 15 Aug 1999 16:10:09 +0000 (16:10 +0000)]
Update.

1999-08-15  Ulrich Drepper  <drepper@cygnus.com>

* localedata/locales/ca_ES: New file.
Contributed by Joan Carles Soler <Joan.Soler@uv.es>.

* SUPPORTED: Add ca_ES.

24 years agoUpdate.
Ulrich Drepper [Fri, 13 Aug 1999 22:39:09 +0000 (22:39 +0000)]
Update.

1999-08-13  Ulrich Drepper  <drepper@cygnus.com>

* stdio-common/tstscanf.c: Add test for hexadecimal float parsing
problem.

24 years agoUpdate.
Ulrich Drepper [Fri, 13 Aug 1999 20:16:30 +0000 (20:16 +0000)]
Update.

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

* configure.in: install-sh lives now in scripts subdir.
PR libc/1255 (bug 4).

24 years agoUpdate.
Ulrich Drepper [Fri, 13 Aug 1999 20:09:32 +0000 (20:09 +0000)]
Update.

* sysdeps/generic/_G_config.h: Update _G_iconv_t type from Linux
version.

24 years agoUpdate.
Ulrich Drepper [Fri, 13 Aug 1999 19:59:17 +0000 (19:59 +0000)]
Update.

1999-08-13  Ulrich Drepper  <drepper@cygnus.com>

* po/fr.po: Update.

24 years agoUpdate.
Ulrich Drepper [Fri, 13 Aug 1999 19:53:50 +0000 (19:53 +0000)]
Update.

1999-08-11  Thorsten Kukuk  <kukuk@suse.de>

* nis/nis_callback.c (internal_nis_do_callback): Free my_pollfd.

* stdio-common/vfscanf.c: Don't recognize hexadecimal floats without

24 years agoUpdate.
Ulrich Drepper [Fri, 13 Aug 1999 19:41:35 +0000 (19:41 +0000)]
Update.

1999-08-13  Ulrich Drepper  <drepper@cygnus.com>

* stdio-common/vfscanf.c: Don't recognize hexadecimal floats with
exponent.

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

* elf/dl-load.c (_dl_map_object_from_fd): Fix check for valid elf
header.

24 years agoUpdate.
Ulrich Drepper [Tue, 10 Aug 1999 05:41:26 +0000 (05:41 +0000)]
Update.

1999-08-09  Scott Bambrough  <scottb@netwinder.org>

* elf/elf.h: Added definition of ELFOSABI_ARM.
* elf/dl-load.c (_dl_map_object_from_fd): Use VALID_ELF_HEADER,
VALID_ELF_OSABI, VALID_ELF_ABIVERSION to decide whether an
object's header and ABI values are acceptable.
(VALID_ELF_HEADER): New macro; provide default definition.
(VALID_ELF_OSABI): New macro; provide default definition.
(VALID_ELF_ABIVERSION): New macro; provide default definition.
* sysdeps/arm/dl-machine.h Define ARM specific versions of
VALID_ELF_HEADER, VALID_ELF_OSABI, VALID_ELF_ABIVERSION.

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

* inet/tst-ipnode.c (main): Don't compare integer with NULL.

1999-08-09  Thorsten Kukuk  <kukuk@suse.de>

* sunrpc/svc_run.c (svc_run): Free my_pollfd.

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

* sunrpc/svc.c (svc_getreq_poll): Fix argument of xprt_unregister.

24 years agoUpdate.
Ulrich Drepper [Mon, 9 Aug 1999 05:35:13 +0000 (05:35 +0000)]
Update.

* sysdeps/ieee754/ieee754.h: Handle platforms with special
__FLOAT_WORD_ORDER.  Patch by Joel Klecker <jk@espy.org>.

24 years agoUpdate.
Ulrich Drepper [Sun, 8 Aug 1999 22:20:38 +0000 (22:20 +0000)]
Update.

1999-08-08  Ulrich Drepper  <drepper@cygnus.com>

* string/bits/string2.h: Mark void* operations as extensions.
* sysdeps/i386/i486/bits/string.h: Likewise.

* debug/Makefile (routines): Add noophooks.
(extra-libs): Add libpcprofile.  Add rules to build libpcprofile.
* debug/noophooks.c: New file.
* debug/pcprofile.c: New file.

24 years agoUpdate.
Ulrich Drepper [Sat, 7 Aug 1999 05:42:26 +0000 (05:42 +0000)]
Update.

* rt/aio_misc.c (handle_fildes_io): Imitate the behaviour on other
systems which allow using the functions also on non-seekable
devices.

24 years agoUpdate.
Ulrich Drepper [Sat, 7 Aug 1999 03:01:02 +0000 (03:01 +0000)]
Update.

* resolv/res_send.c (res_send): Recompute timeout for poll for
each jump to `wait'.

24 years agoUpdate.
Ulrich Drepper [Fri, 6 Aug 1999 23:23:02 +0000 (23:23 +0000)]
Update.

* inet/netinet/in.h (IN6ADDR_ANY_INIT): Add correct number of
braces to avoid warnings.
(IN6ADDR_LOOPBACK_INIT): Likewise.

24 years agoUpdate.
Ulrich Drepper [Fri, 6 Aug 1999 23:01:00 +0000 (23:01 +0000)]
Update.

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

* sysdeps/unix/sysv/linux/bits/socket.h: Fix typo (MSG_TRUNC ->
MSG_DONTWAIT).

24 years agoUpdate.
Ulrich Drepper [Fri, 6 Aug 1999 22:57:19 +0000 (22:57 +0000)]
Update.

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

* malloc/malloc.c: Initialize __libc_pagesize early.

24 years agoUpdate.
Ulrich Drepper [Fri, 6 Aug 1999 22:27:07 +0000 (22:27 +0000)]
Update.

* string/string-inlines.c: Undefined __USE_STRING_INLINES before
defining it.

24 years agoUpdate.
Ulrich Drepper [Fri, 6 Aug 1999 20:12:31 +0000 (20:12 +0000)]
Update.

* inet/Makefile (tests): Add tst-ipnode.

24 years agoUpdate.
Ulrich Drepper [Fri, 6 Aug 1999 20:11:37 +0000 (20:11 +0000)]
Update.

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

* inet/tst-ipnode.c: New file.

24 years agoUpdate.
Ulrich Drepper [Fri, 6 Aug 1999 17:23:27 +0000 (17:23 +0000)]
Update.

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

* sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_DSYNC, O_RSYNC):
New definitions.
(O_DIRECTORY, O_NOFOLLOW): Define only if __USE_GNU.
(O_LARGEFILE): Define only if __USE_LARGEFILE64.
* sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_DSYNC, O_RSYNC):
New definitions.
(O_LARGEFILE): Define only if __USE_LARGEFILE64.
* sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_LARGEFILE): Likewise.

24 years agoUpdate.
Ulrich Drepper [Fri, 6 Aug 1999 17:20:19 +0000 (17:20 +0000)]
Update.

1999-08-06  Jakub Jelinek  <jj@ultra.linux.cz>

* sysdeps/ieee754/ldbl-128/e_expl.c: New file.
* sysdeps/ieee754/ldbl-128/t_expl.h: New file.
* sysdeps/ieee754/ldbl-128/Dist: Add t_expl.h.

24 years agoUpdate.
Ulrich Drepper [Fri, 6 Aug 1999 16:35:33 +0000 (16:35 +0000)]
Update.

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

* resolv/res_send.c (res_send): Don't test file descriptor for
range, we use poll now.  [PR libc/1240]

24 years agoUpdate.
Ulrich Drepper [Thu, 5 Aug 1999 18:20:47 +0000 (18:20 +0000)]
Update.

1999-08-05  Ulrich Drepper  <drepper@cygnus.com>

* libio/genops.c (_IO_flush_all): Don't access elements beyond what
2.0 defined if they are not available.

24 years agoUpdate.
Ulrich Drepper [Thu, 5 Aug 1999 16:58:38 +0000 (16:58 +0000)]
Update.

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

* sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_RSYNC, O_DSYNC):
Define.

24 years agoUpdate.
Ulrich Drepper [Thu, 5 Aug 1999 01:33:18 +0000 (01:33 +0000)]
Update.

* hesiod/hesiod.c: Avoid emitting rcsid in object file.

24 years agoUpdate.
Ulrich Drepper [Thu, 5 Aug 1999 00:21:21 +0000 (00:21 +0000)]
Update.

* rt/aio_fsync.c: Test OP parameter for correct values.

24 years agoUpdate.
Ulrich Drepper [Thu, 5 Aug 1999 00:10:40 +0000 (00:10 +0000)]
Update.

* rt/aio_fsync.c: Likewise.

24 years agoUpdate.
Ulrich Drepper [Thu, 5 Aug 1999 00:04:45 +0000 (00:04 +0000)]
Update.

* rt/aio_write.c: Fix return value.
* rt/aio_write64.c: Likewise.

24 years agoUpdate.
Ulrich Drepper [Wed, 4 Aug 1999 23:55:20 +0000 (23:55 +0000)]
Update.

1999-08-04  Ulrich Drepper  <drepper@cygnus.com>

* rt/aio_read.c: Fix return value.
* rt/aio_read64.c: Likewise.
Reported by Christian Gafton.

* rt/aio_misc.c: Set errno at correct place.

24 years agoUpdate.
Ulrich Drepper [Wed, 4 Aug 1999 16:01:55 +0000 (16:01 +0000)]
Update.

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

* sysdeps/unix/sysv/linux/alpha/getsysstats.c (GET_NPROCS_PARSER):
Initialize result to one.
(GET_NPROCS_CONF_PARSER): Likewise.

24 years agoUpdate.
Ulrich Drepper [Wed, 4 Aug 1999 00:09:53 +0000 (00:09 +0000)]
Update.

1999-08-03  Ulrich Drepper  <drepper@cygnus.com>

* inet/ether_hton.c: Pass errno pointer to NSS function.
* inet/getnetgrent_r.c: Likewise.
Reported by Marty Leisner <leisner@rochester.rr.com>.

24 years agoUpdate.
Ulrich Drepper [Tue, 3 Aug 1999 17:22:13 +0000 (17:22 +0000)]
Update.

1999-08-02  Thorsten Kukuk  <kukuk@suse.de>

* nis/nis_callback.c: Fix port problem on big-endian machines
* sunrpc/clnt_udp.c: Cast to uint32_t pointer, not short. RPC
fields are always 32 bit.
Patches from Paul Mackerras <paulus@cs.anu.edu.au>

* nis/nss_nis/nis-service.c: Remove htons, port is always in
network-byte-order.
* nis/nss_nisplus/nisplus-service.c: Rename number to port.

24 years agoUpdate.
Ulrich Drepper [Tue, 3 Aug 1999 17:09:27 +0000 (17:09 +0000)]
Update.

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

* sysdeps/posix/sigset.c: Unblock the signal after setting its
disposition.  Use SIG_BLOCK/SIG_UNBLOCK instead of SIG_SETMASK to
avoid two calls to sigprocmask.

24 years agoUpdate.
Ulrich Drepper [Mon, 2 Aug 1999 23:56:41 +0000 (23:56 +0000)]
Update.

1999-08-02  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/generic/s_nexttowardf.c: Fix typo.

24 years agoFix typo.
Ulrich Drepper [Mon, 2 Aug 1999 22:12:22 +0000 (22:12 +0000)]
Fix typo.

* nis/nis_callback.c (internal_nis_do_callback): Use poll()

24 years agoUpdate.
Ulrich Drepper [Mon, 2 Aug 1999 20:04:56 +0000 (20:04 +0000)]
Update.

1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>

* sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (__sigaction):
Only allow rt signal frames. No SA_SIGINFO signals will have the
siginfo_t just not filled out with SI_NOINFO code.
* sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h
(register_dump): Take the above change into account.
* sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
(rt_signal_frame): Likewise.

* sysdeps/unix/sysv/linux/sparc/getsysstats.c: New file.

24 years agoUpdate.
Ulrich Drepper [Mon, 2 Aug 1999 19:56:07 +0000 (19:56 +0000)]
Update.

1999-08-02  Thorsten Kukuk  <kukuk@suse.de>

* nis/nis_callback.c (internal_nis_do_callback) use poll()
instead of select().

1999-08-02  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/generic/s_nextafter.c: Define __nexttoward and
nexttoward so something else so that aliasing works.

1999-08-02  Thorsten Kukuk  <kukuk@suse.de>

* sysdeps/generic/math_ldbl.h: Fix typo.
* sysdeps/generic/strtold.c: Remove unbalanced #endif.
* sysdeps/alpha/fpu/e_sqrt.c: Use new path for e_sqrt.c.

1999-08-02  Ulrich Drepper  <drepper@cygnus.com>

* elf/resolvfail.c: Include stdio.h.  Also test dlerror.

24 years agoUpdate.
Ulrich Drepper [Sun, 1 Aug 1999 21:43:03 +0000 (21:43 +0000)]
Update.

* elf/Makefile (tests): Add resolvfail.  Add rules to build the
program.
* elf/resolvfail.c: New file.

24 years agoUpdate.
Ulrich Drepper [Sun, 1 Aug 1999 19:24:38 +0000 (19:24 +0000)]
Update.

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

* elf/dl-sym.c (_dl_sym): Always determine module of the caller to
pass it to _dl_lookup_symbol.

* elf/dl-error.c (_dl_signal_error): Optimize string generation a
bit.  Reword message.

* dlfcn/dlerror.c: Make code thread-safe.

24 years agoPretty print.
Ulrich Drepper [Sun, 1 Aug 1999 18:04:40 +0000 (18:04 +0000)]
Pretty print.

24 years ago1999-07-31 Roland McGrath <roland@baalperazim.frob.com>
Roland McGrath [Sun, 1 Aug 1999 02:43:05 +0000 (02:43 +0000)]
1999-07-31  Roland McGrath  <roland@baalperazim.frob.com>

* hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Fix msgt_size member
initializer in CHECK: a bit size, not the type code repeated!

24 years ago1999-07-31 Roland McGrath <roland@baalperazim.frob.com>
Roland McGrath [Sun, 1 Aug 1999 02:41:04 +0000 (02:41 +0000)]
1999-07-31  Roland McGrath  <roland@baalperazim.frob.com>

* hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Fix msgt_size member
initializer in CHECK: a bit size, not the type code repeated!

24 years agoUpdate.
Ulrich Drepper [Sat, 31 Jul 1999 22:56:48 +0000 (22:56 +0000)]
Update.

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

* string/tester.c: Add tests with constant arguments for strcpy
and stpcpy.

24 years agoUpdate.
Ulrich Drepper [Sat, 31 Jul 1999 22:27:07 +0000 (22:27 +0000)]
Update.

1999-07-31  H.J. Lu  <hjl@gnu.org>

* string/bits/string2.h (__strcpy_small): Fix a typo.

24 years agoUpdate.
Ulrich Drepper [Sat, 31 Jul 1999 07:21:56 +0000 (07:21 +0000)]
Update.

* Makeconfig (link-libc): Always define it, not only for shared
builds.

24 years agoUpdate.
Ulrich Drepper [Sat, 31 Jul 1999 07:16:41 +0000 (07:16 +0000)]
Update.

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

* sysdeps/i386/fpu/e_pow.S: Use addl %esp instead of pop.
* sysdeps/i386/fpu/e_powf.S: Likewise.
* sysdeps/i386/fpu/e_powl.S: Likewise.  [PR libc/1213].

* sysdeps/generic/e_lgammal_r.c: Set *signgam to zero.
* sysdeps/generic/e_gammal_r.c: Likewise.  [PR libc/1212].

24 years agoUpdate.
Ulrich Drepper [Sat, 31 Jul 1999 06:11:24 +0000 (06:11 +0000)]
Update.

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

* sysdeps/unix/sysv/linux/getsysstats.c (GET_NPROCS_PARSER): New
definition.
(__get_nprocs): Use it.
(__get_nprocs_conf): Define as separate function if
GET_NPROCS_CONF_PARSER is defined.
* sysdeps/unix/sysv/linux/alpha/getsysstats.c: New file.

* include/sys/sysinfo.h: New file.
* sysdeps/generic/sys/sysinfo.h: Remove declaration of internal
interface.
* sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.

1999-07-30  H.J. Lu  <hjl@gnu.org>

* libio/iofflush.c (fflush_unlocked): Weak aliase if
_IO_MTSAFE_IO is not defined.
* libio/clearerr.c (clearerr_unlocked): Likewise.
* libio/feof.c (feof_unlocked): Likewise.
* libio/ferror.c (ferror_unlocked): Likewise.
* libio/fputc.c (fputc_unlocked): Likewise.
* libio/getc.c (getc_unlocked, fgetc_unlocked): Likewise.
* libio/getchar.c (getchar_unlocked): Likewise.
* libio/putc.c (putc_unlocked): Likewise.
* libio/putchar.c (putchar_unlocked): Likewise.

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

* sunrpc/Versions: Add svc_getreq_common, svc_getreq_poll,
  svc_max_pollfd and svc_pollfd to GLIBC_2.2
* sunrpc/rpc/svc.h: Use rpc*_t types, add new prototypes
  for svc_run/poll interface.
* sunrpc/rpc/types.h: Add rpc*_t typedefs.
* sunrpc/rpc_common.c: Add svc_pollfd and svc_max_pollfd as
  global variable.
* sunrpc/svc.c: Add svc_getreq_poll and svc_getreq_common,
  rewrite other svc_getreq* functions to use svc_getreq_common.
* sunrpc/svc_run.c: Use poll().

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

* Makerules: Put sysd-versions and Versions.all on
postclean-generated instead of common-generated.

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

* manual/time.texi (Basic CPU Time): Note that clock_t can wrap
around and CLOCKS_PER_SEC is 1e6.

24 years agoUpdate.
Ulrich Drepper [Sat, 31 Jul 1999 05:15:48 +0000 (05:15 +0000)]
Update.

* configure.in: Add test for local label subtraction.
* config.h.in: Ad HAVE_SUBTRACT_LOCAL_LABELS.
* stdio-common/vfprintf.c (vfprintf): Use subtraction of local
labels to reduce number of runtime relocations and move jump
tables in read-only seciton.

24 years agoUpdate.
Ulrich Drepper [Sat, 31 Jul 1999 04:34:31 +0000 (04:34 +0000)]
Update.

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

* malloc/malloc.c (ptmalloc_init): Correct last patch.  The
assignment cannot be moved.

24 years agoUpdate.
Ulrich Drepper [Fri, 30 Jul 1999 06:32:48 +0000 (06:32 +0000)]
Update.

* malloc/malloc.c (ptmalloc_init): Also initialize __libc_pagesize
if no threads are used.

* libio/iofwrite.c: Add weak alias for _unlocked function if not
_IO_MTSAFE_IO.
* libio/iofread.c: Likewise.
* libio/iofgets.c: Likewise.
* libio/iofputs.c: Likewise.

* sysdeps/generic/bits/libc-lock.h (__libc_cleanup_end): New
definition.

24 years agoUpdate.
Ulrich Drepper [Thu, 29 Jul 1999 23:46:10 +0000 (23:46 +0000)]
Update.

1999-07-29  H.J. Lu  <hjl@gnu.org>

* stdlib/mbtowc.c: Include <string.h>.
* stdlib/wctomb.c: Likewise.
* sysdeps/unix/sysv/linux/fstatfs64.c: Likewise.
* sysdeps/unix/sysv/linux/statfs64.c: Likewise.

* misc/mntent_r.c: Include <alloca.h>.
* elf/dl-runtime.c: Likewise.

24 years agoUpdate.
Ulrich Drepper [Thu, 29 Jul 1999 22:34:58 +0000 (22:34 +0000)]
Update.

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

* misc/efgcvt.c (NDIGIT_MAX): Provide precomputed constants for
all floating point formats supported by gcc.  Error out for
unhandled precisions.
* misc/efgcvt_r.c (NDIGIT_MAX): Likewise.
* misc/qefgcvt.c (NDIGIT_MAX): Likewise.
* misc/qefgcvt_r.c (NDIGIT_MAX): Likewise.

24 years agoUpdate.
Ulrich Drepper [Thu, 29 Jul 1999 22:25:03 +0000 (22:25 +0000)]
Update.

* stdlib/Makefile (tests): Add tst-environ.

24 years agoUpdate.
Ulrich Drepper [Thu, 29 Jul 1999 20:40:05 +0000 (20:40 +0000)]
Update.

* sysdeps/generic/setenv.c: Move setenv code in new function
__add_to_environ.  Add new parameter specifying already
constructed string for the environment.
(setenv): Call __add_to_environ with new parameter set to NULL.
(unsetenv): Really test all elements for duplicated name.  Missed those
cases where the two are following each other.
* sysdeps/generic/putenv.c: Use __add_to_environ instead of setenv.
* include/stdlib.h: Add prototype of __add_to_environ.
* stdlib/tst-environ.c: New file.

24 years agoTests for setenv, unsetenv, putenv, etc.
Ulrich Drepper [Thu, 29 Jul 1999 20:36:56 +0000 (20:36 +0000)]
Tests for setenv, unsetenv, putenv, etc.

24 years ago1999-07-27 Mark Kettenis <kettenis@gnu.org>
Roland McGrath [Thu, 29 Jul 1999 18:35:29 +0000 (18:35 +0000)]
1999-07-27  Mark Kettenis  <kettenis@gnu.org>

* sysdeps/mach/hurd/i386/init-first.c (init): Move the inline
assembler code to switch stacks and call init1 outside this
function.  Inside `init' the code was optimized away by gcc
2.95 since it was "clearly" unreachable.
* sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
Do something similar for the trampoline code.

24 years agoUpdate.
Ulrich Drepper [Thu, 29 Jul 1999 17:13:56 +0000 (17:13 +0000)]
Update.

* sysdeps/i386/bits/string.h (__memset_cc): Fix typo in last patch.

24 years agoUpdate.
Ulrich Drepper [Thu, 29 Jul 1999 15:48:47 +0000 (15:48 +0000)]
Update.

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

* nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups): Correct size
argument in realloc call.
* nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups):
Likewise.
Reported by Danny Braniss <danny@cs.huji.ac.il>.

24 years agoUpdate.
Ulrich Drepper [Thu, 29 Jul 1999 06:42:27 +0000 (06:42 +0000)]
Update.

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

* manager.c: Remove inclusion of <linux/tasks.h> since it's not
needed anymore.

24 years agoUpdate.
Ulrich Drepper [Wed, 28 Jul 1999 22:39:04 +0000 (22:39 +0000)]
Update.

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

* misc/efgcvt.c: Use IEEE 854 formula to compute the number of digits
to print.
* misc/efgcvt_r.c: Likewise.
* misc/qefgcvt.c: Likewise.
* misc/qefgcvt_r.c: Likewise.
* misc/tst-efgcvt.c: Remove one test which cannot reliably be run
anymore.

24 years agoUpdate.
Ulrich Drepper [Wed, 28 Jul 1999 19:45:27 +0000 (19:45 +0000)]
Update.

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

* manual/math.texi (FP Function Optimization): Mention drawbacks.

24 years agoUpdate.
Ulrich Drepper [Wed, 28 Jul 1999 19:37:40 +0000 (19:37 +0000)]
Update.

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

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

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

* stdlib/mbstowcs.c: Do not use global state.
Reported by Bruno Haible <haible@ilog.fr>.

24 years agoUpdate.
Ulrich Drepper [Wed, 28 Jul 1999 19:16:26 +0000 (19:16 +0000)]
Update.

1999-07-28  Andeas Schwab  <schwab@suse.de>

* iconvdata/Makefile: Don't try to run iconv tests when cross
compiling.

24 years agoRemove COPYING*.
Ulrich Drepper [Wed, 28 Jul 1999 18:57:42 +0000 (18:57 +0000)]
Remove COPYING*.

24 years ago1999-07-27 Mark Kettenis <kettenis@gnu.org>
Roland McGrath [Wed, 28 Jul 1999 18:19:47 +0000 (18:19 +0000)]
1999-07-27  Mark Kettenis  <kettenis@gnu.org>

* sysdeps/mach/hurd/i386/init-first.c (init): Move the inline
assembler code to switch stacks and call init1 outside this
function.  Inside `init' the code was optimized away by gcc
2.95 since it was "clearly" unreachable.
* sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
Do something similar for the trampoline code.

24 years agoUpdate.
Ulrich Drepper [Wed, 28 Jul 1999 03:27:45 +0000 (03:27 +0000)]
Update.

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

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

* sysdeps/unix/sysv/linux/alpha/bits/elfclass.h: Define Elf_Symndx

24 years agoUpdate.
Ulrich Drepper [Tue, 27 Jul 1999 07:14:15 +0000 (07:14 +0000)]
Update.

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

* time/Versions: Add POSIX.1b timer and clock functions to GLIBC_2.2.

24 years agoUpdate.
Ulrich Drepper [Tue, 27 Jul 1999 05:53:25 +0000 (05:53 +0000)]
Update.

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

* elf/link.h (struct link_map): Use Elf_Symndx instead of ElfXX_Symndx.
* elf/dl-lookup.c (_dl_setup_hash): Likewise.
* elf/dl-load.c (_dl_map_object): Likewise.
* elf/do-lookup.h (do_lookup*): Likewise.
* sysdeps/generic/bits/elfclass.h: Define Elf_Symndx as uint32_t.
* sysdeps/unix/sysv/linux/alpha/bits/elfclass.h: Define Elf_symndx
as uint64_t.
* elf/elf.h: Remove Elf32_Symndx and Elf64_Symndx.

24 years agoUpdate.
Ulrich Drepper [Tue, 27 Jul 1999 05:10:43 +0000 (05:10 +0000)]
Update.

* sysdeps/unix/sysv/sysv4/setsid.c: Correct types.
* sysdeps/generic/getpgrp.c: Likewise.
* sysdeps/unix/sysv/sysv4/setpgid.c: Likewise.
* sysdeps/unix/sysv/sysv4/getpgid.c: Likewise.
Patch by John Tobey <jtobey@banta-im.com>.

24 years agoUpdate.
Ulrich Drepper [Tue, 27 Jul 1999 05:00:18 +0000 (05:00 +0000)]
Update.

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

* sysdeps/posix/wait3.c: Help compiling in presence of
__transparent_union__.  Reported by John Tobey <jtobey@banta-im.com>.

24 years agoUpdate.
Ulrich Drepper [Tue, 27 Jul 1999 04:43:32 +0000 (04:43 +0000)]
Update.

* sysdeps/sparc/sparc64/add_n.S: Avoid using %g2, %g3, %g7 registers
as much as possible. Declare them using .register pseudo-op if they
are still used.
* sysdeps/sparc/sparc64/lshift.S: Likewise.
* sysdeps/sparc/sparc64/memchr.S: Likewise.
* sysdeps/sparc/sparc64/memcmp.S: Likewise.
* sysdeps/sparc/sparc64/memcpy.S: Likewise.
* sysdeps/sparc/sparc64/memset.S: Likewise.
* sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
* sysdeps/sparc/sparc64/rshift.S: Likewise.
* sysdeps/sparc/sparc64/stpcpy.S: Likewise.
* sysdeps/sparc/sparc64/stpncpy.S: Likewise.
* sysdeps/sparc/sparc64/strcat.S: Likewise.
* sysdeps/sparc/sparc64/strchr.S: Likewise.
* sysdeps/sparc/sparc64/strcmp.S: Likewise.
* sysdeps/sparc/sparc64/strcpy.S: Likewise.
* sysdeps/sparc/sparc64/strcspn.S: Likewise.
* sysdeps/sparc/sparc64/strlen.S: Likewise.
* sysdeps/sparc/sparc64/strncmp.S: Likewise.
* sysdeps/sparc/sparc64/strncpy.S: Likewise.
* sysdeps/sparc/sparc64/strpbrk.S: Likewise.
* sysdeps/sparc/sparc64/strspn.S: Likewise.
* sysdeps/sparc/sparc64/sub_n.S: Likewise.
* sysdeps/sparc/sparc64/dl-machine.h: Likewise.
Optimize trampoline code for .plt4-.plt32767.
Fix trampolines for .plt32768+.

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

24 years agoUpdate.
Ulrich Drepper [Tue, 27 Jul 1999 02:07:01 +0000 (02:07 +0000)]
Update.

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

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

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

* README.template (configurations): The crypt add-on has a new
ftp site.
* manual/install.texi (Installation): Likewise.

24 years agoUpdate.
Ulrich Drepper [Tue, 27 Jul 1999 00:39:04 +0000 (00:39 +0000)]
Update.

* time/time.h: Add forward for struct sigevent.  Unix98 maybe
requires to have a full definition but we wait for a bug report
based on the test suite.

24 years agoUpdate.
Ulrich Drepper [Tue, 27 Jul 1999 00:24:04 +0000 (00:24 +0000)]
Update.

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

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

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

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

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

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

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

* time/time.h: Define clockid_t, timer_t, and struct itimerspec for
POSIX.1b.  Add prototypes for clock and timer functions.