about summary refs log tree commit diff
path: root/sysdeps
Commit message (Collapse)AuthorAgeFilesLines
* Update.Ulrich Drepper1999-12-298-49/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1999-12-29 Andreas Jaeger <aj@suse.de> * sysdeps/unix/sysv/linux/alpha/sys/io.h: Don't include <asm/io.h>; remove K&R compatibility; add missing ints. * sysdeps/unix/sysv/linux/arm/sys/io.h: Remove K&R compatibility, add missing ints. * sysdeps/unix/sysv/linux/sys/io.h: Don't include <asm/io.h>. 1999-12-29 Andreas Jaeger <aj@suse.de> * manual/getopt.texi (Using Getopt): Document ordering of options. 1999-12-29 Andreas Jaeger <aj@suse.de> * sysdeps/unix/sysv/linux/llseek.c: Emit link time warning for llseek. Requested by Michael Deutschmann <michael@talamasca.wkpowerlink.com>. 1999-12-14 Andreas Jaeger <aj@suse.de> * sysdeps/unix/sysv/linux/scsi/scsi.h: Add new defines from Linux 2.3.32. 1999-12-28 Jakub Jelinek <jakub@redhat.com> * elf/sprof.c (load_shobj): Fix error message. (generate_call_graph): Cast %*s length argument to int. * locale/programs/localedef.c (construct_output_path): Likewise. * locale/programs/ld-ctype.c (ctype_finish): Use proper format specifier. (ctype_class_new): Likewise. * locale/programs/ld-time.c (time_finish): Likewise. * sunrpc/svc_simple.c (register_rpc): Likewise. * nscd/connections.c (nscd_run, start_threads): Use long instead of int to avoid cast warnings. * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l): Kill warning. * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Remove unused variable se. * time/strftime.c (my_strftime): Provide wide era string when requested. * sysdeps/sparc/fpu/bits/mathinline.h (__signbit, __signbitl): Separate into 32bit and 64bit versions.
* Update.Ulrich Drepper1999-12-281-2/+0
| | | | | | | 1999-12-28 Ulrich Drepper <drepper@cygnus.com> * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove oldgetrlimit and oldsetrlimit definitions.
* Update.Ulrich Drepper1999-12-273-9/+9
| | | | | | | * sysdeps/unix/sysv/linux/fxstat64.c: Rename have_no_stat64 to __have_no_stat64. * sysdeps/unix/sysv/linux/lxstat64.c: Likewise. * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
* Update.Ulrich Drepper1999-12-271-1/+0
| | | | | | | 1999-12-26 Ulrich Drepper <drepper@cygnus.com> * sysdeps/unix/sysv/linux/mips/bits/resource.h: Remove inclusion of <asm/resource.h>.
* Update.Ulrich Drepper1999-12-272-7/+23
| | | | | | | | | | 1999-12-26 Philip Blundell <philb@gnu.org> * sysdeps/unix/sysv/linux/arm/syscalls.list: Remove vm86. Set argument count for `syscall' to 7. * sysdeps/unix/sysv/linux/arm/sysdep.h: Add support for syscalls with more than five arguments. (DOARGS_5, UNDOARGS_5): Don't corrupt the calling stack frame.
* Update.Ulrich Drepper1999-12-241-9/+19
| | | | | | | | | 1999-12-24 Ulrich Drepper <drepper@cygnus.com> * sysdeps/posix/system.c (__libc_system): Check whether command processor is available if LINE is NULL. Don't return immediately if wait call returned with EINTR. Patches by Geoff Clare <gwc@unisoft.com> (PR libc/1497 and libc/1498).
* Update.Ulrich Drepper1999-12-2416-22/+130
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1999-12-23 Ulrich Drepper <drepper@cygnus.com> * locale/programs/ld-monetary.c (monetary_finish): Add cast to prevent warning. * locale/programs/ld-collate.c: Implement writing out multibyte collation data. * locale/setlocale.c (setlocale): Allow setting LC_COLLATE again. * locale/localeinfo.h: Declare variables only for currently implemented collate functionality. Remove FORWARD_CHAR and ELLIPSIS_CHAR. * locale/lc-collate.c: Define variables only for currently implemented functionality. * locale/langinfo.h: Define symbols only for currently implemented functionality. * locale/categories.def: Define elements for currently implemented functionality. * locale/C-collate.c: Comment out definitions of arrays with symbol name definitions etc. (_nl_C_LC_COLLATE): Update for currently defined information. * intl/libintl.h: Remove dcgettext macro definition. * intl/gettextP.h: Declare _nl_msg_cat_cntr. * locale/iso-4217.def: Add NAD. Remove a few obsolete entries. * sysdeps/generic/glob.c (glob): Pass alternate file access functions also in recursive call. Patch by Joe Orton <joe@orton.demon.co.uk>. 1999-12-22 Jakub Jelinek <jakub@redhat.com> * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Use proper type for __fenv_stfsr argument. * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add truncate64, ftruncate64, fstat64, lstat64, stat64 and mmap2. Remove ugetrlimit. * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: New file. * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h (XSTAT_IS_XSTAT64): Define. * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Add __libc_lseek64, __libc_pread, __libc_pread64, __libc_pwrite and __libc_pwrite64. Remove oldgetrlimit and oldsetrlimit. * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat64.c: New file. * sysdeps/unix/sysv/linux/sparc/sparc64/lxstat64.c: New file. * sysdeps/unix/sysv/linux/sparc/sparc64/xstat64.c: New file. * sysdeps/unix/sysv/linux/fxstat64.c (__fxstat64): Pass the buf pointer to the syscall, not address of that pointer. * sysdeps/unix/sysv/linux/lxstat64.c (__lxstat64): Likewise. * sysdeps/unix/sysv/linux/xstat64.c (__xstat64): Likewise. (__syscall_stat64): Provide proper prototype. * sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Share has_no_truncate64 between truncate64 and ftruncate64. * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Likewise. * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TRUNCATE64_SYSCALL, __ASSUME_MMAP2_SYSCALL, __ASSUME_STAT64_SYSCALL): Define on Sparc for kernels >= 2.3.35. 1999-12-22 Andreas Jaeger <aj@suse.de> * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __libc_lseek64, __libc_pread, __libc_pread64, __libc_pwrite and __libc_pwrite64.
* Update.Ulrich Drepper1999-12-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | 1999-12-21 Shinya Hanataka <hanataka@abyss.rim.or.jp> * locale/lc-time.c: Extend structure era_entry. * locale/localeinfo.h: Likewise. * locale/lc-time.c: Handle '-' direction used in locale's era part properly. * time/strptime.c: Likewise. * time/strftime.c: Likewise. * locale/programs/ld-time.c: Consider negative values in era part of locale as B.C.. * time/strptime.c (strptime_internal): Merged Yoshiyama's %E[CyY] implementation. 1999-12-21 Akira Yoshiyama <yosshy@debian.or.jp> * time/strptime.c (strptime_internal): Fix segV bugs of a couple of recursive() call. * time/strptime.c (strptime_internal): Implement `%EC',`%Ey',`%EY' parsing. 1999-12-21 Ulrich Drepper <drepper@cygnus.com> * sysdeps/arm/dl-machine.c (CLEAR_CACHE): Fix a2 value. Patch by Scott Bambrough <scottb@netwinder.org>.
* Update.Ulrich Drepper1999-12-211-1/+1
| | | | * sysdeps/unix/sysv/linux/pread.c: Fix typo.
* Update.Ulrich Drepper1999-12-211-0/+1067
| | | | | | 1999-12-21 Andreas Jaeger <aj@suse.de> * sysdeps/powerpc/fpu/libm-ulps: New file.
* Update.Ulrich Drepper1999-12-211-4/+1
| | | | | | | 1999-12-21 Ulrich Drepper <drepper@cygnus.com> * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Include sys/ucontext.h and remove definitions for NREGS, greg_t, gregset_t, and fpregset_t.
* Update.Ulrich Drepper1999-12-2112-12/+12
| | | | | | | | | | | | | | | | | 1999-12-21 Andreas Jaeger <aj@suse.de> * sysdeps/unix/sysv/linux/m68k/putpmsg.c: Add missing #. * sysdeps/unix/sysv/linux/mips/putpmsg.c: Likewise. * sysdeps/unix/sysv/linux/powerpc/putpmsg.c: Likewise. * sysdeps/unix/sysv/linux/mips/getmsg.c: Add missing #. * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise. * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise. * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise. * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise. * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise. * sysdeps/unix/sysv/linux/m68k/getpmsg.c: Add missing #. * sysdeps/unix/sysv/linux/mips/getpmsg.c: Likewise. * sysdeps/unix/sysv/linux/powerpc/getpmsg.c: Likewise.
* Update.Ulrich Drepper1999-12-2120-2/+185
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1999-12-21 Ulrich Drepper <drepper@cygnus.com> * sysdeps/unix/sysv/linux/i386/getmsg.c: New file. * sysdeps/unix/sysv/linux/i386/getpmsg.c: New file. * sysdeps/unix/sysv/linux/i386/putmsg.c: New file. * sysdeps/unix/sysv/linux/i386/putpmsg.c: New file. * sysdeps/unix/sysv/linux/m68k/getmsg.c: New file. * sysdeps/unix/sysv/linux/m68k/getpmsg.c: New file. * sysdeps/unix/sysv/linux/m68k/putmsg.c: New file. * sysdeps/unix/sysv/linux/m68k/putpmsg.c: New file. * sysdeps/unix/sysv/linux/mips/getmsg.c: New file. * sysdeps/unix/sysv/linux/mips/getpmsg.c: New file. * sysdeps/unix/sysv/linux/mips/putmsg.c: New file. * sysdeps/unix/sysv/linux/mips/putpmsg.c: New file. * sysdeps/unix/sysv/linux/powerpc/getmsg.c: New file. * sysdeps/unix/sysv/linux/powerpc/getpmsg.c: New file. * sysdeps/unix/sysv/linux/powerpc/putmsg.c: New file. * sysdeps/unix/sysv/linux/powerpc/putpmsg.c: New file. * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getpmsg and putpmsg. 1999-12-20 Ulrich Drepper <drepper@cygnus.com> * sysdeps/unix/sysv/linux/lxstat64.c: Include "kernel-features.h" before testing for __ASSUME_STAT64_SYSCALL. * sysdeps/unix/sysv/linux/fxstat64.c: Likewise. * sysdeps/unix/sysv/linux/xstat64.c: Likewise. 1999-12-20 Andreas Schwab <schwab@suse.de> * manual/install.texi (Running make install): Clearify that install_root should be an absolute file name. * iconv/gconv.c (__gconv): Deal with outbuf being NULL. * iconv/iconv.c (iconv): Allow omitting output buffer if no input buffer is given to place conversion descriptor in initial state. * iconvdata/gconv-modules: Correct aliases CSPC850MULTILINGUAL and CSPC862LATINHEBREW. * iconvdata/gconv-modules: Add aliases GB2312 and csGB2312 (according to IANA registry). Reported by Bruno Haible <haible@ilog.fr>. * iconvdata/johab.c: Correct completely broken conversion to JOHAB.
* Update.Ulrich Drepper1999-12-194-16/+20
| | | | | | | | | | 1999-12-19 Ulrich Drepper <drepper@cygnus.com> * sysdeps/unix/sysv/linux/powerpc/pread.c: Define __libc_* variant for cancelation wrapper. * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise. * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Likewise. * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
* Update.Ulrich Drepper1999-12-191-2/+0
| | | | | | | | | | | | | | | | | 1999-12-19 Andreas Jaeger <aj@suse.de> * sysdeps/generic/libc-start.c: Remove declaration of __libc_open. Move declaration of __libc_fcntl to ... * include/fcntl.h: ...here. * include/unistd.h: Move __libc_open and __libc_open64 to ... * include/fcntl.h: ...here. * malloc/malloc.h (__attribute_malloc__): Only define if hasn't happened yet. * malloc/Versions: __libc_freeres was exported with glibc 2.1.3, rename label.
* Update.Ulrich Drepper1999-12-191-1/+0
| | | | | | | | | | | * sysdeps/unix/sysv/linux/bits/resource.h: Remove <asm/resource.h> inclusion. 1999-12-19 Andreas Jaeger <aj@suse.de> * include/string.h: Mark __strndup with __attribute_malloc__. 1999-12-19 Ulrich Drepper <drepper@cygnus.com>
* Update.Ulrich Drepper1999-12-1920-81/+97
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1999-12-18 Ulrich Drepper <drepper@cygnus.com> * include/unistd.h: Declare __libc_open64, __libc_lseek64, __libc_pread, __libc_pread64, __libc_pwrite, and __libc_pwrite64. * io/Versions: Export __libc_open64 and __libc_lseek64. * posix/Versions: Export __libc_pread, __libc_pread64, __libc_pwrite, and __libc_pwrite64. * sysdeps/generic/open64.c: Define __libc_* variant for cancelation wrapper. * sysdeps/generic/pread.c: Likewise. * sysdeps/generic/pread64.c: Likewise. * sysdeps/generic/pwrite.c: Likewise. * sysdeps/generic/pwrite64.c: Likewise. * sysdeps/posix/open64.c: Likewise. * sysdeps/posix/pread.c: Likewise. * sysdeps/posix/pread64.c: Likewise. * sysdeps/posix/pwrite.c: Likewise. * sysdeps/posix/pwrite64.c: Likewise. * sysdeps/unix/sysv/linux/llseek.c: Likewise. * sysdeps/unix/sysv/linux/pread.c: Likewise. * sysdeps/unix/sysv/linux/pread64.c: Likewise. * sysdeps/unix/sysv/linux/pwrite.c: Likewise. * sysdeps/unix/sysv/linux/pwrite64.c: Likewise. * sysdeps/unix/sysv/linux/i386/pread.c: Likewise. * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise. * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise. * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise. * sysdeps/posix/open64.c: Help gcc generating better code. * sysdeps/generic/libc-start.c (check_one_fd): Use __libc_open instead of __open.
* Update.Ulrich Drepper1999-12-191-1/+2
| | | | | | | 1999-12-11 H.J. Lu <hjl@gnu.org> * sysdeps/generic/libc-start.c (check_one_fd): Use __libc_fcntl instead of __fcntl.
* Update.Ulrich Drepper1999-12-1914-114/+558
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1999-12-18 Ulrich Drepper <drepper@cygnus.com> * sysdeps/unix/sysv/linux/i386/setrlimit.c: Declare local variable result if necessary. * sysdeps/unix/sysv/linux/i386/bits/resource.h: Don't depend on the unreliable kernel headers. * sysdeps/unix/sysv/linux/bits/resource.h: Likewise. * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise. * sysdeps/unix/sysv/linux/alpha/bits/resource.h: New file. * sysdeps/unix/sysv/linux/mips/bits/resource.h: New file. 1999-12-18 Andreas Jaeger <aj@suse.de> * config.make.in (datadir): Added. Closes PR libc/1491. Patch by dervishd@jazzfree.com. 1999-12-18 Andreas Jaeger <aj@suse.de> * sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Save and set errno. * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Likewise. 1999-12-18 Andreas Jaeger <aj@suse.de> * sysdeps/unix/sysv/linux/fxstat64.c: Rewrite to use fstat64 syscall if available. * sysdeps/unix/sysv/linux/lxstat64.c: Likewise for lstat64. * sysdeps/unix/sysv/linux/xstat64.c: Likewise for stat64. * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_STAT64_SYSCALL): New. 1999-12-17 Scott Bambrough <scottb@netwinder.org> * sysdeps/arm/dl-machine.h (CLEAR_CACHE): New macro to force a cache flush. * elf/dl-reloc.c (_dl_relocate_object): Add call to flush cache after .text segment fixups. 1999-12-16 Andreas Jaeger <aj@suse.de> * rt/aio.h: Remove erroneous __restrict declarations. 1999-12-18 Ulrich Drepper <drepper@cygnus.com> * scripts/rellns-sh: Find pwd program also in /usr/bin and let shell do the job if it is there neither. Patch by David R. Conrad <drc@adni.net> (PR libc/1485). 1999-12-16 Andreas Jaeger <aj@suse.de> * sysdeps/ieee754/bits/nan.h (NAN): Rename union to avoid duplicate definition with function __nan. Closes PR libc/1487 reported by <diana@kai.com>. * string/bits/string2.h (__strsep): Help gcc optimizing string access.
* Update.Ulrich Drepper1999-12-1822-28/+544
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1999-12-17 Ulrich Drepper <drepper@cygnus.com> * string/bits/string2.h (__strtok_r_1c): Help gcc optimizing string access. * locale/programs/ld-collate.c: Implement handling of absolute ellipsis. Parsing of file and constructing the internal data structures should now be complete. (collate_finish): Start adding support to generate the data structures which are written out to the file. * intl/dcgettext.c: Rewrite to handle caching of previous results here instead of in the dcgettext macro. * intl/libintl.h (dcgettext): Don't define for systems using this glibc or systems with tsearch. * sysdeps/generic/mathdef.h: Protect definitions for math.h against double inclusion. * sysdeps/alpha/fpu/bits/mathdef.h: Likewise. * sysdeps/i386/fpu/bits/mathdef.h: Likewise. * sysdeps/m68k/fpu/bits/mathdef.h: Likewise. * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise. * sysdeps/i386/fpu/libm-test-ulps: Add more deltas (are mobile PIIs that different?). 1999-12-17 Andreas Jaeger <aj@suse.de> * rt/aio.h (struct aiocb64): Add member __next_prio to sync the struct with aiocb. * rt/Makefile (tests): Added tst-aio64. Added dependency rules for tst-aio64. * rt/tst-aio64.c: New file, copied from tst-aio.c and changed for 64bit tests. 1999-12-15 Thorsten Kukuk <kukuk@suse.de> * sysdeps/unix/sysv/linux/alpha/oldgetrlimit64.c: Removed. * sysdeps/unix/sysv/linux/alpha/oldsetrlimit64.c: Removed. * sysdeps/unix/sysv/linux/bits/resource.h: Change RLIM_INFINITY back to old value (signed long). * sysdeps/unix/sysv/linux/i386/bits/resource.h: New, with unsigned long RLIM_INFINITY. * sysdeps/unix/sysv/linux/getrlimit.c: Moved from here to ... * sysdeps/unix/sysv/linux/i386/getrlimit.c: ... here. * sysdeps/unix/sysv/linux/getrlimit64.c: Moved from here to ... * sysdeps/unix/sysv/linux/i386/getrlimit64.c: ... here. * sysdeps/unix/sysv/linux/oldgetrlimit64.c: Moved from here to ... * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: ... here. * sysdeps/unix/sysv/linux/oldsetrlimit64.c: Moved from here to ... * sysdeps/unix/sysv/linux/i386/oldsetrlimit64.c: ... here. * sysdeps/unix/sysv/linux/setrlimit.c: Moved from here to ... * sysdeps/unix/sysv/linux/i386/setrlimit.c: ... here. * sysdeps/unix/sysv/linux/setrlimit64.c: Moved from here to ... * sysdeps/unix/sysv/linux/i386/setrlimit64.c: ... here. * sysdeps/unix/sysv/linux/sparc/bits/resource.h: New. * sysdeps/unix/sysv/linux/sparc/sparc64/oldgetrlimit64.c: Removed. * sysdeps/unix/sysv/linux/sparc/sparc64/oldsetrlimit64.c: Removed. 1999-12-17 Andreas Jaeger <aj@suse.de> * elf/ldconfig.c: Add new option -l to manualy link shared libraries. (options): Added option. (parse_opt): Set option. (main): Handle option. (manual_link): New function. 1999-12-17 Thorsten Kukuk <kukuk@suse.de> * string/bits/string2.h: Fix patch from 1999-12-07. 1999-12-16 Ulrich Drepper <drepper@cygnus.com> * sysdeps/generic/strsep.c: If delim string has only one character don't run over end of string. * locale/programs/ld-collate.c (insert_weights): Also update next pointer of last cursor element. (insert_value): Return nonzero value if nothing got inserted. (handle_ellipsis): Don't do anything if to-value cannot be inserted. 1999-12-10 Jakub Jelinek <jakub@redhat.com> * stdlib/longlong.h (__sparc_v9__): Use %rDIGIT instead of %DIGIT where appropriate. 1999-12-10 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (__sigaction): Copy sa_flags into kernel sigaction structure. 1999-12-14 Andreas Jaeger <aj@suse.de> * string/tester.c (test_strsep): More tests for access beyond the final NUL. The first two tests come from PR libc/1486 by martinea@iro.umontreal.ca. 1999-12-14 Thorsten Kukuk <kukuk@suse.de> * nis/ypclnt.c: Correct handling of cached client handles. (__xdr_ypresp_all): Call callback function for errors, too, like Solaris does. * nis/nss_compat/compat-grp.c: Make sure errno is always set correct. * nis/nss_compat/compat-initgroups.c: Likewise. * nis/nss_compat/compat-spwd.c: Likewise. * nis/nss_nis/nis-alias.c: Likewise. * nis/nss_nis/nis-ethers.c: Likewise. * nis/nss_nis/nis-grp.c: Likewise. * nis/nss_nis/nis-hosts.c: Likewise. * nis/nss_nis/nis-netgrp.c: Likewise. * nis/nss_nis/nis-publickey.c: Likewise. * nis/nss_nis/nis-service.c: Likewise. Also use services.byservicename Map if available, optimize query if name/port and protocol is known.
* Update.Ulrich Drepper1999-12-107-119/+101
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1999-12-09 Andreas Jaeger <aj@suse.de> * nis/nss_compat/compat-pwd.c (internal_getpwuid_r): Always set errno to ENOENT when returning NSS_STATUS_NOTFOUND. Reported by Christian Starkjohann <cs@obdev.at>. 1999-12-09 Andreas Jaeger <aj@suse.de> * sysdeps/i386/fpu/libm-test-ulps: Added some ulps. 1999-12-09 Jakub Jelinek <jakub@redhat.com> * stdlib/longlong.h: Update from latest egcs version. * sysdeps/sparc/fpu/fegetenv.c: Add semicolons. * sysdeps/unix/sysv/linux/bits/errno.h (__errno_location): __THROW has to preceede __attribute__, otherwise g++ barfs. * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Make things compile on sparc64-*-linux. * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Changed to use sigcontext. * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise. 1999-12-05 Wolfram Gloger <wg@malloc.de> * malloc/malloc.c (arena_get2): If generating a new arena fails, try to generate a minimal one and hope for mmap_chunk() to succeed later. 1999-11-07 Wolfram Gloger <wg@malloc.de> * malloc/thread-m.h [NO_THREADS]: The mutex_* macros now let mutex_t work as an `in-use' flag even without threads. * malloc/malloc.c (USE_ARENAS): New feature flag, controls support for multiple arenas separately from NO_THREADS. (mALLOc, chunk_realloc, mEMALIGn, cALLOc) [USE_ARENAS]: try to fall back to an mmap()ed arena when sbrk() has failed.
* Update.Ulrich Drepper1999-12-092-4/+4
| | | | | | | * sysdeps/unix/sysv/linux/Versions: Add getrlimit, setrlimit, getrlimit64, setrlimit64 for GLIBC_2.1.3. * sysdeps/unix/sysv/linux/i386/Versions: Add getrlimit, setrlimit, getrlimit64, setrlimit64 for GLIBC_2.1.3.
* Update.Ulrich Drepper1999-12-094-6/+6
| | | | | | | | | | * sysdeps/unix/sysv/linux/i386/Makefile: Add rules for oldgetrlimit and oldsetrlimit. * sysdeps/unix/sysv/linux/i386/syscalls.list: Add oldgetrlimit and oldsetrlimit. * sysdeps/unix/sysv/linux/Makefile: Move oldgetrlimit and oldsetrlimit rules into 32-bit arch subdirs. * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
* Update.Ulrich Drepper1999-12-091-2/+2
| | | | | | | | | | * locale/programs/ld-ctype.c (ctype_output): Correct sizes of mapping arrays. (allocate_arrays): Allocate memory for map32. Correctly install default values in it and install defined mappings. * locale/programs/ld-monetary.c (monetary_finish): Provide default value for mon_grouping.
* Update.Ulrich Drepper1999-12-093-9/+13
| | | | | * elf/readlib.c: Include a.out.h last since the Linux/Alpha headers are not clean enough.
* Update.Ulrich Drepper1999-12-086-6/+316
| | | | | | | | | | | | * sysdeps/unix/sysv/linux/getrlimit.c: Remove K&R compatibility. * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_TRUNCATE64_SYSCALL and __ASSUME_MMAP2_SYSCALL for 2.3.31 on x86. * sysdeps/unix/sysv/linux/ftruncate64.c: New file. * sysdeps/unix/sysv/linux/truncate64.c: New file. * sysdeps/unix/sysv/linux/i386/mmap.S: Allow using mmap2. * sysdeps/unix/sysv/linux/i386/mmap64.S: New file.
* Update.Ulrich Drepper1999-12-081-1/+3
| | | | | | | 1999-12-08 Ulrich Drepper <drepper@cygnus.com> * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't fail if host has only IPv6 address. Reported by Artur Frysiak <wiget@pld.org.pl>.
* Update.Ulrich Drepper1999-12-083-31/+35
| | | | | | | | | | | | | | | | 1999-12-07 Scott Bambrough <scottb@netwinder.org> * sysdeps/arm/dl-machine.h (elf_machine_rel): Fixup R_ARM_PC24 relocs if possible. 1999-12-06 Andreas Schwab <schwab@suse.de> * sysdeps/unix/sysv/linux/setrlimit.c: First find out wether the ugetrlimit syscall exists. * sysdeps/unix/sysv/linux/getrlimit.c: Only put versions on exported symbols. * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
* Update.Ulrich Drepper1999-12-042-12/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1999-12-03 Andreas Jaeger <aj@suse.de> * nss/getXXbyYY.c: Include <resolv.h> (FUNCTION_NAME): Use res_ninit instead of res_init. * nss/getXXbyYY_r.c [NEED__RES]: Include <resolv.h> for _res declaration and prototypes. Remove extra _res declaration. (INTERNAL): Use thread aware res_ninit function. * inet/gethstbyad_r.c: Include <resolv.h>. * resolv/res_data.c: Update from Bind 8.2.2-P5. Moved res_init to res_libc.c. Disabled unneeded functions. * resolv/res_libc.c: New file. * Versions.def: Add version GLIBC_2.2 for libpthread. Add versions GLIBC_2.1 and GLIBC_2.2 for libresolv. * include/resolv.h: Add internal interfaces. * resolv/Makefile (routines): Add new files. (libresolv-routines): Likewise. (distribute): Likewise. * resolv/gethnamaddr.c: Use thread safe resolver functions. * resolv/nss_dns/dns-host.c: Likewise. * resolv/nss_dns/dns-network.c: Likewise. * resolv/arpa/nameser.h: Update from Bind 8.2.2-P5. * resolv/nsap_addr.c: Likewise. * resolv/res_comp.c: Likewise. * resolv/res_debug.c: Likewise. * resolv/res_init.c: Likewise. * resolv/res_mkquery.c: Likewise. * resolv/res_query.c: Likewise. * resolv/res_send.c: Likewise. * resolv/resolv.h: Likewise. * resolv/Versions: Add __res_state and __res_ninit with version GLIBC_2.2 to libc. Add new interfaces with version GLIBC_2.2 to libresolv. * resolv/Banner: Update. * include/arpa/nameser_compat.h: New file. * resolv/ns_name.c: New file from Bind 8.2.2-P5. * resolv/ns_netint.c: Likewise. * resolv/ns_parse.c: Likewise. * resolv/ns_print.c: Likewise. * resolv/ns_samedomain.c: Likewise. * resolv/ns_ttl.c: Likewise. * resolv/arpa/nameser_compat.h: Likewise. * resolv/res_debug.h: Likewise. Some patches are based on work done by Adam D. Bradley <artdodge@cs.bu.edu>. * sysdeps/unix/sysv/linux/configure.in: Remove check for ldconfig, set always use_ldconfig instead.
* Update.Ulrich Drepper1999-12-042-0/+237
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1999-11-30 Andreas Jaeger <aj@suse.de> Add ldconfig: * elf/Makefile (extra-objs): Added ldconfig-modules. (ldconfig-modules): New. Added vpath for xstrdup and xmalloc. Check for use-ldconfig instead of has-ldconfig. ($(objpfx)ldconfig): New rule with dependencies. (distribute): Add new files. * sysdeps/unix/sysv/linux/sparc/readelflib.c: New file, developed together with Jakub Jelinek <jakub@redhat.com>. * sysdeps/generic/readelflib.c: Likewise. * elf/cache.c: New file. * elf/ldconfig.c: New file. * elf/ldconfig.h: New file. * elf/readlib.c: New file. * Makefile (install): Remove flag -d in ldconfig call. * configure.in: Rename has_ldconfig to use_ldconfig, set it to no by default. * config.make.in (has-ldconfig): Renamed to use-ldconfig, changed comment.
* Update.Ulrich Drepper1999-12-045-81/+89
| | | | | | | | | | | | | 1999-12-03 Ulrich Drepper <drepper@cygnus.com> * sysdeps/generic/bits/stropts.h: Update with LiS types and values. Patch by David Grothe <dave@gcom.com>. * sysdeps/unix/sysv/linux/bits/types.h (__t_scalar_t, __t_uscalar_t): Make long types. * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise. * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise. * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
* 1999-11-18 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-12-032-21/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * hurd/hurdsig.c (_hurdsig_init): If __hurd_threadvar_stack_mask is nonzero, use cthread_fork to create the signal thread. * hurd/msgportdemux.c (_hurd_msgport_receive): Initialize _hurd_msgport_thread here (to self). * sysdeps/mach/hurd/fork.c (__fork): When __hurd_sigthread_stack_end is zero, instead compute child signal thread's starting SP from parent signal thread's current SP and the threadvar_stack variables. * hurd/Versions (GLIBC_2.1.3): Add cthread_fork, cthread_detach. These are now referenced weakly by _hurdsig_init. * hurd/report-wait.c (_S_msg_report_wait): Fix typo: &_hurd_itimer_thread not &_hurd_msgport_thread. 1999-10-01 Roland McGrath <roland@baalperazim.frob.com> * hurd/hurdfchdir.c (_hurd_change_directory_port_from_fd): Rewrite without HURD_DPORT_USE to clean up warnings. * hurd/dtable.c (get_dtable_port): Likewise. * hurd/hurdioctl.c (rectty_dtable): Renamed to install_ctty. (install_ctty): Do the changing of the cttyid port cell here, inside the critical section while we holding the dtable lock. (_hurd_setcttyid, tiocsctty, tiocnotty): Use that instead of changing the port cell and calling rectty_dtable. (_hurd_locked_install_cttyid): New function, split out of install_ctty. (install_ctty): Use it inside a critical section, with the lock held. * sysdeps/mach/hurd/setsid.c (__setsid): Use _hurd_locked_install_cttyid to effect the cttyid and dtable changes after proc_setsid, having held the dtable lock throughout. * hurd/dtable.c (ctty_new_pgrp): With the dtable lock held, check the cttyid port for null and bail out early if so. The dtable lock serializes us after any cttyid change and its associated dtable update.
* 1999-11-14 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-12-023-0/+37
| | | | | | | | | * sysdeps/mach/hurd/nfs/nfs.h: New file, empty but for comments. Its presence lets librpcsvc compile ok. This from Mark Kettenis. We don't install this file for users. * sysdeps/mach/hurd/Dist: Add it. * sysdeps/mach/hurd/Makefile [$(subdir) = sunrpc] (sysdep_headers): Append nfs/nfs.h here.
* Update.Ulrich Drepper1999-12-0222-97/+318
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1999-12-01 Andreas Jaeger <aj@suse.de> * sysdeps/generic/if_index.c (__protocol_available): Add missing int for parameter. * stdio/stdio.h: Fix typo. Patches by Marcus G. Daniels <mgd@santafe.edu>. 1999-12-01 Andreas Jaeger <aj@suse.de> * scripts/test-installation.pl (installation_problem): Filter out libpthread_db. 1999-12-01 Andreas Schwab <schwab@suse.de> * sysdeps/unix/sysv/linux/alpha/bits/types.h: Fix signedness of __rlim_t and __rlim64_t. * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise. * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise. 1999-12-01 Andreas Schwab <schwab@suse.de> * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add oldgetrlimit64 and oldsetrlimit64 for subdir = resource. * sysdeps/unix/sysv/linux/Versions: Add getrlimit, setrlimit, getrlimit64 and setrlimit64 to version GLIBC_2.1.3. * sysdeps/unix/sysv/linux/setrlimit.c: Correct handling of old and new kernel version. Add symbol versions. * sysdeps/unix/sysv/linux/syscalls.list: Add oldsetrlimit and oldgetrlimit. * sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise. * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_getrlimit and s_ugetrlimit. * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise. * sysdeps/unix/sysv/linux/getrlimit.c: New file. * sysdeps/unix/sysv/linux/getrlimit64.c: New file. * sysdeps/unix/sysv/linux/oldgetrlimit64.c: New file. * sysdeps/unix/sysv/linux/oldsetrlimit64.c: New file. * sysdeps/unix/sysv/linux/setrlimit64.c: New file. * sysdeps/unix/sysv/linux/alpha/oldgetrlimit64.c: New file. * sysdeps/unix/sysv/linux/alpha/oldsetrlimit64.c: New file. * sysdeps/unix/sysv/linux/sparc/sparc64/oldgetrlimit64.c: New file. * sysdeps/unix/sysv/linux/sparc/sparc64/oldsetrlimit64.c: New file.
* Update.Ulrich Drepper1999-12-021-1/+1
| | | | * sysdeps/generic/sys/ptrace.h: Remove K&R compatibility.
* Update.Ulrich Drepper1999-12-021-1/+1
| | | | * sysdeps/generic/usleep.c: Fix typo.
* Update.Ulrich Drepper1999-12-011-7/+8
| | | | | * sysdeps/unix/Makefile (param.h.dep): Filter out sys/param.h itself.
* Update.Ulrich Drepper1999-12-011-1/+1
| | | | | * sysdeps/unix/sysv/bits/utsname.h: Test for _SYS_UTSNAME_H, not _UTSNAME_H.
* Update.Ulrich Drepper1999-11-291-0/+1
| | | | | | | | | | | | | | | | | | | | | 1999-11-29 Thorsten Kukuk <kukuk@suse.de> * sysdeps/unix/sysv/linux/sparc/bits/signum.h: Add define for SIGCLD als SIGCHLD. 1999-11-29 Andreas Jaeger <aj@suse.de> * manual/time.texi (Basic CPU Time): Better describe wrap around. Patch by Andries Brouwer <Andries.Brouwer@cwi.nl>. 1999-11-29 Ulrich Drepper <drepper@cygnus.com> * iconvdata/gconv-modules: Fix typos in LATIN8/L8 aliases. Patch by Bruno Haible <haible@ilog.fr>. 1999-11-29 Thorsten Kukuk <kukuk@suse.de> * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Remove K&R compatibility.
* Remove K&R compatibility.Ulrich Drepper1999-11-291-1/+1
|
* * sysdeps/m68k/bits/byteswap.h (__bswap_32): Rename local variable Andreas Schwab1999-11-291-18/+18
| | | | | | __v to __bswap_32_v. (__bswap_64): Rename local variables __v and __r to __bswap_64_v and __bswap_64_r to avoid clash with __bswap_32 macro.
* Update.Ulrich Drepper1999-11-262-0/+2
| | | | | | | | | | | | | | 1999-11-26 Thorsten Kukuk <kukuk@suse.de> * sysdeps/gnu/siglist.h: If SIGPWR == SIGLOST, don't include SIGPWR message. * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Include asm/ptrace.h, since this will not be done with 2.3.xx automatically * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise. 1999-11-26 Ulrich Drepper <drepper@cygnus.com> * locale/iso-3166.def: Update from latest official list.
* Update.Ulrich Drepper1999-11-242-1/+3
| | | | | | * sysdeps/unix/sysv/linux/bits/signum.h (SIGSYS): New definition. * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_IEEE802_TR): Added.
* bcopy should handle overlapping copies like memmove, while the previous ↵Ulrich Drepper1999-11-235-16/+288
| | | | version worked like memcpy. Implement optimized assembly memmove.
* (elf_machine_dynamic): New function. Andreas Jaeger1999-11-232-22/+16
| | | | | | | | | | (elf_machine_got): Removed, not needed anymore. (ELF_MACHINE_RELOC_NOPLT): Removed. (ELF_MACHINE_JMP_SLOT): Added. (_RTLD_PROLOGUE): We use gcc, no need to check for __STDC__. (_RTLD_EPILOGUE): Likewise. (RESOLVE_GOTSYM): Use R_MIPS_REL32. (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
* * sysdeps/mips/dl-machine.h (elf_machine_dynamic): New function. Andreas Jaeger1999-11-231-23/+16
| | | | | | | | | | | | (elf_machine_got): Removed, not needed anymore. (ELF_MACHINE_RELOC_NOPLT): Removed. (ELF_MACHINE_JMP_SLOT): Added. (_RTLD_PROLOGUE): We use gcc, no need to check for __STDC__. (_RTLD_EPILOGUE): Likewise. (RESOLVE_GOTSYM): Use R_MIPS_REL32. (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise. Based on patches from Maciej W. Rozycki <macro@ds2.pg.gda.pl> and Ralf Baechle <baechle@uni-koblenz.de>.
* Update.Andreas Jaeger1999-11-221-1/+1
| | | | | | | | | | | 1999-11-22 Andreas Jaeger <aj@suse.de> * sysdeps/unix/sysv/linux/mips/syscalls.list: Add __syscall_setrlimit. * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Include <sys/types.h> for key_t. Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
* Add __syscall_setrlimit.Andreas Jaeger1999-11-221-0/+1
|
* Update.Ulrich Drepper1999-11-221-12/+51
| | | | | * sysdeps/i386/fpu/libm-test-ulps: Increase error value for latest gcc version.
* Update.Ulrich Drepper1999-11-201-5/+9
| | | | | | | | | | | * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Don't modify the rlimits structure passed in. 1999-11-19 Andreas Jaeger <aj@suse.de> * include/sys/resource.h (__setrlimit): Add prototype. 1999-11-19 Ulrich Drepper <drepper@cygnus.com>