about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* * hurd/hurdsig.c (_hurdsig_getenv): Always return null ifRoland McGrath2002-07-243-2/+13
| | | | __libc_enable_secure is set.
* Added <ifaddrs.h> interface with functions `getifaddrs', `freeifaddrs'.Roland McGrath2002-07-2411-22/+485
| | | | | | | | | | | | | | | | | | | | | | | | | | | This implementation supports only IPv4. * inet/ifaddrs.h: New file. * sysdeps/generic/ifaddrs.c: New file. * sysdeps/gnu/ifaddrs.c: New file. * inet/test-ifaddrs.c: New file. * inet/Makefile (routines): Add ifaddrs. (headers): Add ifaddrs.h here. (tests): Add test-ifaddrs. * inet/Versions (GLIBC_2.3): New set, add getifaddrs and freeifaddrs. * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use an explicit socket call to get an AF_INET socket, instead of using __opensock. The SIOCGIFNETMASK ioctl will work only with a PF_INET socket. * sysdeps/generic/ifreq.h (__ifreq): Take third argument SOCKFD, if not -1 use it instead of calling __opensock. * sysdeps/unix/sysv/linux/ifreq.h (__ifreq): Likewise. * sysdeps/mach/hurd/ifreq.h (__ifreq): Take new argument and ignore it. * resolv/res_hconf.c (_res_hconf_reorder_addrs): Pass new argument. * sysdeps/mach/hurd/ifreq.h: New file. * sysdeps/generic/ifreq.h (__if_freereq): Take second argument NUM_IFS. * sysdeps/unix/sysv/linux/ifreq.h (__if_freereq): Likewise. * resolv/res_hconf.c (_res_hconf_reorder_addrs): Update caller.
* * libio/fileops.c (_IO_file_seekoff_mmap): Don't rely on FP->_offset,Roland McGrath2002-07-242-1/+7
| | | | which gets moved around. Calculate size of mmap'd buffer instead.
* Cosmetic edits.Roland McGrath2002-07-241-9/+9
|
* Update.Ulrich Drepper2002-07-243-9/+14
| | | | | | | | | | | 2002-07-24 Philip Blundell <philb@gnu.org> * sysdeps/unix/arm/brk.S: Improve schedule. * sysdeps/unix/sysv/linux/arm/socket.S (PUSHARGS_1): Use more efficient instruction. (__socket): Optimize return sequence. * locale/hashval.h: Make more self-contained by defining LONG_BITS.
* Update.Ulrich Drepper2002-07-243-2/+24
| | | | | | | 2002-07-24 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/opensock.c (__opensock): Prefer inet sockets on old kernels.
* Update.Ulrich Drepper2002-07-244-24/+43
| | | | | | | | 2002-07-22 Philip Blundell <philb@gnu.org> * sysdeps/unix/sysv/linux/arm/errlist.c: Remove extra weak alias definiton of _old_sys_nerr. Define _old_sys_errlist as strong alias.
* Update.Ulrich Drepper2002-07-247-8/+135
| | | | | | | | | | | | | | | | | | | | | | | 2002-07-24 Ulrich Drepper <drepper@redhat.com> * locale/hashval.h: Make more self-containedby defining LONG_BITS. * locale/programs/simple-hash.c: Remove LONG_BITS definition. * locale/programs/locarchive.c (add_locale_to_archive): Correct test to detect duplicate locales. * libio/fileops.c (_IO_new_file_seekoff): Fail if relative position would be before beginning of file. (_IO_file_seekoff_mmap): Likewise. * libio/Makefile (tests): Add bug-fseek. * libio/bug-fseek.c: New file. * intl/explodename.c: Remove support for CEN-style locale variables. It was never used and shouldn't be since it's not portable. * intl/finddomain.c: Likewise. * intl/l10nflist.c: Likewise. * intl/loadinfo.h: Likewise. * locale/findlocale.c: Likewise.
* Remove support for CEN-style locale variables. It was never used and ↵Ulrich Drepper2002-07-245-183/+55
| | | | shouldn't be since it's not portable.
* * libio/fileops.c (_IO_file_seekoff_mmap): When just examining theRoland McGrath2002-07-242-5/+13
| | | | | | | position, calculate it to take into account an active pushback buffer. * libio/Makefile (tests): Add bug-ungetc. * libio/bug-ungetc.c: New file.
* 2002-07-24 Roland McGrath <roland@frob.com>Roland McGrath2002-07-242-1/+62
| | | | | * libio/Makefile (tests): Add bug-ungetc. * libio/bug-ungetc.c: New file.
* Moved to misc/sys.Ulrich Drepper2002-07-231-1/+0
|
* Update.Ulrich Drepper2002-07-238-13/+236
| | | | | | | | | | | | | | | | | 2002-07-23 Ulrich Drepper <drepper@redhat.com> * sysdeps/generic/libc-tls.c: New file. * csu/Makefile (routines): Add libc-tls. (static-only-routines): Add libc-tls. * elf/dl-support.c (_dl_phdr): New variable. (_dl_phnum): New variable. (_dl_aux_init): Initialize _dl_phdr and _dl_phnum from aux vector. * sysdeps/generic/libc-start.c (__libc_start_main): Reorganize code for !SHARED. First look through auxiliary vector. If TLS always call __pthread_initialize_minimal. * sysdeps/generic/dl-tls.c (_dl_allocate_tls): Make sure size argument in mmap call is never zero.
* (_dl_phdr): New variable. (_dl_phnum): New variable. (_dl_aux_init): ↵Ulrich Drepper2002-07-231-0/+9
| | | | Initialize _dl_phdr and _dl_phnum from aux vector.
* Fix whitespace.Andreas Jaeger2002-07-231-1/+1
|
* Update.Andreas Jaeger2002-07-231-0/+5
| | | | | | | 2002-07-23 Andreas Jaeger <aj@suse.de> * sysdeps/x86_64/fpu/s_copysign.S: Use optimized version. * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
* Use optimized version.Andreas Jaeger2002-07-232-21/+30
|
* Update.Ulrich Drepper2002-07-232-2/+17
| | | | | | 2002-07-22 Ulrich Drepper <drepper@redhat.com> * Makefile: Actually creat tst-signal.out file when running the test.
* pdate.Ulrich Drepper2002-07-232-18/+19
| | | | | * libio/tst-eof.c: Rewrite to let test-skeleton.c deal with creation and removal of the temp file.
* Update.Ulrich Drepper2002-07-222-5/+22
| | | | | | | | 2002-07-22 Ulrich Drepper <drepper@redhat.com> * libio/bug-rewind.c: Use test skeleton. Use create_temp_file for file creation. * test-skeleton.c (create_temp_file): New function.
* (create_temp_file): New function.Ulrich Drepper2002-07-221-1/+33
|
* Update.Andreas Jaeger2002-07-221-0/+5
| | | | | | | 2002-07-22 Andreas Jaeger <aj@suse.de> * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Use local label.
* (elf_machine_load_address): Use local label.Andreas Jaeger2002-07-221-2/+2
|
* * wcsmbs/Makefile (strtox-CFLAGS): New variable,Roland McGrath2002-07-222-14/+26
| | | | | | | | | | put -I../include before -I../stdlib so we get the right errno.h et al. (CFLAGS-wcstod.c): Use that variable instead of -I../stdlib. (CFLAGS-wcstof.c): Likewise. (CFLAGS-wcstold.c): Likewise. (CFLAGS-wcstod_l.c): Likewise. (CFLAGS-wcstof_l.c): Likewise. (CFLAGS-wcstold_l.c): Likewise.
* * sysdeps/mach/hurd/errnos.awk: Remove __set_errno defn from output.Roland McGrath2002-07-221-0/+4
|
* 2002-07-19 Roland McGrath <roland@frob.com>Roland McGrath2002-07-221-1/+0
| | | | * sysdeps/mach/hurd/errnos.awk: Remove __set_errno defn from output.
* (Hooks for Malloc): Correct order of arguments for __memalign_hook.Ulrich Drepper2002-07-221-1/+1
|
* Update.Ulrich Drepper2002-07-204-20/+31
| | | | | | | | | * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define if __ASSUME_AT_XID is defined. * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_XID): Define for 2.4.1 and up. * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Optimize handling of AT_UID, AT_EUID, AT_GID, and AT_EGID.
* Update.Ulrich Drepper2002-07-201-0/+9
| | | | | | | | | | | 2002-07-20 Ulrich Drepper <drepper@redhat.com> * wcsmbs/Makefile (CFLAGS-wcstod.c): Add -I../stdlib. (CFLAGS-wcstof.c): Likewise. (CFLAGS-wcstold.c): Likewise. (CFLAGS-wcstod_l.c): Likewise. (CFLAGS-wcstof_l.c): Likewise. (CFLAGS-wcstold_l.c): Likewise.
* Update.Ulrich Drepper2002-07-203-2/+152
| | | | | | | 2002-07-18 Jakub Jelinek <jakub@redhat.com> * resource/sys/resource.h (__rlimit_resource_t, __rusage_who_t, __priority_which_t): Always typedef to int for C++.
* Update.Ulrich Drepper2002-07-2041-350/+447
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-07-19 Ulrich Drepper <drepper@redhat.com> * configure.in: Add test for __thread support in compiler. * config.h.in: Add HAVE___THREAD. * Makefile (headers): Remove errno.h, sys/errno.h, and bits/errno.h. * include/sys/errno.h: Moved to... * stdlib/sys/errno.h: ...here. New file. * stdlib/errno.h: New file. Moved from... * include/errno.h: ...here. Changed into an internal header defining libc-local things like __set_errno. * stdlib/Makefile (headers): Add errno.h, sys/errno.h, and bits/errno.h. * elf/dl-minimal.c: Include <tls.h>. Define errno as thread-local variable if USE_TLS && HAVE___THREAD. Don't define __errno_location either. * elf/rtld.c (_dl_start): Add code to initialize TLS for ld.so from... (_dl_start_final): ...here. Add code to initialize tls elements from bootstrap_map. * sysdeps/generic/errno-loc.c: Define errno as thread-local variable if USE_TLS && HAVE___THREAD. * sysdeps/generic/bits/errno.h: Remove __set_errno definition. * sysdeps/mach/hurd/bits/errno.h: Likewise. * sysdeps/standalone/arm/bits/errno.h: Likewise. * sysdeps/standalone/bits/errno.h: Likewise. * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Likewise. * sysdeps/unix/sysv/aix/bits/errno.h: Likewise. * sysdeps/unix/sysv/hpux/bits/errno.h: Likewise. * sysdeps/unix/sysv/linux/bits/errno.h: Likewise. * sysdeps/unix/sysv/linux/hppa/bits/errno.h: Likewise. * sysdeps/unix/sysv/linux/mips/bits/errno.h: Likewise. * sysdeps/unix/sysv/sysv4/solaris2/bits/errno.h: Likewise. * sysdeps/i386/dl-machine.c (elf_machine_rel) [RTLD_BOOTSTRAP]: Don't use GL(dl_rtld_map), use map parameter. * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise. * sysdeps/unix/sysv/linux/i386/sysdep.S: Define errno in .tbss if USE_TLS && HAVE___THREAD. * sysdeps/unix/sysv/linux/i386/sysdep.h: Unify SETUP_PIC_REG definitions. If USE_TLS && HAVE___THREAD store errooor value using TLS code sequence. * sysdeps/unix/sysv/linux/i386/i686/sysdep.h: Likewise. * sysdeps/unix/sysv/linux/getcwd.c: No real need to restore errno. * sysdeps/unix/sysv/linux/grantpt.c: Likewise. * sysdeps/unix/sysv/linux/internal_statvfs.c: Likewise. * sysdeps/unix/sysv/linux/msgctl.c: Likewise. * sysdeps/unix/sysv/linux/readv.c: Likewise. * sysdeps/unix/sysv/linux/writev.c: Likewise.
* Update.Ulrich Drepper2002-07-172-2/+7
| | | | | | | 2002-07-17 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Fix MS_SYNC and MS_INVALIDATE values.
* Update.Ulrich Drepper2002-07-175-8/+24
| | | | | | | | | | 2002-07-17 Andreas Schwab <schwab@suse.de> Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/pread.c: Sign extend offset. * sysdeps/unix/sysv/linux/pwrite.c: Likewise. * sysdeps/unix/sysv/linux/mips/pread.c: Likewise. * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
* Update.Ulrich Drepper2002-07-176-14/+48
| | | | | | | | | | | | | 2002-07-01 H.J. Lu <hjl@gnu.org> * elf/circleload1.c (load_dso): Call "circlemod1" and check return value. * elf/circlemod1.c (circlemod1): Return int. * elf/circlemod2.c (circlemod2): Likewise. * elf/circlemod2a.c (circlemod2): Likewise. * elf/circlemod3.c (circlemod3): Likewise. (circlemod3a): A new function.
* Update.Ulrich Drepper2002-07-175-9/+25
| | | | | | | | | * catgets/tst-catgets.c (main): Don't expect results for untranslated messages. * math/Makefile (CPPFLAGS-test-ifloat.c): Also define TEST_FAST_MATH. (CPPFLAGS-test-idouble.c): Likewise. (CPPFLAGS-test-ildouble.c): Likewise.
* Update.Ulrich Drepper2002-07-1611-17/+62
| | | | | | | 2002-07-16 Ulrich Drepper <drepper@redhat.com> * locales/th_TH: Change tel_dom_fmt. Patch by Theppitak Karoonboonyanan <thep@links.nectec.or.th>.
* Update.Ulrich Drepper2002-07-163-3/+13
| | | | | | | | 2002-07-16 Ulrich Drepper <drepper@redhat.com> * glibcbug.in: Fix little typo. Remove STDIO. * config.h.in: Fail if __FAST_MATH__ is defined.
* Update.Ulrich Drepper2002-07-169-1579/+2587
| | | | | | | | | | 2002-07-15 Ulrich Drepper <drepper@redhat.com> * intl/tst-gettext.sh: Pass -f option to msgfmt. * intl/tst-gettext.c: Correctly handle untranslated messages in positive tests. * po/de.po: Update from translation team.
* Update.Ulrich Drepper2002-07-168-72/+36
| | | | | | | | | | | | | 2002-07-02 H.J. Lu <hjl@gnu.org> * sysdeps/mips/atomicity.h: Don't include <sgidefs.h>. Always use ll/sc. * sysdeps/unix/sysv/linux/mips/sys/tas.h: Likewise. * sysdeps/unix/sysv/linux/configure.in: Set arch_minimum_kernel to 2.4.0 for mips. TLS fail if USE_TLS is not defined.
* Update.Ulrich Drepper2002-07-162-2/+9
| | | | | * elf/dl-load.c (_dl_map_object_from_fd): If loaded object uses TLS fail is USE_TLS is not defined.
* Update.Ulrich Drepper2002-07-159-11/+163
| | | | | | | | | 2002-07-15 Ulrich Drepper <drepper@redhat.com> * libio/wfileops.c (_IO_wfile_seekoff): Reposition wide pointers and adjust state for seek position. [PR libc/4070] * libio/Makefile (tests): Add bug-rewind. * libio/bug-rewind.c: New file.
* Update.Ulrich Drepper2002-07-155-15/+45
| | | | | | | | | | | | | | | | | | | | | | | 2002-07-12 Philip Blundell <philb@gnu.org> * sysdeps/generic/backtrace.c (FIRST_FRAME_POINTER): New macro. (__backtrace): Use it. * sysdeps/arm/frame.h (FIRST_FRAME_POINTER): Define. [PR libc/2632] 2002-07-12 Philip Blundell <philb@gnu.org> * sysdeps/arm/dl-machine.h (elf_machine_rel): Don't handle R_ARM_RELATIVE if RTLD_BOOTSTRAP and HAVE_Z_COMBRELOC. Only check for rtld map if neither RTLD_BOOTSTRAP nor HAVE_Z_COMBRELOC is defined. (elf_machine_rela): Remove unused variable. * sysdeps/unix/sysv/linux/arm/Makefile [subdir=elf] (sysdep-rtld-routines, sysdep_routines, sysdep-dl-routines): Don't define. 2002-07-12 Ulrich Drepper <drepper@redhat.com> * iconvdata/gconv-modules: Add aliases for ISO-8859-11.
* Update.Ulrich Drepper2002-07-151-0/+5
| | | | | | | 2002-07-14 Ulrich Drepper <drepper@redhat.com> * manager.c (pthread_handle_create): Initialize self-reference in descriptor.
* (pthread_handle_create): Initialize self-reference in descriptor.Ulrich Drepper2002-07-151-0/+1
|
* Update.Andreas Jaeger2002-07-142-0/+13
| | | | | | 2002-07-14 Andreas Jaeger <aj@suse.de> * sysdeps/x86_64/bits/link.h: Add biarch support.
* Update.Andreas Jaeger2002-07-121-0/+6
| | | | | | | | 2002-07-13 Andreas Jaeger <aj@suse.de> * sysdeps/unix/sysv/linux/mips/register-dump.h (register_dump): Use correct indices. Patch by Eliot Dresselhaus <eliot@ayrnetworks.com>.
* * sysdeps/unix/sysv/linux/mips/register-dump.h (register_dump): Andreas Jaeger2002-07-121-4/+4
| | | | | Use correct indices. Patch by Eliot Dresselhaus <eliot@ayrnetworks.com>.
* Add aliases for ISO-8859-11.Ulrich Drepper2002-07-122-289/+2
|
* Update.Ulrich Drepper2002-07-1131-1150/+521
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-07-09 Martin Schwidefsky <schwidefsky@de.ibm.com> * sysdeps/s390/bits/byteswap.h: Unified 31/64 bit byteswap.h. * sysdeps/s390/s390-32/bits/byteswap.h: Remove. * sysdeps/s390/s390-64/bits/byteswap.h: Remove. * sysdeps/s390/bits/link.h: Unified 31/64 bit link.h. * sysdeps/s390/s390-32/bits/link.h: Remove. * sysdeps/s390/s390-64/bits/link.h: Remove. * sysdeps/s390/bits/setjmp.h: Unified 31/64 bit setjmp.h. * sysdeps/s390/s390-32/bits/setjmp.h: Remove. * sysdeps/s390/s390-64/bits/setjmp.h: Remove. * sysdeps/s390/bits/wordsize.h: New file. * sysdeps/unix/sysv/linux/s390/bits/elfclass.h: Unified 31/64 bit elfclass.h. * sysdeps/unix/sysv/linux/s390/s390-64/bits/elfclass.h: Remove. * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Unified 31/64 bit fcntl.h. * sysdeps/unix/sysv/linux/s390/s390-32/bits/fcntl.h: Remove. * sysdeps/unix/sysv/linux/s390/s390-64/bits/fcntl.h: Remove. * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Unified 31/64 bit ipc.h. * sysdeps/unix/sysv/linux/s390/s390-64/bits/ipc.h: Remove. * sysdeps/unix/sysv/linux/s390/bits/mman.h: Unified 31/64 bit mman.h. * sysdeps/unix/sysv/linux/s390/s390-32/bits/mman.h: Remove. * sysdeps/unix/sysv/linux/s390/s390-64/bits/mman.h: Remove. * sysdeps/unix/sysv/linux/s390/bits/msq.h: Unified 31/64 bit msq.h. * ysdeps/unix/sysv/linux/s390/s390-64/bits/msq.h: Remove. * sysdeps/unix/sysv/linux/s390/bits/resource.h: Unified 31/64 bit resource.h. * sysdeps/unix/sysv/linux/s390/s390-32/bits/resource.h: Remove. * sysdeps/unix/sysv/linux/s390/s390-64/bits/resource.h: Remove. * sysdeps/unix/sysv/linux/s390/bits/sem.h: Unified 31/64 bit sem.h. * sysdeps/unix/sysv/linux/s390/s390-64/bits/sem.h: Remove. * sysdeps/unix/sysv/linux/s390/bits/shm.h: Unified 31/64 bit shm.h. * sysdeps/unix/sysv/linux/s390/s390-64/bits/shm.h: Remove. * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Unified 31/64 bit sigaction.h. * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigaction.h: Remove. * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Unified 31/64 bit siginfo.h. * sysdeps/unix/sysv/linux/s390/s390-64/bits/siginfo.h: Remove. * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigstack.h: Remove. * sysdeps/unix/sysv/linux/s390/bits/socket.h: Unified 31/64 bit socket.h. * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: Remove. * sysdeps/unix/sysv/linux/s390/bits/stat.h: Unified 31/64 bit stat.h. * sysdeps/unix/sysv/linux/s390/s390-32/bits/stat.h: Remove. * sysdeps/unix/sysv/linux/s390/s390-64/bits/stat.h: Remove. * sysdeps/unix/sysv/linux/s390/bits/types.h: Unified 31/64 bit types.h. * sysdeps/unix/sysv/linux/s390/s390-64/bits/types.h: Remove. * sysdeps/unix/sysv/linux/s390/net/route.h: New file. * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Unified 31/64 bit procfs.h. * sysdeps/unix/sysv/linux/s390/s390-32/sys/procfs.h: Remove. * sysdeps/unix/sysv/linux/s390/s390-64/sys/procfs.h: Remove. * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Unified 31/64 bit ucontext.h. * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Remove. * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Remove.
* Update.Ulrich Drepper2002-07-114-1/+31
| | | | | | | | | 2002-07-11 Ulrich Drepper <drepper@redhat.com> * Versions.def (libc): Add GLIBC_2.3. * stdlib/Versions [libc] (GLIBC_2.3): Add realpath. * stdlib/canonicalize.c: Add compatibility version for realpath and make new code available in GLIBC_2.3.