about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
...
* Update.Ulrich Drepper2004-09-113-3/+9
| | | | | | | | 2004-09-11 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Use __NTH for __cmsg_nxthdr. 2004-09-10 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
* Update.Ulrich Drepper2004-09-106-6/+38
| | | | | | | | | | | 2004-09-10 Ulrich Drepper <drepper@redhat.com> * nscd/nscd.c (pagesize_m1): New variable. (main): Initialize it. * nscd/nscd.h: Declare pagesize_m1. * nscd/hstcache.c: Pass correctly aligned address to msync. * nscd/grpcache.c: Likewise. * nscd/pwdcache.c: Likewise.
* Update.Ulrich Drepper2004-09-103-8/+150
| | | | | | | | | | 2004-09-10 Kaz Kojima <kkojima@rr.iij4u.or.jp> * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Decrement __nwaiters. If pthread_cond_destroy has been called and this is the last waiter, signal pthread_cond_destroy caller and avoid using the pthread_cond_t structure after unlock. * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
* [BZ #377]Ulrich Drepper2004-09-103-1/+19
| | | | | | | | | | | | | Update. * sysdeps/unix/sysv/linux/kernel-features.h: Don't define __ASSUME_CLONE_STOPPED. 2004-09-10 Jakub Jelinek <jakub@redhat.com> * misc/sys/cdefs.h (__REDIRECT_NTH): Change order of __THROW and __asm__ for C++. [BZ #377] 2004-09-10 Ulrich Drepper <drepper@redhat.com>
* Update.Ulrich Drepper2004-09-103-9/+31
| | | | | | | | | 2004-09-10 Ulrich Drepper <drepper@redhat.com> * nscd/nscd_stat.c: Improve output by also printing .shared and .persistent. * nscd/connections.c: Allow cache sharing to be really disabled.
* Update.Ulrich Drepper2004-09-101-0/+5
| | | | | | | 2004-09-10 Jakub Jelinek <jakub@redhat.com> * malloc/malloc.c (_int_free): Only do arena boundary check for contiguous arenas.
* nt_free): Only do arena boundary check for contiguous arenas.Ulrich Drepper2004-09-101-2/+3
|
* 2004-09-10 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>Roland McGrath2004-09-103-5/+68
| | | | | | * stdlib/longlong.h [__M32R__] (add_ssaaaa, sub_ddmmss): Fix broken instruct operands. * elf/elf.h: Add R_M32R_* relocs.
* * td_ta_map_lwp2thr.c (td_ta_map_lwp2thr): Don't abort if inferior'sRoland McGrath2004-09-091-0/+5
| | | | descriptor is bogus.
* 2004-09-09 Roland McGrath <roland@redhat.com>Roland McGrath2004-09-091-2/+1
| | | | | * td_ta_map_lwp2thr.c (td_ta_map_lwp2thr): Don't abort if inferior's descriptor is bogus.
* Update.Ulrich Drepper2004-09-092-1/+5
| | | | | | * misc/sys/cdefs.h: Despite what the gcc manual says, gcc 3.2 seems not to support the nothrow attribute. Use it only for gcc 3.3 and higher.
* Update.Ulrich Drepper2004-09-093-8/+23
| | | | | | | | | | 2004-09-09 Ulrich Drepper <drepper@redhat.com> * malloc/hooks.c (top_check): Print top chunk corruption as normal error message. * malloc/malloc.c (malloc_printerr): Don't make informational message look like error message.
* Update.Ulrich Drepper2004-09-092-5/+9
| | | | | | | | * malloc/malloc.c (_int_free): Add inexpensive double free and memory corruption tests. (malloc_printf_nc): Renamed to malloc_printerr. Second parameter is no format string anymore. Don't use stdio. Adjust all callers. * malloc/hooks.c: Adjust malloc_printf_nc callers.
* (_int_free): Add inexpensive double free and memory corruption tests. ↵Ulrich Drepper2004-09-091-24/+50
| | | | (malloc_printf_nc): Renamed to malloc_printerr. Second parameter is no format string anymore. Don't use stdio. Adjust all callers.
* * nscd/Makefile (CFLAGS-nscd_setup_thread.c): Set to -fpie.Andreas Jaeger2004-09-091-0/+4
|
* (CFLAGS-nscd_setup_thread.c): Set to -fpie.Andreas Jaeger2004-09-091-0/+1
|
* [BZ #375]Ulrich Drepper2004-09-092-8/+33
| | | | | | | | | | | | Update. 2004-09-08 Ulrich Drepper <drepper@redhat.com> * sysdeps/pthread/pthread.h (PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP): Make safe for C++. (PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP): Likewise. (PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP): Likewise. (PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP): Likewise. [BZ #375]
* Update.Ulrich Drepper2004-09-092-2/+3
| | | | * sysdeps/unix/sysv/linux/bits/socket.h (__SCM_CONNECT): Removed.
* Update.Ulrich Drepper2004-09-092-0/+11
| | | | | | 2004-09-08 Ulrich Drepper <drepper@redhat.com> * malloc/malloc.c (_int_free): Add inexpensive double free test.
* Update.Ulrich Drepper2004-09-081-0/+4
| | | | | | * sysdeps/ia64/fpu/bits/mathinline.h: Use __NTH instead of __THROW. 2004-09-08 Ulrich Drepper <drepper@redhat.com>
* Use __NTH instead of __THROW.Ulrich Drepper2004-09-081-3/+3
|
* * malloc/mcheck.c: Don't use __P.Roland McGrath2004-09-081-0/+5
| | | | Use prototypes definitions for static functions.
* 2004-09-08 Roland McGrath <roland@redhat.com>Roland McGrath2004-09-081-44/+22
| | | | | * malloc/mcheck.c: Don't use __P. Use prototypes definitions for static functions.
* Update.Ulrich Drepper2004-09-082-4/+10
| | | | * nscd/nscd-client.h: Add a few #includes.
* * sysdeps/generic/nscd_setup_thread.c: New file.Ulrich Drepper2004-09-083-4/+6
| | | | * sysdeps/unix/sysv/linux/nscd_setup_thread.c: New file.
* Update.Ulrich Drepper2004-09-088-6/+99
| | | | | | | | | | | | | | | Jakub Jelinek <jakub@redhat.com> * nscd/Makefile (nscd-modules): Add nscd_setup_thread. * nscd/connections.c (nscd_run): Call setup_thread for maintenance threads. * nscd/nscd-client.h (struct database_pers_head): Add nscd_certainly_running field. * nscd/nscd.h: Declare setup_thread. * nscd/nscd_helper.c (__nscd_get_map_ref): Avoid the time test if nscd_certainly_running is nonzero. 2004-09-08 Ulrich Drepper <drepper@redhat.com>
* Update.Ulrich Drepper2004-09-0817-480/+1093
| | | | | | | | | | | | | | | | | | | | | | | | | | * nscd/connections.c: Implement r/o sharing of nscd's cache with client processes via shared memory. * nscd/nscd-client.h: Likewise. * nscd/nscd.h: Likewise. * nscd/nscd_conf.c: Likewise. * nscd/nscd_getgr_r.c: Likewise. * nscd/nscd_getpw_r.c: Likewise. * nscd/nscd_gethst_r.c: Likewise. * nscd/nscd.conf: Add new config parameters. * nscd/Makefile (aux): Add nscd_helper. * nscd/nscd_helper.c: New file. * nscd/mem.c (gc): Indicate beginning and end of the gc cycle. * nscd/hstcache.c: Simplify a lot. We cache only the request itself, no derived information. * connections.c (nscd_init): Fix bug in testing size of the persistent. * nis/Makefile (aux): Add nis_hash. * nis/nis_hash.c: New file. Split out from nis_util.c. * nis/nis_util.c: Move __nis_hash code in separate file. * csu/tst-atomic.c: Improve atomic_increment_val test which would not have found a ppc bug.
* Update.Ulrich Drepper2004-09-082-4/+2
| | | | * sysdeps/s390/fpu/bits/mathinline.h: Remove unnecessary includes.
* Update.Ulrich Drepper2004-09-085-39/+41
| | | | | | | | | | 2004-09-08 Ulrich Drepper <drepper@redhat.com> * malloc/arena.c: Remove __MALLOC_P uses. * malloc/malloc.c: Likewise. * malloc/mtrace.c: Remove __P uses. * malloc/mcheck-init.c: Likewise.
* Update.Ulrich Drepper2004-09-0811-151/+292
| | | | | | | | | | | | | | | | 2004-09-07 Jakub Jelinek <jakub@redhat.com> * sysdeps/powerpc/powerpc64/configure.in: New file. * config.h.in (USE_PPC64_OVERLAPPING_OPD): Add. * configure.in (HAVE_ASM_GLOBAL_DOT_NAME): Remove. * sysdeps/powerpc/powerpc64/sysdep.h: Formatting. (OPD_ENT, BODY_LABEL, ENTRY_1, ENTRY_2, END_2, DOT_PREFIX, BODY_PREFIX): Define. (ENTRY, DOT_LABEL, END, TRACEBACK, END_GEN_TB, EALIGN): Support HAVE_ASM_GLOBAL_DOT_NAME or no dot symbols, USE_PPC64_OVERLAPPING_OPD or never overlapping .opd entries. * sysdeps/powerpc/powerpc64/dl-machine.h: Include sysdep.h. (TRAMPOLINE_TEMPLATE, RTLD_START): Use the new sysdep.h macros.
* Update.Ulrich Drepper2004-09-087-13/+34
| | | | * malloc/malloc.h: Don't define __THROW if it is already defined.
* Update.Ulrich Drepper2004-09-089-26/+129
| | | | | | | | | | | | | * sysdeps/powerpc/bits/atomic.h (atomic_increment): Define. (atomic_decrement): Define. * sysdeps/powerpc/bits/atomic.h: Implement atomic_increment_val and atomic_decrement_val. * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise. * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise. * csu/tst-atomic.c (do_test): Add tests of atomic_increment_val and atomic_decrement_val.
* and atomic_delay is not already defined.Ulrich Drepper2004-09-071-1/+1
|
* Update.Ulrich Drepper2004-09-0730-275/+347
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * include/atomic.h: Define atomic_increment_val, atomic_decrement_val, and atomic_dealy is not already defined. * sysdeps/i386/i486/bits/atomic.h: Define atomic_delay. * sysdeps/x86_64/bits/atomic.h: Likewise. * miscd/sys/cdefs.h (__NTH): New macro. (__THROW): Define using nothrow attribute for C code and gcc >= 3.2. (__REDIRECT_NTH): New macro. * argp/argp.h: Use __NTH and __REDIRECT_NTH where necessary. * ctype/ctype.h: Likewise. * dirent/dirent.h: Likewise. * io/fcntl.h: Likewise. * io/sys/sendfile.h: Likewise. * io/sys/stat.h: Likewise. * io/sys/statfs.h: Likewise. * io/sys/statvfs.h: Likewise. * libio/bits/stdio.h: Likewise. * misc/sys/mman.h: Likewise. * posix/unistd.h: Likewise. * resource/sys/resource.h: Likewise. * rt/aio.h: Likewise. * signal/signal.h: Likewise. * stdlib/stdlib.h: Likewise. * string/argz.h: Likewise. * string/string.h: Likewise. * sysdeps/generic/inttypes.h: Likewise. * sysdeps/i386/fpu/bits/mathinline.h: Likewise. * sysdeps/powerpc/fpu/bits/mathinline.h: Likewise. * sysdeps/s390/fpu/bits/mathinline.h: Likewise. * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise. * sysdeps/unix/sysv/linux/bits/socket.h: Likewise. * sysdeps/unix/sysv/linux/bits/sys/sysmacros.h: Likewise. * wcsmbs/wchar.h: Likewise. * sysdeps/generic/glob.c: Use __PMT isntead of __P where appropriate. * resolv/gethnamaddr.c (getanswer): Remove __P use in variable definition. * io/sys/poll.h: Remove __THROW from poll prototype, it's a cancellation point.
* Use __PMT instead of __P where appropriate.Ulrich Drepper2004-09-071-8/+8
|
* * tst-cancel4.c (tf_waitid): Use WEXITED flag bit if available.Roland McGrath2004-09-071-0/+4
|
* 2004-09-04 Jakub Jelinek <jakub@redhat.com>Roland McGrath2004-09-071-2/+5
| | | | * tst-cancel4.c (tf_waitid): Use WEXITED flag bit if available.
* (getanswer): Remove __P use in variable definition.Ulrich Drepper2004-09-071-1/+1
|
* Update.Ulrich Drepper2004-09-075-7/+23
| | | | | | | 2004-09-07 Ulrich Drepper <drepper@redhat.com> * sysdeps/pthread/pthread.h (pthread_once): Remove __THROW since the initialization function might throw.
* Update.Ulrich Drepper2004-09-072-2/+4
| | | | * io/fts.c (fts_open): Remove uses of __P.
* Update.Ulrich Drepper2004-09-071-0/+4
| | | | | | 2004-09-07 Ulrich Drepper <drepper@redhat.com> * include/stdlib.h: No need to use __THROW in this header.
* No need to use __THROW in this header.Ulrich Drepper2004-09-071-16/+14
|
* * sysdeps/mach/hurd/dl-sysdep.c (__writev): Does use assert on FDRoland McGrath2004-09-061-0/+5
| | | | validity, since __assert_fail gets to here anyway. Just fail.
* 2004-09-06 Roland McGrath <roland@frob.com>Roland McGrath2004-09-061-2/+6
| | | | | * sysdeps/mach/hurd/dl-sysdep.c (__writev): Does use assert on FD validity, since __assert_fail gets to here anyway. Just fail.
* (gaih_inet): Little code cleanup. Move variable h into gethosts macro.Ulrich Drepper2004-09-061-1/+1
|
* Update.Ulrich Drepper2004-09-061-0/+6
| | | | | | | | 2004-09-06 Ulrich Drepper <drepper@redhat.com> * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix problem with AF_UNSPEC lookup with AI_CANONNAME of name which has only IPv6 addresses.
* (gaih_inet): Fix problem with AF_UNSPEC lookup with AI_CANONNAME of name ↵Ulrich Drepper2004-09-061-1/+3
| | | | which has only IPv6 addresses.
* * sysdeps/alpha/fpu/fraiseexcpt.c: Remove file. * ↵Richard Henderson2004-09-067-52/+118
| | | | | | | | | | | | | | sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IEEE_RAISE_EXCEPTION): New. * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.c: New file. * sysdeps/unix/sysv/linux/alpha/kernel_sysinfo.h: New file. * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Use it. * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise. * sysdeps/alpha/fpu/fraiseexcpt.c: Remove file. * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IEEE_RAISE_EXCEPTION): New. * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.c: New file. * sysdeps/unix/sysv/linux/alpha/kernel_sysinfo.h: New file. * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Use it. * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise. 2004-09-05 Richard Henderson <rth@redhat.com>
* * sysdeps/alpha/div.S: Save and restore FPCR around fp operations. ↵Richard Henderson2004-09-0610-29/+138
| | | | | | | | | | | | * sysdeps/alpha/divl.S, sysdeps/alpha/divq.S, sysdeps/alpha/divqu.S, sysdeps/alpha/ldiv.S, sysdeps/alpha/reml.S, sysdeps/alpha/remq.S, sysdeps/alpha/remqu.S: Likewise. * sysdeps/alpha/div_libc.h (FRAME): Increase to 64. 2004-09-05 Richard Henderson <rth@redhat.com> * sysdeps/alpha/div.S: Save and restore FPCR around fp operations. * sysdeps/alpha/divl.S, sysdeps/alpha/divq.S, sysdeps/alpha/divqu.S, sysdeps/alpha/ldiv.S, sysdeps/alpha/reml.S, sysdeps/alpha/remq.S, sysdeps/alpha/remqu.S: Likewise. * sysdeps/alpha/div_libc.h (FRAME): Increase to 64.
* * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (SINGLE_THREAD_P): ↵Richard Henderson2004-09-062-18/+29
| | | | | | | | | | | | | | Move definition inside libpthread, libc, librt check. Provide definition for rtld. 2005-09-05 Richard Henderson <rth@redhat.com> * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (SINGLE_THREAD_P): Move definition inside libpthread, libc, librt check. Provide definition for rtld. lll_futex_timed_wait, lll_futex_wake, lll_futex_requeue): On success return actual return value from the syscall, not 0. Add __mutex field.