aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2004-07-23Update.Ulrich Drepper2-4/+21
2004-07-19 Thorsten Kukuk <kukuk@suse.de> * nis/nss_compat/compat-initgroups.c (getgrent_next_nss): Don't allocate memory for large temporary variables with alloca. * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Compatibility code must have version GLIBC_2.0. Patch by Dwayne McConnell.
2004-07-23Update.Ulrich Drepper2-13/+22
2004-07-22 Ulrich Drepper <drepper@redhat.com> * nscd/nscd_getgr_r.c (nscd_getgr_r): Avoid read call with NULL pointer and zero length.
2004-07-22Update.Ulrich Drepper1-0/+4
2004-07-21 Ulrich Drepper <drepper@redhat.com> * nscd/cache.c (prune_cache): Print correct list when debugging.
2004-07-22(prune_cache): Print correct list when debugging.Ulrich Drepper1-2/+2
2004-07-21* Makefile ($(objpfx)multidir.mk): Use $(make-target-directory).Roland McGrath3-2/+17
2004-07-212004-07-21 Roland McGrath <roland@redhat.com>Roland McGrath2-1/+3
* Makefile ($(objpfx)multidir.mk): Use $(make-target-directory).
2004-07-21Update.Ulrich Drepper4-2/+69
2004-07-21 Jakub Jelinek <jakub@redhat.com> * resolv/res_libc.c (res_init): If RES_INIT is set and _res.nscount > 0, call __res_nclose and free nsaddrs. * resolv/Makefile: Add rules to build and run tst-leaks2. * resolv/tst-leaks2.c: New test.
2004-07-21[BZ #276]Ulrich Drepper2-6/+15
Update. 2004-07-21 Ulrich Drepper <drepper@redhat.com> * intl/libintl.h: Don't define macros for C++. Patch by Goto Masanori. 2004-07-22 GOTO Masanori <gotom@debian.or.jp> [BZ #276] * include/arpa/inet.h: Change inet_aton type from in_addr_t to int. * inet/arpa/inet.h: Likewise. * resolv/inet_addr.c: Likewise. * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Add semtimedop.
2004-07-21Change inet_aton type from in_addr_t to int.Ulrich Drepper3-4/+4
2004-07-21* sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: AddAndreas Jaeger1-0/+5
semtimedop.
2004-07-21Add semtimedop.Andreas Jaeger1-0/+1
2004-07-20* configure.in (add_ons): Substitute this. Move $add_ons handlingRoland McGrath9-799/+500
after AC_CANONICAL_HOST and default setting of $machine et al. Don't set $subdirs from $add_ons. Instead, source add-on/configure fragments early on. (base_machine): If it's already set, don't set it based on $machine. (libc_config_ok): New variable, set to no. If an add-on fragment sets it to yes, skip the tuple sanity check as if --enable-hacker-mode. (sysnames): Try appending add-on names after machine as well. * configure: Regenerated. * config.make.in (add-ons): Set from @add_ons@ instead of @subdirs@. * Makeconfig ($(common-objpfx)config.status): Also depend on configure files in $(add_ons) dirs. * sysdeps/unix/sysv/linux/bits/in.h (struct ip_mreq): Remove definition, now in netinet/in.h proper. long. Rewrite example code so that it takes into account l64a output
2004-07-202004-07-02 Roland McGrath <roland@redhat.com>Roland McGrath3-5/+8
* configure: Don't exit.
2004-07-20* sysdeps/unix/sysv/linux/mips/sys/user.h: Likewise.Ulrich Drepper1-1/+1
2004-07-20Fix entries.Andreas Jaeger2-27/+30
* sysdeps/mips/atomicity.h: Use standard names for ABI macros, include sgidefs.h where appropriate. * sysdeps/mips/dl-machine.h: Likewise. * sysdeps/mips/machine-gmon.h: Likewise. * sysdeps/mips/bits/setjmp.h: Likewise. * sysdeps/mips/fpu/bits/mathdef.h: Likewise. * sysdeps/mips/mips64/__longjmp.c: Likewise. * sysdeps/mips/mips64/setjmp_aux.c: Likewise. * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Likewise. * sysdeps/unix/sysv/linux/mips/pread.c: Likewise. * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise. * sysdeps/unix/sysv/linux/mips/ptrace.c: Likewise. * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise. * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise. * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise. * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Likewise. * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise. * sysdeps/unix/sysv/linux/mips/bits/sigcontext.h: Likewise. * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise. * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise. * sysdeps/unix/sysv/linux/mips/sys/ptrace.h: Likewise. * sysdeps/unix/sysv/linux/mips/sys/tas.h: Likewise. * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Likewise. * sysdeps/unix/sysv/linux/mips/sys/user.h: * sysdeps/unix/sysv/linux/mips/Makefile ($(objpfx)syscall-%.h): * sysdeps/unix/sysv/linux/mips/configure.in (asm-unistd.h): * sysdeps/unix/sysv/linux/mips/configure: Rebuilt.
2004-07-20UPdate.Andreas Jaeger30-60/+141
* sysdeps/unix/sysv/linux/mips/Makefile ($(objpfx)syscall-%.h): Sort by syscalls. Make sure we get headers such as sgidefs.h from the build tree before just-installed ones. * sysdeps/mips/atomicity.h, sysdeps/mips/dl-machine.h, sysdeps/mips/machine-gmon.h, sysdeps/mips/bits/setjmp.h, sysdeps/mips/fpu/bits/mathdef.h, sysdeps/mips/mips64/__longjmp.c, sysdeps/mips/mips64/setjmp_aux.c, sysdeps/unix/sysv/linux/mips/kernel_stat.h, sysdeps/unix/sysv/linux/mips/pread.c, sysdeps/unix/sysv/linux/mips/pread64.c, sysdeps/unix/sysv/linux/mips/ptrace.c, sysdeps/unix/sysv/linux/mips/pwrite.c, sysdeps/unix/sysv/linux/mips/pwrite64.c, sysdeps/unix/sysv/linux/mips/sigaction.c, sysdeps/unix/sysv/linux/mips/sigcontextinfo.h, sysdeps/unix/sysv/linux/mips/bits/fcntl.h, sysdeps/unix/sysv/linux/mips/bits/sigcontext.h, sysdeps/unix/sysv/linux/mips/bits/stat.h, sysdeps/unix/sysv/linux/mips/sys/procfs.h, sysdeps/unix/sysv/linux/mips/sys/ptrace.h, sysdeps/unix/sysv/linux/mips/sys/tas.h, sysdeps/unix/sysv/linux/mips/sys/ucontext.h, sysdeps/unix/sysv/linux/mips/sys/user.h: Use standard names for ABI macros, include sgidefs.h where appropriate. sysdeps/unix/sysv/linux/mips/Makefile ($(objpfx)syscall-%.h): Likewise. sysdeps/unix/sysv/linux/mips/configure.in (asm-unistd.h): Likewise. sysdeps/unix/sysv/linux/mips/configure: Rebuilt.
2004-07-20Update.Andreas Jaeger1-0/+6
2004-07-20 Alexandre Oliva <aoliva@redhat.com> * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Update to use _dl_lookup_symbol_x. (elf_machine_runtime_link_map): Don't INTUSE _dl_signal_error.
2004-07-20(__dl_runtime_resolve): Update to use _dl_lookup_symbol_x. ↵Andreas Jaeger1-7/+7
(elf_machine_runtime_link_map): Don't INTUSE _dl_signal_error.
2004-07-20Update.Ulrich Drepper4-6/+34
Define struct group_req and struct group_source_req.
2004-07-20Update.Ulrich Drepper2-0/+3
Define MCAST_INCLUDE and MCAST_EXCLUDE.
2004-07-20Update.Ulrich Drepper4-8/+55
* inet/netinet/in.h: Define struct ip_mreq and struct ip_mreq_source. * sysdeps/unix/sysv/linux/bits/in.h: Define IP_UNBLOCK_SOURCE, IP_BLOCK_SOURCE, IP_ADD_SOURCE_MEMBERSHIP, IP_DROP_SOURCE_MEMBERSHIP, IP_MSFILTER, MCAST_JOIN_GROUP, MCAST_BLOCK_SOURCE, MCAST_UNBLOCK_SOURCE, MCAST_LEAVE_GROUP, MCAST_JOIN_SOURCE_GROUP, MCAST_LEAVE_SOURCE_GROUP, and MCAST_MSFILTER.
2004-07-20[BZ #244]Ulrich Drepper2-0/+5
Update. 2004-07-20 Ulrich Drepper <drepper@redhat.com> * iconvdata/gconv-modules: Add alias for IBM874 [BZ #244].
2004-07-20[BZ #258]Ulrich Drepper5-4/+114
Update. 2004-07-19 Jakub Jelinek <jakub@redhat.com> [BZ #258] * math/libm-test.inc (max_value, min_value): New variables. (initialize): Initialize them. (pow_test): Add a couple of new tests. * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Don't generate invalid exception if |y| >= 1U<<31. * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Don't generate invalid exception if |y| >= 1L<<63. * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. If y*log2(x) overflows to +-inf, return still +inf/+0 instead of NaN. * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
2004-07-20(__ieee754_powf): Don't generate invalid exception if |y| >= 1U<<31.Ulrich Drepper1-1/+12
2004-07-19(CFLAGS-pt-initfini.s): Remove redundant override that missed -g0.Andreas Jaeger2-3/+5
2004-07-19 Alexandre Oliva <aoliva@redhat.com> * sysdeps/unix/sysv/linux/mips/Makefile (CFLAGS-pt-initfini.s): Remove redundant override that missed -g0.
2004-07-18Update.Ulrich Drepper4-66/+52
2004-07-18 Ulrich Drepper <drepper@redhat.com> * nscd/pwdcache.c (cache_addpw): Optimize case of unsuccessful lookup a bit. * nscd/grpcache.c (cache_addgr): Likewise. * nscd/hstcache.c (cache_addhst): Likewise.
2004-07-18Update.Ulrich Drepper3-16/+7
2004-07-10 GOTO Masanori <gotom@debian.or.jp> * sysdeps/s390/s390-32/elf/start.S: Remove symbol _fp_hw. * sysdeps/s390/s390-64/elf/start.S: Likewise.
2004-07-18Update.Ulrich Drepper2-6/+11
2004-04-16 Andreas Schwab <schwab@suse.de> * sysdeps/ia64/bits/atomic.h: Cast first argument of __sync_bool_compare_and_swap_si correct to void*.
2004-07-17Update.Ulrich Drepper2-9/+12
2004-07-17 Ulrich Drepper <drepper@redhat.com> * iconv/iconv_prog.c (print_known_names): Make machine-readable output even less cluttered.
2004-07-16[BZ #269]Ulrich Drepper6-1/+132
Update. 2004-07-16 Steven Munroe <sjmunroe@us.ibm.com> [BZ #269] * setjmp/Makefile (tests): Add bug269-setjmp. * setjmp/bug269-setjmp.c: New file. * sysdeps/powerpc/powerpc64/__longjmp-common.S [SHARED && !IS_IN_rtld]: Store R2 from jmpbuf in callers TOC save area. * sysdeps/powerpc/powerpc64/bsd-_setjmp.S [SHARED && !IS_IN_rtld]: Store R2 in TOC save area. * sysdeps/powerpc/powerpc64/setjmp-common.S [SHARED && !IS_IN_rtld]: Copy TOC save area from previous frame as R2 (TOC) in jmpbuf.
2004-07-16Update.Ulrich Drepper2-1/+23
2004-07-16 Jakub Jelinek <jakub@redhat.com> * locale/newlocale.c: Include bits/libc-lock.h. (__libc_setlocale_lock): Extern decl. (__newlocale): Use it. Reported by Ulrich Weigand <Ulrich.Weigand@de.ibm.com>.
2004-07-16Update.Ulrich Drepper4-13/+30
* sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Remove static inline __attribute ((always_inline)). Don't define if NO_CANCELLATION. (__libc_fcntl): Use INLINE_SYSCALL directly instead of __fcntl_nocancel. * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__fcntl_nocancel): Remove static inline __attribute ((always_inline)). Don't define if NO_CANCELLATION. (__libc_fcntl): Use INLINE_SYSCALL directly instead of __fcntl_nocancel. * sysdeps/unix/sysv/linux/i386/fcntl.c (__fcntl_nocancel): Define to __libc_fcntl if NO_CANCELLATION and __ASSUME_FCNTL64 == 0. Don't define at all if NO_CANCELLATION and __ASSUME_FCNTL64 > 0. (__libc_fcntl): Don't define if __fcntl_nocancel is a macro.
2004-07-16[BZ #262]Ulrich Drepper5-4/+63
Update. 2004-07-15 Jakub Jelinek <jakub@redhat.com> [BZ #262] * sysdeps/i386/elf/start.S (_start): Use @GOT instead of @GOTOFF for main. * elf/Makefile: Add rules to build and run tst-pie1. * elf/tst-pie1.c: New test. * elf/tst-piemod1.c: New file.
2004-07-14[BZ #266]Ulrich Drepper5-13/+51
Update. 2004-07-14 Jakub Jelinek <jakub@redhat.com> [BZ #266] * manual/string.texi (l64a): Note that the static buffer is 7 bytes long. Rewrite example code so that it takes account l64a output shorter than 6 characters. Reported by Julian Graham <julian.graham@aya.yale.edu>.
2004-07-14Update.Ulrich Drepper2-9/+6
2004-07-14 Kaz Kojima <kkojima@rr.iij4u.or.jp> * sysdeps/sh/dl-machine.h: Don't reset _dl_starting_up here. (elf_machine_rela_relative): Remove unused valiable.
2004-07-14(__pthread_cond_timedwait): Check for invalid nanosecond in timeout value.Ulrich Drepper1-0/+6
2004-07-13Looks like [BZ #209] is fixed again.Roland McGrath1-4/+0
2004-07-13[BZ #209]Roland McGrath1-0/+4
2004-07-12 Roland McGrath <roland@frob.com> * ChangeLog: Spurious commit [BZ #209] for testing loginfo script. 2004-07-12 Roland McGrath <roland@frob.com> * ChangeLog: Spurious commit [BZ #209] for testing loginfo script.
2004-07-13[BZ #263]Roland McGrath2-2/+9
2004-07-12 Paul Eggert <eggert@cs.ucla.edu> [BZ #263] * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Don't store outside the buffer if the read returns 0. __strtod_l can't set endp to NULL, so remove a test for that case.
2004-07-12* manual/signal.texi (Interrupted Primitives): Make clear thatRoland McGrath1-0/+6
TEMP_FAILURE_RETRY evaluates its expression as long int and compares it to -1 to define "failure".
2004-07-122004-07-12 Roland McGrath <roland@redhat.com>Roland McGrath1-3/+6
* manual/signal.texi (Interrupted Primitives): Make clear that TEMP_FAILURE_RETRY evaluates its expression as long int and compares it to -1 to define "failure".
2004-07-10Update.Ulrich Drepper13-10/+66
2004-07-10 Ulrich Drepper <drepper@redhat.com> * elf/ldconfig.c: Define PROCINFO_CLASS as static before including ldsodefs.h. * sysdeps/generic/ldsodefs.h: Only define PROCINFO_CLASS if it is not already defined. * sysdeps/i386/dl-procinfo.c: Define PROCINFO_CALLS only if not already defined. * elf/rtld.c (print_statistics): Mark with noinline attribute. * sysdeps/i386/dl-machine.h (elf_machine_rel): Mark with always_inline attribute. (elf_machine_rel_relative): Likewise. * include/string.h: Add libc_hidden_proto for __strtok_r and __strsep_g. * sysdeps/generic/strsep.c: Add libc_hidden_def. * sysdeps/generic/strtok_r.c: Likewise. * sysdeps/i386/strtok_r.S: Add alias for internal symbol. * sysdeps/i386/i686/strtok_r.S: Likewise. * sysdeps/x86_64/strtok_r.S: Likewise. 2004-07-09 Alexandre Oliva <aoliva@redhat.com> * inet/getnetgrent_r.c (internal_setnetgrent): Make it hidden instead of internal-linkage, such that we can alias to it. (internal_endnetgrent, internal_getnetgrent_r): Likewise.
2004-07-09Update.Ulrich Drepper5-6/+17
2004-07-09 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Move attribute to the front for gcc 3.5+. * sysdeps/unix/sysv/linux/i386/fcntl.c: Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Likewise. * include/fcntl.h: Don't declare __fcntl_nocancel here if NO_CANCELLATION is defined.
2004-07-08Update.Ulrich Drepper10-19/+573
2004-07-07 Jakub Jelinek <jakub@redhat.com> * sysdeps/pthread/getcpuclockid.c (pthread_getcpuclockid): Allow using other thread's clock. * ptclock_gettime.c (__pthread_clock_gettime): Likewise. * ptclock_settime.c (__pthread_clock_settime): Likewise. * internals.h (__pthread_clock_gettime, __pthread_clock_settime): Remove prototypes. Reported by Bernd Schmidt <bernds@redhat.com>. * Makefile (librt-tests): Add tst-clock1. * tst-clock1.c: New test. * sysdeps/x86_64/Versions: New file. * sysdeps/unix/sysv/linux/ia64/bits/posix_opt.h: New file. * sysdeps/unix/sysv/linux/x86_64/bits/posix_opt.h: New file.
2004-07-08Update.Ulrich Drepper2-1/+5
2004-04-16 Andreas Schwab <schwab@suse.de> * sysdeps/ia64/tls.h (INIT_SYSINFO): Cast dl_sysinfo to void*.
2004-07-08Update.Ulrich Drepper1-0/+5
2004-07-07 Jakub Jelinek <jakub@redhat.com> * elf/dl-fini.c (_dl_fini): Add nloaded variable, load GL(dl_nloaded) into it while still in critical section.
2004-07-08(_dl_fini): Add nloaded variable, load GL(dl_nloaded) into it while still in ↵Ulrich Drepper1-7/+9
critical section.
2004-07-07* nss/getent.c (print_group, print_passwd): Use %lu format forRoland McGrath3-4/+12
`unsigned long int' values. * sysdeps/unix/sysv/linux/i386/fcntl.c (__fcntl_nocancel): Fix syntax error typos in goto statements.
2004-07-07* Makefile (dist-separate): New variable.Roland McGrath2-385/+753
(glibc-%.tar rule): Make separate tar files for add-ons listed there. Depend on their configure files. (dist-do-separate-dirs): New canned sequence to do that. (dist-separate-libidn, dist-separate-linuxthreads): New variables. (dist): Depend on add-on tar files based on $(dist-separate). (dist-version): New variable, default to $(version). (tag-for-dist, dist): Use that in place of $(version) in deps.
2004-07-072004-07-07 Roland McGrath <roland@frob.com>Roland McGrath2-749/+409
* Makefile (dist-separate): New variable. (glibc-%.tar rule): Make separate tar files for add-ons listed there. Depend on their configure files. (dist-do-separate-dirs): New canned sequence to do that. (dist-separate-libidn, dist-separate-linuxthreads): New variables. (dist): Depend on add-on tar files based on $(dist-separate). (dist-version): New variable, default to $(version). (tag-for-dist, dist): Use that in place of $(version) in deps.