summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2004-10-12Update.cvs/fedora-glibc-20041012T1128Ulrich Drepper
* timezone/asia: Update from tzdata2004e. * timezone/southamerica: Likewise. * timezone/private.h: Update from tzcode2004e. * timezone/zdump.c: Likewise.
2004-10-11Update.Ulrich Drepper
* stdio-common/vfscanf.c: Add support for reading localized digits. Patch mainly by Hamed Malek <hamed@bamdad.org>.
2004-10-11[BZ #434]Ulrich Drepper
Update. * resolv/res_init.c (res_thread_freeres): Reset _res.options. [BZ #434]
2004-10-11Update.Ulrich Drepper
* resolv/res_send.c (send_dg): Use nonblocking sockets. Add appropriate poll/select calls and restart operation if necessary. Also handle EINTR.
2004-10-11Update.Ulrich Drepper
* elf/tst-dlopenrpath.c (do_test): Enable code which was disabled for debugging.
2004-10-11Update.Ulrich Drepper
2004-10-11 Ulrich Drepper <drepper@redhat.com> * elf/dl-sym.c (do_sym): Avoid using global variable. * elf/dl-addr.c (_dl_addr): Really use match everywhere.
2004-10-11(_dl_addr): Really use match everwhere.Ulrich Drepper
2004-10-09*** empty log message ***Andreas Schwab
2004-10-09 Andreas Schwab <schwab@suse.de> * sysdeps/m68k/memcopy.h (WORD_COPY_BWD): Remove use of cast as lvalue. * sysdeps/m68k/fpu/bits/mathinline.h: Remove __THROW from inline definitions.
2004-10-09Remove __THROW from inline definitions.Andreas Schwab
2004-10-08Fix typo in comment.Ulrich Drepper
2004-10-08(__libc_current_sigrtmin): Fix typo in comment.Ulrich Drepper
2004-10-07* misc/sys/uio.h: Change __vector to __iovec to avoid clash withRoland McGrath
altivec.
2004-10-072004-10-07 Andreas Schwab <schwab@suse.de>Roland McGrath
* misc/sys/uio.h: Change __vector to __iovec to avoid clash with altivec.
2004-10-06Update.Ulrich Drepper
2004-10-06 Alan Modra <amodra@bigpond.net.au> * gmon/Makefile (CFLAGS-mcount.c): Move before inclusion of "Rules". * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-mcount.c): Add -msoft-float. * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): New macros. (CALL_MCOUNT): Replace with a gas macro implementation. (EALIGN): Delete PROF version. * sysdeps/powerpc/powerpc64/__longjmp-common.S: Invoke CALL_MCOUNT. * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Likewise. * sysdeps/powerpc/powerpc64/bsd-setjmp.S: Likewise. * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise. * sysdeps/powerpc/powerpc64/memcpy.S: Likewise. * sysdeps/powerpc/powerpc64/memset.S: Likewise. * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise. * sysdeps/powerpc/powerpc64/strchr.S: Likewise. * sysdeps/powerpc/powerpc64/strcmp.S: Likewise. * sysdeps/powerpc/powerpc64/strcpy.S: Likewise. * sysdeps/powerpc/powerpc64/strlen.S: Likewise. * sysdeps/powerpc/powerpc64/strncmp.S: Likewise. * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise. * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise. * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise. * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise. * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise. * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise. * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise. * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise. * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise. * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise. * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise. * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise. * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise. * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise. * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise. * sysdeps/powerpc/powerpc64/setjmp-common.S: Add extra entry point past _mcount call. * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Use it. * sysdeps/powerpc/powerpc64/bsd-setjmp.S: Likewise.
2004-10-06Update.Ulrich Drepper
2004-10-06 Ulrich Drepper <drepper@redhat.com> * resolv/res_mkquery.c (res_nmkquery): Reject randombits value if low 16 bits are zero.
2004-10-06Update.Ulrich Drepper
* posix/tst-getaddrinfo2.c: Include stdlib.h and string.h. (do_test): Use %p instead of 0x%08X to print a pointer. * malloc/malloc.c: Include stdio-common/_itoa.h.
2004-10-06Update.Ulrich Drepper
2004-10-06 Jakub Jelinek <jakub@redhat.com> * sysdeps/s390/jmpbuf-unwind.h: Include bits/wordsize.h. (JMPBUF_CFA_UNWINDS_ADJ): Subtract 96 resp. 160 bytes from CFA.
2004-10-06Update.cvs/fedora-glibc-20041006T0900Ulrich Drepper
2004-10-05 Dwayne Grant McConnell <dgm69@us.ibm.com> * pthread.c: Mask restart signal during cancel signal handler.
2004-10-06Update.Ulrich Drepper
* tst-clock1.c: Change #ifdef to #if defined. * tst-clock2.c: Likewise. * tst-cond11.c: Likewise. 2004-10-05 Jakub Jelinek <jakub@redhat.com>
2004-10-06Update.Ulrich Drepper
2004-10-05 Ulrich Drepper <drepper@redhat.com> * elf/rtld.c (dl_main): Use _dl_debug_printf instead of _dl_printf for prelink message.
2004-10-06(System V Number Conversion): Fix return type of ecvt_r, fcvt_r, qecvt_r, ↵Ulrich Drepper
and qfcvt_r.
2004-10-05typoRoland McGrath
(__lll_mutex_timedlock_wait): If woken but cannot get the lock,
2004-10-05Update.Ulrich Drepper
2004-10-05 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Include dl-sysdep.h. * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2004-10-05Update.Ulrich Drepper
2004-10-05 Ulrich Drepper <drepper@redhat.com> * grp/initgroups.c: Remove duplicate group IDs. * grp/compat-initgroups.c: Likewise. * nscd/initgrcache.c: Likewise.
2004-10-05Update.Ulrich Drepper
2004-10-05 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/x86_64/sysconf.c (__sysconf): Return 200112L for _SC_CPUTIME or _SC_THREAD_CPUTIME. * nscd/Makefile (nscd-cflags): Set to -DIS_IN_nscd=1, plus -fpie if building PIE. (CFLAGS-*.c): Use it. * nscd/Makefile (relro-LDFLAGS): Add -Wl,-z,now if have-z-relro. ($(objpfx)nscd): Add $(relro-LDFLAGS). * sysdeps/unix/sysv/linux/i386/sysconf.c: Include hp-timing.h. (__sysconf): Return -1 for _SC_CPUTIME or _SC_THREAD_CPUTIME if !HP_TIMING_AVAIL. 2004-10-05 Ulrich Drepper <drepper@redhat.com> * nscd/Makefile (distribute): Remove TODO. * nscd/TODO: Removed.
2004-10-04Update.cvs/fedora-glibc-20041005T0745Ulrich Drepper
* nscd/gai.c: Define __no_netlink_support if NEED_NETLINK is defined and __ASSUME_NETLINK_SUPPORT is zero. * sysdeps/unix/sysv/linux/Makefile (CFLAGS-gai.c): Add -DNEED_NETLINK.
2004-10-04Update.Ulrich Drepper
2004-10-04 Ulrich Drepper <drepper@redhat.com> * malloc/mtrace.pl: Avoid calling location unless it is needed for output. Patch by Edward Bishop <binutils@gmail.com>. * nscd/Makefile (CFLAGS-gai.c): Add -fpie.
2004-10-04Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/ia64/clock_getcpuclockid.c (clock_getcpuclockid): Add missing retval.
2004-10-04(clock_getcpuclockid): Add missing retval.Ulrich Drepper
2004-10-04* sysdeps/unix/sysv/linux/ia64/sysconf.c (linux_sysconf): Fix a typo.Roland McGrath
2004-10-04* include/errno.h [RTLD_PRIVATE_ERRNO] (errno): Rename the real symbolRoland McGrath
to rtld_errno. * sysdeps/generic/errno.c [RTLD_PRIVATE_ERRNO] (rtld_errno): Define it, and don't define any other errno names. * sysdeps/unix/alpha/sysdep.h [RTLD_PRIVATE_ERRNO]: Use rtld_errno in place of errno. * sysdeps/unix/i386/sysdep.S: Likewise. * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise. * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise. * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise. * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise. * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise. * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise. * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise. * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise. * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise. * sysdeps/unix/x86_64/sysdep.S: Likewise. * sysdeps/generic/errno.c [! USE___THREAD] (errno): Use `nocommon' attribute instead of `section'. are handled by one thread which then hands off the descriptors for the
2004-10-042004-10-04 Roland McGrath <roland@redhat.com>Roland McGrath
* include/errno.h [RTLD_PRIVATE_ERRNO] (errno): Rename the real symbol to rtld_errno. * sysdeps/generic/errno.c [RTLD_PRIVATE_ERRNO] (rtld_errno): Define it, and don't define any other errno names. * sysdeps/unix/alpha/sysdep.h [RTLD_PRIVATE_ERRNO]: Use rtld_errno in place of errno. * sysdeps/unix/i386/sysdep.S: Likewise. * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise. * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise. * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise. * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise. * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise. * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise. * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise. * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise. * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise. * sysdeps/unix/x86_64/sysdep.S: Likewise.
2004-10-04Update.Ulrich Drepper
2004-10-04 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/i386/bits/posix_opt.h: Define _POSIX_CPUTIME and _POSIX_THREAD_CPUTIME to zero. * sysdeps/unix/sysv/linux/ia64/bits/posix_opt.h: Likewise. * tst-barrier2.c: Fix testing for POSIX feature. * tst-clock1.c: Likewise. * tst-clock2.c: Likewise. * tst-cond11.c: Likewise. * tst-cond4.c: Likewise. * tst-cond6.c: Likewise. * tst-flock2.c: Likewise. * tst-mutex4.c: Likewise. * tst-mutex9.c: Likewise. * tst-rwlock12.c: Likewise. * tst-rwlock4.c: Likewise. * tst-signal1.c: Likewise. * tst-spin2.c: Likewise. * sysdeps/pthread/posix-timer.h: Likewise. * sysdeps/pthread/timer_create.c: Likewise. * sysdeps/pthread/timer_routines.c: Likewise.
2004-10-04Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/ia64/sysconf.c: New file. * sysdeps/unix/sysv/linux/ia64/Dist: Add has_cpuclock.c. * sysdeps/unix/sysv/linux/ia64/clock_getcpuclockid.c: Move actual testing code to... * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: ...here. New file. * sysdeps/unix/sysv/linux/i386/sysconf.c: Add dynamic check for _SC_CPUTIME and _SC_THREAD_CPUTIME.
2004-10-04Update.Ulrich Drepper
* nscd/connections.c (start_threads): Use sysconf in case _POSIX_CLOCK_SELECTION or _POSIX_MONOTONIC_CLOCK is not greater zero. * nscd/nscd.c: Remove getaddrinfo stub definition.
2004-10-04Update.Ulrich Drepper
* nscd/Makefile (nscd-modules): Add gai. * nscd/gai.c: New file.
2004-10-04[BZ #424]cvs/fedora-glibc-20041004T0747Ulrich Drepper
Update. can't be used. [BZ #424]
2004-10-04Update.Ulrich Drepper
* assert/assert.h: Give up on using __builtin_expect.
2004-10-04Update.Ulrich Drepper
2004-10-04 Ulrich Drepper <drepper@redhat.com> * elf/rtld.c (dl_main): Only skip => output in ldd mode if both strings are identical.
2004-10-04Update.Ulrich Drepper
2004-03-18 Jakub Jelinek <jakub@redhat.com> * malloc/arena.c (aligned_heap_area): New variable. (new_heap): If aligned_heap_area != NULL, attempt to use that first. If HEAP_MAX_SIZE << 1 area is already HEAP_MAX_SIZE bytes aligned, remember the second half in aligned_heap_area. (delete_heap): Clear aligned_heap_area if deleting the area right before aligned_heap_area.
2004-10-03Update.Ulrich Drepper
2004-10-03 Juerg Billeter <j@bitron.ch> * nscd/nscd_initgroups.c (__nscd_getgrouplist): Return -1 if nscd can't be used.
2004-10-03Update.Ulrich Drepper
Dynamically create new threads if necessary. * nscd/connections.c (fd_ready): If no thread available for processing the request, create a new one unless the limit is reached. (start_threads): Check errors from pthread_create. * nscd/nscd.h: Declare max_nthreads. * nscd/nscd_conf.c: Parse max-nthreads entry. * nscd/nscd.conf: Add max-threads entry. * nscd/nscd_stat.c: Print current and maximum number of threads.
2004-10-03Update.Ulrich Drepper
Implement paranoia mode. * nscd/connections.c (nscd_init): Mark database and socket descriptors as close on exec. (restart): New function. (restart_p): New function. (nscd_run): Add missing descrement of nready in case readylist is empty. (main_loop_poll): Call restart_p and restart. (main_loop_epoll): Likewise. (begin_drop_privileges): Save original UID and GID. * nscd/nscd.c: Define new variables paranoia, restart_time, restart_interval, oldcwd, old_gid, old_uid. (main): Disable paranoia mode if we are not forking. (check_pid): When re-execing, the PID file contains the same PID as the current process. Do not fail in this case. * nscd/nscd.conf: Add paranoia and restart-interval entries. * nscd/nscd.h: Define RESTART_INTERVAL. Declare new variables. * nscd/nscd_conf.c: Parse paranoia and restart-internal configurations. * nscd/nscd_stat.c: Print paranoia and restart-internal values.
2004-10-03Update.Ulrich Drepper
2004-10-03 Ulrich Drepper <drepper@redhat.com> * nscd/connections.c: Implement alternative loop for main thread which uses epoll. * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (CFLAGS-connections.c): Add -DHAVE_EPOLL. * nscd/Makefile (CFLAGS-initgrcache.c): Add to CFLAGS-* variables, don't replace old content.
2004-10-03Update,Ulrich Drepper
* nscd/connections.c: Rewrite handling of incoming connections. All are handled by one thread which then hands of the descriptors for the real work to the worker threads. * nscd/Makefile: Link nscd with librt. * nscd/selinux.c: Pretty printing. * nscd/dbg_log.c (dbg_log): Don't add unnecessary newline to output. Let syslog do the formatting if debug_level == 0.
2004-10-02Update.Ulrich Drepper
2004-10-02 Ulrich Drepper <drepper@redhat.com> * nscd/nscd_helper.c (get_mapping): No need to check timestamp if nscd_certainly_running is nonzero.
2004-10-01Update.Ulrich Drepper
* malloc/malloc.c (public_vALLOc): Add missing use of hooks. (public_pVALLOc): Likewise.
2004-10-01(public_vALLOc): Add missing use of hooks. (public_pVALLOc): Likewise.Ulrich Drepper
2004-10-01[BZ #420]Roland McGrath
2004-10-02 Simon Josefsson <jas@extundo.com> [BZ #420] * sysdeps/generic/memmem.c [!_LIBC]: Define __builtin_expect, to make the file usable inside gnulib.
2004-10-01[BZ #420]Roland McGrath
2004-10-02 Simon Josefsson <jas@extundo.com> [BZ #420] * sysdeps/generic/memmem.c [!_LIBC]: Define __builtin_expect, to make the file usable inside gnulib.