Ulrich Drepper [Thu, 19 Aug 1999 22:59:36 +0000 (22:59 +0000)]
Update.
* configure.in: Search for programs with prefix gnu* and g* first.
[PR libc/1104].
Ulrich Drepper [Thu, 19 Aug 1999 20:57:48 +0000 (20:57 +0000)]
Update.
* dirent/Makefile (routines): Add getdents64.
* sysdeps/unix/sysv/linux/Makefile [dirent] (sysdep_routines):
Remove getdents64.
* dirent/dirent.h: Redirect getdirentries to getdirentries64 if
compiled with _FILE_OFFSET_BITS=64.
* sysdeps/generic/getdents64.c: New file.
* sysdeps/unix/sysv/linux/getdirentries.c: Also redefine off_t and
__lseek for getdirentries64 definition.
* sysdeps/unix/sysv/linux/llseek.c: Make __lseek64 a strong alias.
* sysdeps/unix/sysv/linux/sys/sendfile.h: Don't allow use with
_FILE_OFFSET_BITS=64.
Ulrich Drepper [Thu, 19 Aug 1999 20:23:58 +0000 (20:23 +0000)]
Update.
* sysdeps/unix/bsd/telldir.c (seekdir): Correct type of second
parameter.
* sysdeps/generic/setenv.c (__add_to_environ): Initialize ep
after we have the lock.
Ulrich Drepper [Thu, 19 Aug 1999 20:05:08 +0000 (20:05 +0000)]
Update.
1999-08-19 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/generic/setenv.c: Update(__add_to_environ): Initialize
ep after we have the lock.
* sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: New file.
Patch by Richard Henderson.
Ulrich Drepper [Thu, 19 Aug 1999 18:35:13 +0000 (18:35 +0000)]
Update.
1999-08-19 Ulrich Drepper <drepper@cygnus.com>
* signals.c: Pass sigcontext through wrapper to the user function.
Ulrich Drepper [Thu, 19 Aug 1999 16:47:42 +0000 (16:47 +0000)]
Update.
1999-08-19 Andreas Schwab <schwab@suse.de>
* libio/iovswscanf.c (vswscanf): Make stream unoriented initially
and call _IO_fwide, to get the wide stream state initialized
correctly. Don't set _IO_JUMPS.
* libio/vsnprintf.c (_IO_vsnprintf): Avoid casts to _IO_FILE *.
* libio/vswprintf.c (_IO_vswprintf): Likewise. Pass
_IO_wstrn_jumps to _IO_no_init instead of setting _IO_WIDE_JUMPS
directly.
1999-08-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* math/libm-test.c (jn_test): Fix typo in description.
(erfc_test): Add some more tests.
(erf_test): Add some more tests.
1999-08-19 Andreas Schwab <schwab@suse.de>
* csu/Makefile ($(objpfx)initfini.s): Replace $(no-exceptions) by
expression using $(exceptions).
Ulrich Drepper [Wed, 18 Aug 1999 23:21:04 +0000 (23:21 +0000)]
Update.
* sysdeps/generic/setenv.c: Avoid warning about uninitialized variable.
Ulrich Drepper [Wed, 18 Aug 1999 23:05:23 +0000 (23:05 +0000)]
Update.
* libio/fileops.c (_IO_file_xsgetn): Allocate buffer if none is
allocated so far. [PR libc/1261].
Ulrich Drepper [Wed, 18 Aug 1999 21:44:36 +0000 (21:44 +0000)]
Update.
* math/libm-test.c (j0_test): Adjust deltas for m68k.
(jn_test): Likewise.
Ulrich Drepper [Wed, 18 Aug 1999 19:12:32 +0000 (19:12 +0000)]
Update.
* dirent/dirent.h: Only define ino64_t if not already done.
* posix/sys/types.h: Likewise.
Ulrich Drepper [Wed, 18 Aug 1999 18:44:33 +0000 (18:44 +0000)]
Update.
1999-08-18 Ulrich Drepper <drepper@cygnus.com>
* ctype/ctype.h: Avoid useless #endif #if pairs.
* dirent/dirent.h: Define ino_t and ino64_t if not done already.
(seekdir): Fix type of second parameter.
* sysdeps/generic/seekdir.c: Likewise.
* sysdeps/mach/hurd/seekdir.c: Likewise.
* sysdeps/unix/seekdir.c: Likewise.
* dlfcn/dlfcn.h: Define RTLD_NEXT and RTLD_DEFAULT only if __USE_GNU.
Ulrich Drepper [Wed, 18 Aug 1999 17:23:25 +0000 (17:23 +0000)]
Update.
1999-08-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* manual/install.texi (Configuring and compiling): Clarify ix86
situation.
Ulrich Drepper [Wed, 18 Aug 1999 07:53:35 +0000 (07:53 +0000)]
Update.
1999-08-18 Ulrich Drepper <drepper@cygnus.com>
* Rules: When generating stdio_lim.h also rewrite IOV_MAX definition.
* stdio-common/stdio_lim.h.in: Add IOV_MAX template.
* include/bits/xopen_lim.h: Don't define IOV_MAX here, get it from
stdio_lim.h. Define LONG_BIT and WORD_BIT.
* include/features.h: Define __USE_XOPEN2K if _XOPEN_SOURCE == 600.
* libio/stdio.h: Don't declare cuserid and getopt for X/Open issue 6.
* misc/search.h: Don't define NULL.
* posix/sys/types.h: Define blksize_t if it hasn't happened.
Only define key_t and blkcnt_t if it hasn't happened before.
Define blksize_t if not happened before.
* io/sys/stat.h: Don't define pid_t. Define blkcnt_t and blksize_t.
* sysdeps/generic/bits/types.h: Define __blksize_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.
* sysdeps/mach/hurd/bits/stat.h (struct stat): Use __blksize_t for
st_blksize member.
(struct stat64): Likewise.
* sysdeps/unix/bsd/bits/stat.h: Likewise.
* sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
* sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
* sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
* sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
* sysdeps/unix/sysv/sysv4/i386/bist/stat.h: Likewise.
* sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
* stdlib/getsubopt.c: Correct type of second argument.
* stdlib/stdlib.h: Likewise.
* stdlib/monetary.h: Don't include sys/types.h. Define only size_t
and ssize_t.
* sysdeps/generic/putenv.c: Correct type of parameter.
* stdlib/stdlib.h: Likewise.
* sysdeps/generic/msgsnd.c: Correct type of second parameter.
* sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
* sysvips/sys/msg.h: Likewise.
* sysdeps/generic/semop.c: Correct type of third parameter.
* sysdeps/unix/sysv/linux/semop.c: Likewise.
* sysvipc/sys/sem.h: Likewise. Don't include sys/types.h, define
size_t.
* sysdeps/generic/shmget.c: Correct type of second parameter.
* sysdeps/unix/sysv/linux/shmget.c: Likewise.
* sysvips/sys/shm.h: Likewise. Don't include unistd.h and sys/types.h.
Declare __getpagesize here.
* sysdeps/generic/bits/ipc.h: Include bits/types.h instead of
sys/types.h.
* sysdeps/gnu/bits/ipc.h: Likewise.
* sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Likewise.
* sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
* sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
* sysvipc/sys/ipc.h: Define uid_t, gid_t, mode_t, and key_t if not
already done.
* sysdeps/unix/bsd/usleep.c: Correct type of parameter.
* debug/versions: Export __cyg_profile_func_enter and
__cyg_profile_func_exit.
* math/bits/mathcalls.h: Pretty print.
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.
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.
Ulrich Drepper [Wed, 18 Aug 1999 03:13:30 +0000 (03:13 +0000)]
Update.
* locale/weight.h: Include <errno.h>.
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.
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.
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.
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.
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>.
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.
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>.
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.
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.
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>.
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.
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.
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.
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>.
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.
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.
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.
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.
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.
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.
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.
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.
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.
Ulrich Drepper [Sun, 15 Aug 1999 16:10:25 +0000 (16:10 +0000)]
Fix typo.
* locales/ca_ES: New file.
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.
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.
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).
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.
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.
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
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.
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.
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>.
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.
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.
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'.
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.
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).
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.
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.
Ulrich Drepper [Fri, 6 Aug 1999 20:12:31 +0000 (20:12 +0000)]
Update.
* inet/Makefile (tests): Add tst-ipnode.
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.
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.
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.
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]
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.
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.
Ulrich Drepper [Thu, 5 Aug 1999 01:33:18 +0000 (01:33 +0000)]
Update.
* hesiod/hesiod.c: Avoid emitting rcsid in object file.
Ulrich Drepper [Thu, 5 Aug 1999 00:21:21 +0000 (00:21 +0000)]
Update.
* rt/aio_fsync.c: Test OP parameter for correct values.
Ulrich Drepper [Thu, 5 Aug 1999 00:10:40 +0000 (00:10 +0000)]
Update.
* rt/aio_fsync.c: Likewise.
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.
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.
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.
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>.
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.
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.
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.
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()
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.
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.
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.
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.
Ulrich Drepper [Sun, 1 Aug 1999 18:04:40 +0000 (18:04 +0000)]
Pretty print.
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!
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!
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.
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.
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.
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].
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.
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.
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.
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.
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.
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.
Ulrich Drepper [Thu, 29 Jul 1999 22:25:03 +0000 (22:25 +0000)]
Update.
* stdlib/Makefile (tests): Add tst-environ.
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.
Ulrich Drepper [Thu, 29 Jul 1999 20:36:56 +0000 (20:36 +0000)]
Tests for setenv, unsetenv, putenv, etc.
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.
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.
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>.
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.
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.
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.