Ulrich Drepper [Thu, 9 Sep 2004 21:18:14 +0000 (21:18 +0000)]
Update.
* 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.
Ulrich Drepper [Thu, 9 Sep 2004 21:10:29 +0000 (21:10 +0000)]
Update.
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.
Ulrich Drepper [Thu, 9 Sep 2004 17:15:57 +0000 (17:15 +0000)]
Update.
* 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.
Ulrich Drepper [Thu, 9 Sep 2004 09:03:28 +0000 (09:03 +0000)]
(_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.
Andreas Jaeger [Thu, 9 Sep 2004 06:35:47 +0000 (06:35 +0000)]
* nscd/Makefile (CFLAGS-nscd_setup_thread.c): Set to -fpie.
Andreas Jaeger [Thu, 9 Sep 2004 06:35:38 +0000 (06:35 +0000)]
(CFLAGS-nscd_setup_thread.c): Set to -fpie.
Ulrich Drepper [Thu, 9 Sep 2004 04:59:02 +0000 (04:59 +0000)]
[BZ #375]
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]
Ulrich Drepper [Thu, 9 Sep 2004 02:04:45 +0000 (02:04 +0000)]
Update.
* sysdeps/unix/sysv/linux/bits/socket.h (__SCM_CONNECT): Removed.
Ulrich Drepper [Thu, 9 Sep 2004 01:58:35 +0000 (01:58 +0000)]
Update.
2004-09-08 Ulrich Drepper <drepper@redhat.com>
* malloc/malloc.c (_int_free): Add inexpensive double free test.
Ulrich Drepper [Wed, 8 Sep 2004 21:47:22 +0000 (21:47 +0000)]
Update.
* sysdeps/ia64/fpu/bits/mathinline.h: Use __NTH instead of __THROW.
2004-09-08 Ulrich Drepper <drepper@redhat.com>
Ulrich Drepper [Wed, 8 Sep 2004 21:44:02 +0000 (21:44 +0000)]
Use __NTH instead of __THROW.
Roland McGrath [Wed, 8 Sep 2004 20:36:06 +0000 (20:36 +0000)]
* malloc/mcheck.c: Don't use __P.
Use prototypes definitions for static functions.
Roland McGrath [Wed, 8 Sep 2004 20:36:02 +0000 (20:36 +0000)]
2004-09-08 Roland McGrath <roland@redhat.com>
* malloc/mcheck.c: Don't use __P.
Use prototypes definitions for static functions.
Ulrich Drepper [Wed, 8 Sep 2004 19:49:17 +0000 (19:49 +0000)]
Update.
* nscd/nscd-client.h: Add a few #includes.
Ulrich Drepper [Wed, 8 Sep 2004 18:03:21 +0000 (18:03 +0000)]
* sysdeps/generic/nscd_setup_thread.c: New file.
* sysdeps/unix/sysv/linux/nscd_setup_thread.c: New file.
Ulrich Drepper [Wed, 8 Sep 2004 17:56:46 +0000 (17:56 +0000)]
Update.
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>
Ulrich Drepper [Wed, 8 Sep 2004 15:46:42 +0000 (15:46 +0000)]
Update.
* 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.
Ulrich Drepper [Wed, 8 Sep 2004 14:04:05 +0000 (14:04 +0000)]
Update.
* sysdeps/s390/fpu/bits/mathinline.h: Remove unnecessary includes.
Ulrich Drepper [Wed, 8 Sep 2004 08:12:39 +0000 (08:12 +0000)]
Update.
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.
Ulrich Drepper [Wed, 8 Sep 2004 07:02:28 +0000 (07:02 +0000)]
Update.
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.
Ulrich Drepper [Wed, 8 Sep 2004 06:31:04 +0000 (06:31 +0000)]
Update.
* malloc/malloc.h: Don't define __THROW if it is already defined.
Ulrich Drepper [Wed, 8 Sep 2004 06:09:02 +0000 (06:09 +0000)]
Update.
* 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.
Ulrich Drepper [Tue, 7 Sep 2004 22:41:16 +0000 (22:41 +0000)]
and atomic_delay is not already defined.
Ulrich Drepper [Tue, 7 Sep 2004 22:33:37 +0000 (22:33 +0000)]
Update.
* 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.
Ulrich Drepper [Tue, 7 Sep 2004 22:10:43 +0000 (22:10 +0000)]
Use __PMT instead of __P where appropriate.
Roland McGrath [Tue, 7 Sep 2004 21:36:26 +0000 (21:36 +0000)]
* tst-cancel4.c (tf_waitid): Use WEXITED flag bit if available.
Roland McGrath [Tue, 7 Sep 2004 21:36:21 +0000 (21:36 +0000)]
2004-09-04 Jakub Jelinek <jakub@redhat.com>
* tst-cancel4.c (tf_waitid): Use WEXITED flag bit if available.
Ulrich Drepper [Tue, 7 Sep 2004 21:10:49 +0000 (21:10 +0000)]
(getanswer): Remove __P use in variable definition.
Ulrich Drepper [Tue, 7 Sep 2004 20:52:41 +0000 (20:52 +0000)]
Update.
2004-09-07 Ulrich Drepper <drepper@redhat.com>
* sysdeps/pthread/pthread.h (pthread_once): Remove __THROW since
the initialization function might throw.
Ulrich Drepper [Tue, 7 Sep 2004 17:28:11 +0000 (17:28 +0000)]
Update.
* io/fts.c (fts_open): Remove uses of __P.
Ulrich Drepper [Tue, 7 Sep 2004 17:06:18 +0000 (17:06 +0000)]
Update.
2004-09-07 Ulrich Drepper <drepper@redhat.com>
* include/stdlib.h: No need to use __THROW in this header.
Ulrich Drepper [Tue, 7 Sep 2004 17:04:23 +0000 (17:04 +0000)]
No need to use __THROW in this header.
Roland McGrath [Mon, 6 Sep 2004 21:31:44 +0000 (21:31 +0000)]
* sysdeps/mach/hurd/dl-sysdep.c (__writev): Does use assert on FD
validity, since __assert_fail gets to here anyway. Just fail.
Roland McGrath [Mon, 6 Sep 2004 21:31:38 +0000 (21:31 +0000)]
2004-09-06 Roland McGrath <roland@frob.com>
* sysdeps/mach/hurd/dl-sysdep.c (__writev): Does use assert on FD
validity, since __assert_fail gets to here anyway. Just fail.
Ulrich Drepper [Mon, 6 Sep 2004 08:26:59 +0000 (08:26 +0000)]
(gaih_inet): Little code cleanup. Move variable h into gethosts macro.
Ulrich Drepper [Mon, 6 Sep 2004 08:16:27 +0000 (08:16 +0000)]
Update.
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.
Ulrich Drepper [Mon, 6 Sep 2004 08:15:50 +0000 (08:15 +0000)]
(gaih_inet): Fix problem with AF_UNSPEC lookup with AI_CANONNAME of name which has only IPv6 addresses.
Richard Henderson [Mon, 6 Sep 2004 02:19:36 +0000 (02:19 +0000)]
* 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.
* 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>
Richard Henderson [Mon, 6 Sep 2004 02:01:35 +0000 (02:01 +0000)]
* 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.
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.
Richard Henderson [Mon, 6 Sep 2004 01:12:02 +0000 (01:12 +0000)]
* sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (SINGLE_THREAD_P): 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.
Ulrich Drepper [Sun, 5 Sep 2004 07:19:46 +0000 (07:19 +0000)]
Update.
2004-09-05 Ulrich Drepper <drepper@redhat.com>
* nscd/cache.c (cache_add): Correctly log GETHOSTBYADDR and
GETHOSTBYADDRv6 requests.
Ulrich Drepper [Sun, 5 Sep 2004 07:02:13 +0000 (07:02 +0000)]
Update.
2004-09-04 Ulrich Drepper <drepper@redhat.com>
* nscd/pwdcache.c (cache_addpw): Use correct key length in
cache_add calls.
* nscd/grpcache.c (cache_addgr): Likewise.
Ulrich Drepper [Sun, 5 Sep 2004 06:47:36 +0000 (06:47 +0000)]
(cache_addgr): Use correct key length in cache_add calls.
Roland McGrath [Fri, 3 Sep 2004 20:49:05 +0000 (20:49 +0000)]
* sysdeps/mach/hurd/i386/tls.h (THREAD_DTV): Changed type of _DTV
to `dtv_t *'.
Roland McGrath [Fri, 3 Sep 2004 20:49:00 +0000 (20:49 +0000)]
2004-09-03 Alfred M. Szmidt <ams@kemisten.nu>
* sysdeps/mach/hurd/i386/tls.h (THREAD_DTV): Changed type of _DTV
to `dtv_t *'.
Ulrich Drepper [Fri, 3 Sep 2004 08:15:41 +0000 (08:15 +0000)]
Update.
2004-09-03 Ulrich Drepper <drepper@redhat.com>
* nscd/nscd.c (parse_opt): Use writev instead of two write for
invalidate command.
Ulrich Drepper [Fri, 3 Sep 2004 03:41:30 +0000 (03:41 +0000)]
Update.
2004-09-02 Ulrich Drepper <drepper@redhat.com>
* nscd/connections.c (nscd_run): Check early for invalid request types.
Ulrich Drepper [Fri, 3 Sep 2004 03:39:45 +0000 (03:39 +0000)]
(nscd_run): Check early for invalid request types.
Roland McGrath [Fri, 3 Sep 2004 00:28:13 +0000 (00:28 +0000)]
Add backslashes missing in last change.
Roland McGrath [Thu, 2 Sep 2004 23:58:45 +0000 (23:58 +0000)]
* sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): New macro.
(INSTALL_NEW_DTV, THREAD_DTV): Rewritten to fetch the right word.
(THREAD_SELF): New macro.
Roland McGrath [Thu, 2 Sep 2004 23:58:23 +0000 (23:58 +0000)]
2004-09-02 Roland McGrath <roland@redhat.com>
* sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): New macro.
(INSTALL_NEW_DTV, THREAD_DTV): Rewritten to fetch the right word.
(THREAD_SELF): New macro.
Ulrich Drepper [Thu, 2 Sep 2004 22:47:23 +0000 (22:47 +0000)]
Update.
* sysdeps/alpha/jmpbuf-unwind.h: Define __libc_unwind_longjmp.
* sysdeps/i386/jmpbuf-unwind.h: Likewise
* sysdeps/powerpc/jmpbuf-unwind.h: Likewise.
* sysdeps/s390/jmpbuf-unwind.h: Likewise.
* sysdeps/sh/jmpbuf-unwind.h: Likewise.
* sysdeps/sparc/sparc32/jmpbuf-unwind.h: Likewise.
* sysdeps/unix/sysv/linux/ia64/jmpbuf-unwind.h: Likewise.
* sysdeps/x86_64/jmpbuf-unwind.h: Likewise.
* unwind.c: Use it.
Ulrich Drepper [Thu, 2 Sep 2004 18:59:24 +0000 (18:59 +0000)]
[BZ #357]
Update.
2004-09-02 Steven Munroe <sjmunroe@us.ibm.com>
[BZ #357]
* stdlib/tst-setcontext.c (test_stack): Added test for stack clobber.
(main): Call test_stack.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
(__getcontext): Push stack frame then save parms in local frame.
Improve instruction scheduling.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
(__swapcontext): Likewise.
Ulrich Drepper [Thu, 2 Sep 2004 03:40:32 +0000 (03:40 +0000)]
Update.
2004-09-01 Andreas Schwab <schwab@suse.de>
* sysdeps/unix/sysv/linux/ia64/sys/ucontext.h [g++ >= 3.5]: Use
__builtin_offsetof.
Ulrich Drepper [Thu, 2 Sep 2004 03:38:10 +0000 (03:38 +0000)]
[BZ #361]
Update.
2004-09-01 Jakub Jelinek <jakub@redhat.com>
[BZ #361]
* posix/fnmatch_loop.c (FCT): For backslash between brackets, branch
to normal_bracket after fetching the next character.
* posix/tst-fnmatch.input: Add 25 new tests.
Reported by Markus Oberhumer <markus@oberhumer.com>.
Ulrich Drepper [Thu, 2 Sep 2004 02:53:00 +0000 (02:53 +0000)]
Update.
2004-09-01 Ulrich Drepper <drepper@redhat.com>
* elf/rtld.c (dl_main): First check existence of ld.so.preload
with access.
Ulrich Drepper [Thu, 2 Sep 2004 02:52:26 +0000 (02:52 +0000)]
(dl_main): First check existence of ld.so.preload with access.
Roland McGrath [Wed, 1 Sep 2004 19:39:17 +0000 (19:39 +0000)]
* sysdeps/unix/sysv/linux/bits/waitflags.h
(WSTOPPED, WEXITED, WCONTINUED, WNOWAIT): New macros.
* sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_WAITID_SYSCALL):
New macro.
* sysdeps/unix/sysv/linux/waitid.c: New file. Use new syscall when
available, or fall back to the waitpid-based generic code.
Roland McGrath [Wed, 1 Sep 2004 02:00:03 +0000 (02:00 +0000)]
* sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Let gcc
clobber the `ebp' register.
* sysdeps/mach/hurd/i386/Makefile (CFLAGS-init-first.c): Removed.
Reverts change from 2004-05-07 by Jeroen Dekkers.
* sysdeps/mach/hurd/i386/init-first.c (init): Changed the type of
NEWSP from `void *' to `int *'. Changed all casts accordingly.
Roland McGrath [Wed, 1 Sep 2004 00:50:33 +0000 (00:50 +0000)]
* wcsmbs/wcsmbsload.c (__wcsmbs_getfct): Move attribute_hidden
before return type.
* locale/localename.c (__current_locale_name): Likewise.
Roland McGrath [Tue, 31 Aug 2004 06:17:48 +0000 (06:17 +0000)]
* scripts/extract-abilist.awk: If `lastversion' variable defined, omit
later sets from output.
* Makerules (check-abi): Pass option to set that with value of
LIB-abi-frozen variable if one is set.
* abilist/libcidn.abilist: New file (empty).
Roland McGrath [Tue, 31 Aug 2004 06:17:08 +0000 (06:17 +0000)]
2004-08-30 Roland McGrath <roland@frob.com>
* abilist/libcidn.abilist: New file (empty).
Ulrich Drepper [Mon, 30 Aug 2004 16:56:03 +0000 (16:56 +0000)]
Update.
2004-08-30 Jakub Jelinek <jakub@redhat.com>
* posix/bits/posix1_lim.h (_POSIX_CHILD_MAX, _POSIX_OPEN_MAX): If
not __USE_XOPEN2K, use the Unix98 mandated values.
Ulrich Drepper [Mon, 30 Aug 2004 16:51:12 +0000 (16:51 +0000)]
Include bits/wordsize.h. Make the header match i386 header when __WORDSIZE != 64.
Roland McGrath [Fri, 27 Aug 2004 19:41:25 +0000 (19:41 +0000)]
* configure.in (usetls): Default to yes.
* configure: Regenerated.
Roland McGrath [Thu, 26 Aug 2004 21:26:59 +0000 (21:26 +0000)]
* configure.in (add_ons_automatic): New variable, set to yes or no
indicating --enable-add-ons with no explicit list.
(running add-on fragments): Allow a fragment to modify $libc_add_on
and have that affect its place in the list of add-ons to use.
* configure: Regenerated.
Roland McGrath [Thu, 26 Aug 2004 21:26:06 +0000 (21:26 +0000)]
2004-08-26 Roland McGrath <roland@redhat.com>
* configure.in: New file. If nptl add-on is also selected, barf if
explicit and elide ourselves if implicit.
* configure: Now generated.
Ulrich Drepper [Thu, 26 Aug 2004 18:35:05 +0000 (18:35 +0000)]
Update.
2004-08-26 Ulrich Drepper <drepper@redhat.com>
* nscd/cache.c: Major rewrite. The data is now optionally kept in
a mmaped memory region which is automatically mirrored on disk.
This implements persistent data storage. The Memory handled
needed to be completely revamped, it now uses a garbage collection
mechanism instead of malloc.
* nscd/connections.c: Likewise.
* nscd/nscd.c: Likewise.
* nscd/nscd.h: Likewise.
* nscd/nscd_conf.c: Likewise.
* nscd/nscd_stat.c: Likewise.
* nscd/grpcache.c: Likewise.
* nscd/hstcache.c:: Likewise.
* nscd/pwdcache.c:: Likewise.
* nscd/Makefile: Add rules to build mem.c.
* nscd/mem.c: New file.
* nscd/nscd.conf: Describe new configuration options.
Ulrich Drepper [Thu, 26 Aug 2004 17:00:16 +0000 (17:00 +0000)]
Update.
2004-08-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
* sysdeps/unix/sysv/linux/mips/pread.c: Include sgidefs.h only if
NO_SGIDEFS_H isn't defined.
* sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
* sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
* sysdeps/unix/sysv/linux/sh/pread.c: Define NO_SGIDEFS_H and
_MIPS_SIM.
* sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
* sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
* sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
* nscd/connections.c (nscd_run): atomic_increment was not missing.
Ulrich Drepper [Thu, 26 Aug 2004 09:16:12 +0000 (09:16 +0000)]
Update.
2004-08-26 Ulrich Drepper <drepper@redhat.com>
* sysdeps/gnu/Makefile (libdl-sysdep_routines): Don't add eval.
Patch by Greg Schafer.
Ulrich Drepper [Wed, 25 Aug 2004 23:33:21 +0000 (23:33 +0000)]
* nscd/grpcache.c (cache_addgr): Use copy of original key in hash
Ulrich Drepper [Wed, 25 Aug 2004 23:27:17 +0000 (23:27 +0000)]
Update.
* sysdeps/powerpc/powerpc64/bits/atomic.h
(__arch_compare_and_exchange_bool_32_acq): Fix case where oldval
is negative.
(__arch_compare_and_exchange_bool_32_rel): Likewise.
Ulrich Drepper [Wed, 25 Aug 2004 23:24:20 +0000 (23:24 +0000)]
(__arch_compare_and_exchange_bool_32_acq): Fix case where oldval is negative. (__arch_compare_and_exchange_bool_32_rel): Likewise.
Richard Henderson [Wed, 25 Aug 2004 19:59:01 +0000 (19:59 +0000)]
* sysdeps/alpha/elf/start.S (_start): Use $15 as frame unwind instead of $31. Zero $15. * sysdeps/unix/sysv/linux/alpha/clone.S (thread_start): Likewise.
2004-08-25 Richard Henderson <rth@redhat.com>
* sysdeps/alpha/elf/start.S (_start): Use $15 as frame unwind
instead of $31. Zero $15.
* sysdeps/unix/sysv/linux/alpha/clone.S (thread_start): Likewise.
Ulrich Drepper [Wed, 25 Aug 2004 17:24:52 +0000 (17:24 +0000)]
Update.
2004-08-25 Ulrich Drepper <drepper@redhat.com>
* nscd/connections.c: Make socket nonblocking so that threads
don't get stuck on accept. Fix locking.
* nscd/grpcache.c (cache_addgr): Use cope of original key in hash
entry with alternative key.
* nscd/pwdcache.c (cache_addpw): Likewise.
Ulrich Drepper [Wed, 25 Aug 2004 17:18:43 +0000 (17:18 +0000)]
(cache_addpw): Use cope of original key in hash entry with alternative key.
Andreas Jaeger [Wed, 25 Aug 2004 05:57:46 +0000 (05:57 +0000)]
* sysdeps/mips/dl-machine.h (_dl_start_user): Don't set
__libc_stack_end.
Andreas Jaeger [Wed, 25 Aug 2004 05:55:35 +0000 (05:55 +0000)]
(CENABLE, CDISABLE, __local_multiple_threads): Fix definitions for IS_IN_librt.
2004-08-25 Richard Sandiford <rsandifo@redhat.com>
* sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (CENABLE, CDISABLE,
__local_multiple_threads): Fix definitions for IS_IN_librt.
* sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
Ulrich Drepper [Mon, 23 Aug 2004 09:14:00 +0000 (09:14 +0000)]
Update.
2004-08-23 Ulrich Drepper <drepper@redhat.com>
* sysdeps/gnu/netinet/udp.h: Cosmetic changes. Remove unnecessary
__BEGIN_DECLS/__END_DECLS.
Ulrich Drepper [Mon, 23 Aug 2004 09:07:06 +0000 (09:07 +0000)]
Cosmetic changes. Remove unnecessary __BEGIN_DECLS/__END_DECLS.
Andreas Jaeger [Mon, 23 Aug 2004 07:29:06 +0000 (07:29 +0000)]
[BZ #341]
Fix for
[BZ #341].
2004-08-23 Andreas Jaeger <aj@suse.de>
[BZ #341]
* sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_NOATIME): Define.
* sysdeps/unix/sysv/linux/arm/bits/fcntl.h (O_NOATIME): Likewise.
* sysdeps/unix/sysv/linux/cris/bits/fcntl.h (O_NOATIME): Likewise.
* sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (O_NOATIME): Likewise.
* sysdeps/unix/sysv/linux/i386/bits/fcntl.h (O_NOATIME): Likewise.
* sysdeps/unix/sysv/linux/ia64/bits/fcntl.h (O_NOATIME): Likewise.
* sysdeps/unix/sysv/linux/m68k/bits/fcntl.h (O_NOATIME): Likewise.
* sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOATIME): Likewise.
* sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h (O_NOATIME): Likewise.
* sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_NOATIME): Likewise.
* sysdeps/unix/sysv/linux/sh/bits/fcntl.h (O_NOATIME): Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_NOATIME): Likewise.
* sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h (O_NOATIME): Likewise.
Andreas Jaeger [Mon, 23 Aug 2004 07:28:46 +0000 (07:28 +0000)]
[BZ #341] (O_NOATIME): Define.
Ulrich Drepper [Mon, 23 Aug 2004 03:32:17 +0000 (03:32 +0000)]
Update.
2004-08-22 Andreas Schwab <schwab@suse.de>
* sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO) [IS_IN_librt]:
Save gp around CENABLE/CDISABLE calls.
Ulrich Drepper [Sat, 21 Aug 2004 20:19:54 +0000 (20:19 +0000)]
Update.
* malloc/hooks.c (DEFAULT_CHECK_ACTION): Moved to malloc.c.
(check_action): Likewise.
When printing error messages, use malloc_printf_nc now instead of
fiddling with the streams cancellation flag in every place.
* malloc/malloc.c (DEFAULT_CHECK_ACTION): New definition. Change
default to 3.
(check_action): New variable.
(unlink): Print error message and eventually terminate in case list
is corrupted.
(malloc_printf_nc): New function. Use it in _int_free.
Change proposed by Arjan van de Ven.
Ulrich Drepper [Sat, 21 Aug 2004 09:28:31 +0000 (09:28 +0000)]
Update.
2004-08-21 Ulrich Drepper <drepper@redhat.com>
* dlfcn/Makefile: Don't build eval.c anymore.
pointer in new variable ORIG_NAME and use this pointer when
Ulrich Drepper [Sat, 21 Aug 2004 09:25:46 +0000 (09:25 +0000)]
Don't build eval.c anymore.
Roland McGrath [Fri, 20 Aug 2004 20:12:50 +0000 (20:12 +0000)]
* csu/Makefile ($(objpfx)version-info.h): Use printf in place
of echo -e for POSIX.2 portability.
Reported by Paul Jarc <prj@po.cwru.edu>.
* setjmp/Makefile (tests): Add bug269-setjmp.
Roland McGrath [Fri, 20 Aug 2004 20:12:43 +0000 (20:12 +0000)]
2004-08-20 Roland McGrath <roland@frob.com>
* csu/Makefile ($(objpfx)version-info.h): Use printf in place
of echo -e for POSIX.2 portability.
Reported by Paul Jarc <prj@po.cwru.edu>.
Ulrich Drepper [Thu, 19 Aug 2004 22:56:27 +0000 (22:56 +0000)]
Update.
* sysdeps/posix/getaddrinfo.c (gaih_inet): Minor optimizations in
list generation.
Ulrich Drepper [Thu, 19 Aug 2004 21:39:39 +0000 (21:39 +0000)]
Update.
* sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use
getcanonname_r function if AI_CANONNAME flag is not set in
request.
Ulrich Drepper [Thu, 19 Aug 2004 21:03:12 +0000 (21:03 +0000)]
Update.
2004-08-19 Ulrich Drepper <drepper@redhat.com>
* nis/nss_compat/compat-initgroups.c (getgrent_next_nss):
Initialize mysize with limits only if latter is >= 0. Use mysize
in malloc call.
Ulrich Drepper [Thu, 19 Aug 2004 18:56:52 +0000 (18:56 +0000)]
Update.
2004-08-19 Jakub Jelinek <jakub@redhat.com>
* sysdeps/posix/getaddrinfo.c (gaih_inet): Cast canon to (char *)
to avoid warning.
* resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Initialize
status to NSS_STATUS_UNAVAIL.
2004-08-19 Ulrich Drepper <drepper@redhat.com>
* sysdeps/posix/getaddrinfo.c (gaih_inet): Use h->h_name in the
cannoname lookup since it has the FQDN even if the original NAME
value has not.
Ulrich Drepper [Wed, 18 Aug 2004 08:22:52 +0000 (08:22 +0000)]
Update.
2004-08-18 Ulrich Drepper <drepper@redhat.com>
* sysdeps/posix/getaddrinfo.c (gaih_inet): Store NAME parameter
pointer in new variable ORIG_NAME and se this pointer when
determination of canonical name failed, not the possibly IDN
translated value of NAME.
Ulrich Drepper [Wed, 18 Aug 2004 05:29:19 +0000 (05:29 +0000)]
Update.
* resolv/resolv.h (RES_DEFAULT): Add RES_NOIP6DOTINT.
* resolv/res_init.c (res_setoptions): Recognize ip6-dotint option.
Reset RES_NOIP6DOTINT flag in this case..
Ulrich Drepper [Wed, 18 Aug 2004 05:10:14 +0000 (05:10 +0000)]
Update
2004-08-17 Ulrich Drepper <drepper@redhat.com>
* sysdeps/posix/getaddrinfo.c: Fix memory handling of
ai_canonname.
Ulrich Drepper [Mon, 16 Aug 2004 17:16:00 +0000 (17:16 +0000)]
Update.
2004-08-16 Ulrich Drepper <drepper@redhat.com>
* resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Don't use
CNAME records, we better follow the chain of CNAME records which
can be accomplished with A/AAAA lookups.
Ulrich Drepper [Mon, 16 Aug 2004 17:13:13 +0000 (17:13 +0000)]
(_nss_dns_getcanonname_r): Don't use CNAME records, we better follow the chain of CNAME records which can be accomplished with A/AAAA lookups.
Roland McGrath [Mon, 16 Aug 2004 08:51:53 +0000 (08:51 +0000)]
* sysdeps/unix/sysv/linux/bits/resource.h (enum __rusage_who):
Remove __RUSAGE_BOTH constant and RUSAGE_BOTH macro.
* sysdeps/unix/sysv/linux/alpha/bits/resource.h: Likewise.
* sysdeps/unix/sysv/linux/mips/bits/resource.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
Roland McGrath [Mon, 16 Aug 2004 06:46:31 +0000 (06:46 +0000)]
* sysdeps/i386/i686/Makefile (elide-routines.os): Append hp-timing to
this, not ...
(static-only-routines): ... this.
* sysdeps/ia64/Makefile: Likewise.
* sysdeps/sparc/sparc32/sparcv9/Makefile: Likewise.
* sysdeps/sparc/sparc64/Makefile: Likewise.
* sysdeps/x86_64/Makefile: Likewise.
* sysdeps/i386/i686/hp-timing.c: Revert copyright terms change.
* sysdeps/ia64/hp-timing.c: Likewise.
* sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Likewise.
* sysdeps/sparc/sparc64/hp-timing.c: Likewise.
Roland McGrath [Mon, 16 Aug 2004 04:51:23 +0000 (04:51 +0000)]
* csu/elf-init.c: Update copyright terms including special exception
for these trivial files, which are statically linked into executables
that use dynamic linking for the significant library code.
* io/fstat.c: Likewise.
* io/fstat64.c: Likewise.
* io/lstat.c: Likewise.
* io/lstat64.c: Likewise.
* io/stat.c: Likewise.
* io/stat64.c: Likewise.
* stdlib/atexit.c: Likewise.
* sysdeps/alpha/elf/initfini.c: Likewise.
* sysdeps/alpha/elf/start.S: Likewise.
* sysdeps/arm/elf/start.S: Likewise.
* sysdeps/cris/elf/start.S: Likewise.
* sysdeps/generic/initfini.c: Likewise.
* sysdeps/generic/mknod.c: Likewise.
* sysdeps/hppa/elf/initfini.c: Likewise.
* sysdeps/hppa/elf/start.S: Likewise.
* sysdeps/i386/elf/start.S: Likewise.
* sysdeps/i386/i686/hp-timing.c: Likewise.
* sysdeps/ia64/elf/initfini.c: Likewise.
* sysdeps/ia64/elf/start.S: Likewise.
* sysdeps/ia64/hp-timing.c: Likewise.
* sysdeps/m68k/elf/start.S: Likewise.
* sysdeps/mach/start.c: Likewise.
* sysdeps/mips/elf/start.S: Likewise.
* sysdeps/powerpc/powerpc32/elf/start.S: Likewise.
* sysdeps/powerpc/powerpc64/elf/start.S: Likewise.
* sysdeps/s390/s390-32/elf/start.S: Likewise.
* sysdeps/s390/s390-32/initfini.c: Likewise.
* sysdeps/s390/s390-64/elf/start.S: Likewise.
* sysdeps/s390/s390-64/initfini.c: Likewise.
* sysdeps/sh/elf/initfini.c: Likewise.
* sysdeps/sh/elf/start.S: Likewise.
* sysdeps/sparc/sparc32/elf/start.S: Likewise.
* sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Likewise.
* sysdeps/sparc/sparc64/elf/start.S: Likewise.
* sysdeps/sparc/sparc64/hp-timing.c: Likewise.
* sysdeps/standalone/i386/start.S: Likewise.
* sysdeps/standalone/i960/start.S: Likewise.
* sysdeps/standalone/m68k/m68020/start.S: Likewise.
* sysdeps/unix/arm/start.c: Likewise.
* sysdeps/unix/bsd/osf/alpha/start.S: Likewise.
* sysdeps/unix/bsd/ultrix4/mips/start.S: Likewise.
* sysdeps/unix/sparc/start.c: Likewise.
* sysdeps/unix/start.c: Likewise.
* sysdeps/unix/sysv/aix/start.s: Likewise.
* sysdeps/unix/sysv/irix4/start.c: Likewise.
* sysdeps/x86_64/elf/initfini.c: Likewise.
* sysdeps/x86_64/elf/start.S: Likewise.