Jakub Jelinek [Sun, 1 Apr 2007 16:35:03 +0000 (16:35 +0000)]
* sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
Change last argument to unsigned int.
2007-04-01 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
Change last argument to unsigned int.
Ulrich Drepper [Mon, 26 Mar 2007 20:41:09 +0000 (20:41 +0000)]
* scripts/check-local-headers.sh: Filter out sys/capability.h.
2007-03-22 Jakub Jelinek <jakub@redhat.com>
* config.h.in (HAVE_LIBCAP): Add.
* nscd/selinux.h: Include sys/capability.h rather than non-existent
sys/capabilities.h.
* nscd/selinux.c (preserve_capabilities): Use cap_free instead of
free_caps. Cast away const from 4th cap_set_flag argument.
Ulrich Drepper [Mon, 26 Mar 2007 20:38:57 +0000 (20:38 +0000)]
* sysdeps/unix/sysv/linux/Versions: Move sync_file_range to
GLIBC_2.6.
* sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
Add sync_file_range.
Reported by Atsushi Nemoto <anemo@mba.ocn.ne.jp>.
Ulrich Drepper [Mon, 26 Mar 2007 20:16:39 +0000 (20:16 +0000)]
* sysdeps/powerpc/bits/atomic.h
[!MUTEX_HINT_ACQ]: Define MUTEX_HINT_ACQ.
[!MUTEX_HINT_REL]: Define MUTEX_HINT_REL.
(__arch_compare_and_exchange_val_32_acq): Add MUTEX_HINT_ACQ to lwarx.
(__arch_compare_and_exchange_val_32_rel): Add MUTEX_HINT_REL to lwarx.
(__arch_atomic_exchange_val_32_acq): Add MUTEX_HINT_ACQ to lwarx.
(__arch_atomic_exchange_rel_32_rel): Add MUTEX_HINT_REL to lwarx.
* sysdeps/powerpc/powerpc32/bits/atomic.h [_ARCH_PWR6 || _ARCH_PWR6X]:
Define MUTEX_HINT_ACQ as ",1" and MUTEX_HINT_REL as ",0".
(__arch_compare_and_exchange_bool_32_acq): Add MUTEX_HINT_ACQ to lwarx.
(__arch_compare_and_exchange_bool_32_rel): Add MUTEX_HINT_REL to lwarx.
* sysdeps/powerpc/powerpc64/bits/atomic.h [_ARCH_PWR6 || _ARCH_PWR6D]:
Define MUTEX_HINT_ACQ as ",1" and MUTEX_HINT_REL as ",0".
(__arch_compare_and_exchange_bool_32_acq): Add MUTEX_HINT_ACQ to lwarx.
(__arch_compare_and_exchange_bool_32_rel): Add MUTEX_HINT_REL to lwarx.
(__arch_compare_and_exchange_bool_64_acq): Add MUTEX_HINT_ACQ to lwarx.
(__arch_compare_and_exchange_bool_64_rel): Add MUTEX_HINT_REL to lwarx.
(__arch_compare_and_exchange_val_64_acq): Add MUTEX_HINT_ACQ to lwarx.
(__arch_compare_and_exchange_val_64_rel): Add MUTEX_HINT_REL to lwarx.
(__arch_atomic_exchange_val_64_acq): Add MUTEX_HINT_ACQ to lwarx.
(__arch_atomic_exchange_rel_64_rel): Add MUTEX_HINT_REL to lwarx.
2007-03-20 Jakub Jelinek <jakub@redhat.com>
Ulrich Drepper [Mon, 26 Mar 2007 20:09:10 +0000 (20:09 +0000)]
007-03-20 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/powerpc/libc-start.c
(__cache_line_size): Define the variable here. Add
attribute_hidden, remove weak_extern.
(__libc_start_main): Set __cache_line_size
unconditionally.
* sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
(__cache_line_size): Define the variable here. Add
attribute_hidden, remove weak_extern.
(DL_PLATFORM_AUXV): Set __cache_line_size
unconditionally.
* sysdeps/powerpc/powerpc32/dl-machine.c (__cache_line_size): Remove
weak_extern, add attribute_hidden.
(__elf_machine_runtime_setup): Assume __cache_line_size is always
defined in ld.so.
* sysdeps/powerpc/powerpc32/memset.S (__cache_line_size): Remove
definition.
* sysdeps/powerpc/powerpc64/memset.S (__cache_line_size): Likewise.
Ulrich Drepper [Mon, 26 Mar 2007 20:08:13 +0000 (20:08 +0000)]
(__cache_line_size): Define the variable here. Add attribute_hidden, remove weak_extern. (__libc_start_main): Set __cache_line_size unconditionally.
Jakub Jelinek [Mon, 26 Mar 2007 12:57:50 +0000 (12:57 +0000)]
[BZ #4276]
* timezone/africa: Update from tzdata2007d.
* timezone/asia: Likewise.
* timezone/australasia: Likewise.
* timezone/backward: Likewise.
* timezone/europe: Likewise.
* timezone/iso3166.tab: Likewise.
* timezone/leapseconds: Likewise.
* timezone/northamerica: Likewise.
* timezone/southamerica: Likewise.
* timezone/zone.tab: Likewise.
* timezone/private.h: Update from tzcode2007d.
* timezone/zdump.c: Likewise.
* timezone/zic.c: Likewise.
2007-03-26 Jakub Jelinek <jakub@redhat.com>
[BZ #4276]
* timezone/africa: Update from tzdata2007d.
* timezone/asia: Likewise.
* timezone/australasia: Likewise.
* timezone/backward: Likewise.
* timezone/europe: Likewise.
* timezone/iso3166.tab: Likewise.
* timezone/leapseconds: Likewise.
* timezone/northamerica: Likewise.
* timezone/southamerica: Likewise.
* timezone/zone.tab: Likewise.
* timezone/private.h: Update from tzcode2007d.
* timezone/zdump.c: Likewise.
* timezone/zic.c: Likewise.
Jakub Jelinek [Wed, 21 Mar 2007 20:24:59 +0000 (20:24 +0000)]
* nis/nis_call.c: Include bits/libc-lock.h, sys/stat.h, unistd.h.
(nis_server_cache, nis_server_cache_lock, nis_cold_start_mtime): New
variables.
(nis_server_cache_search, nis_server_cache_add): New functions.
(__nisfind_server): Use them. Add dbp and flags argument, if
call __nisbind_create.
(__nisbind_create): Add server_used and current_ep arguments,
only call __nis_findfastest if server_used is ~0.
(__do_niscall2, __prepare_niscall): Adjust callers.
(ckey_cache, ckey_cache_size, ckey_cache_allocated, ckey_cache_pid,
ckey_cache_euid, ckey_cache_lock): New variables.
(get_ckey): New function.
(__nisbind_connect): If not dbp->use_udp, pass IPPROTO_TCP to
__pmap_getnisport. Save __pmap_getnisport result in
dbp->addr.sin_port if non-zero. Use get_ckey to create conversation
key.
* nis/nis_lookup.c (nis_lookup): Likewise.
* nis/nis_table.c (nis_list): Likewise.
* nis/rpcsvc/nislib.h (__nisbind_create, __nisfind_server): Adjust
prototypes.
* nis/nss_nisplus/nisplus-pwd.c (_nss_nisplus_getpwnam_r,
_nss_nisplus_getpwuid_r): Pass USE_DGRAM flag to nis_list.
* nis/nss_nisplus/nisplus-service.c (_nss_nisplus_getservbyname_r,
_nss_nisplus_getservbyport_r): Likewise.
* nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
_nss_nisplus_getnetbyaddr_r): Likewise.
* nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_getspnam_r): Likewise.
* nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
_nss_nisplus_getntohost_r): Likewise.
* nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r,
_nss_nisplus_getrpcbynumber_r): Likewise.
2007-03-21 Jakub Jelinek <jakub@redhat.com>
* nis/nis_call.c: Include bits/libc-lock.h, sys/stat.h, unistd.h.
(nis_server_cache, nis_server_cache_lock, nis_cold_start_mtime): New
variables.
(nis_server_cache_search, nis_server_cache_add): New functions.
(__nisfind_server): Use them. Add dbp and flags argument, if
call __nisbind_create.
(__nisbind_create): Add server_used and current_ep arguments,
only call __nis_findfastest if server_used is ~0.
(__do_niscall2, __prepare_niscall): Adjust callers.
(ckey_cache, ckey_cache_size, ckey_cache_allocated, ckey_cache_pid,
ckey_cache_euid, ckey_cache_lock): New variables.
(get_ckey): New function.
(__nisbind_connect): If not dbp->use_udp, pass IPPROTO_TCP to
__pmap_getnisport. Save __pmap_getnisport result in
dbp->addr.sin_port if non-zero. Use get_ckey to create conversation
key.
* nis/nis_lookup.c (nis_lookup): Likewise.
* nis/nis_table.c (nis_list): Likewise.
* nis/rpcsvc/nislib.h (__nisbind_create, __nisfind_server): Adjust
prototypes.
* nis/nss_nisplus/nisplus-pwd.c (_nss_nisplus_getpwnam_r,
_nss_nisplus_getpwuid_r): Pass USE_DGRAM flag to nis_list.
* nis/nss_nisplus/nisplus-service.c (_nss_nisplus_getservbyname_r,
_nss_nisplus_getservbyport_r): Likewise.
* nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
_nss_nisplus_getnetbyaddr_r): Likewise.
* nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_getspnam_r): Likewise.
* nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
_nss_nisplus_getntohost_r): Likewise.
* nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r,
_nss_nisplus_getrpcbynumber_r): Likewise.
Jakub Jelinek [Tue, 20 Mar 2007 12:11:23 +0000 (12:11 +0000)]
* configure.in (libc_cv_gnu89_inline): Only do compile test.
* configure: Rebuilt.
* configure.in (libc_cv_gnu89_inline): Only do compile test.
* configure: Rebuilt.
Jakub Jelinek [Tue, 20 Mar 2007 12:10:36 +0000 (12:10 +0000)]
[BZ #2831]
* soft-fp/double.h (_FP_UNION_D): Use _FP_W_TYPE for frac
bit-fields.
* soft-fp/extended.h (_FP_UNION_E): Likewise.
[BZ #2831]
* soft-fp/quad.h (_FP_UNION_Q): Use _FP_W_TYPE for frac
bit-fields.
2007-03-20 Jakub Jelinek <jakub@redhat.com>
* soft-fp/double.h (_FP_UNION_D): Use _FP_W_TYPE for frac
bit-fields.
* soft-fp/extended.h (_FP_UNION_E): Likewise.
2006-06-07 Joseph Myers <joseph@codesourcery.com>
[BZ #2831]
* soft-fp/quad.h (_FP_UNION_Q): Use _FP_W_TYPE for frac
bit-fields.
Ulrich Drepper [Sun, 18 Mar 2007 17:55:52 +0000 (17:55 +0000)]
* nscd/gai.c: Include alloca.h.
(__libc_use_alloca): Define.
Ulrich Drepper [Sat, 17 Mar 2007 17:09:13 +0000 (17:09 +0000)]
* elf/dl-open.c (dl_open_worker): Declare l in 2 different
smaller scopes.
* elf/dl-dst.h (DL_DST_REQ_STATIC): Add l as macro argument.
(DL_DST_REQUIRED): Adjust user.
* include/dlfcn.h (struct link_map): New forward decl.
* inet/getnameinfo.c: Include stddef.h.
(getnameinfo): Use offsetof.
* time/tst-mktime2.c (do_test): Don't rely on signed wrap.
* stdio-common/vfprintf.c (_itoa): Undef before redefining.
* string/strerror_l.c: Include stdlib.h.
Ulrich Drepper [Sat, 17 Mar 2007 17:04:28 +0000 (17:04 +0000)]
* configure.in (libc_cv_gnu89_inline): Test for -fgnu89-inline.
* config.make.in (gnu89-inline-CFLAGS): New variable.
* Makeconfig (CFLAGS): Use $(gnu89-inline-CFLAGS) together with
-std=gnu99.
* misc/sys/cdefs.h (__extern_inline, __extern_always_inline): Define.
* argp/argp.h: Use it.
* bits/mathinline.h: Likewise.
* bits/sigset.h: Likewise.
* bits/string.h: Likewise.
* ctype/ctype.h: Likewise.
* hurd/hurd.h: Likewise.
* hurd/hurd/fd.h: Likewise.
* hurd/hurd/port.h: Likewise.
* hurd/hurd/signal.h: Likewise.
* hurd/hurd/threadvar.h: Likewise.
* hurd/hurd/userlink.h: Likewise.
* io/sys/stat.h: Likewise.
* libio/bits/stdio.h: Likewise.
* libio/bits/stdio2.h: Likewise.
* mach/lock-intern.h: Likewise.
* mach/mach/mig_support.h: Likewise.
* math/bits/cmathcalls.h: Likewise.
* posix/bits/unistd.h: Likewise.
* socket/bits/socket2.h: Likewise.
* stdlib/bits/stdlib.h: Likewise.
* stdlib/stdlib.h: Likewise.
* string/argz.h: Likewise.
* string/bits/string2.h: Likewise.
* string/bits/string3.h: Likewise.
* sysdeps/alpha/fpu/bits/mathinline.h: Likewise.
* sysdeps/generic/inttypes.h: Likewise.
* sysdeps/generic/machine-lock.h: Likewise.
* sysdeps/generic/machine-sp.h: Likewise.
* sysdeps/i386/fpu/bits/mathinline.h: Likewise.
* sysdeps/i386/i486/bits/string.h: Likewise.
* sysdeps/ia64/fpu/bits/mathinline.h: Likewise.
* sysdeps/mach/alpha/machine-lock.h: Likewise.
* sysdeps/mach/alpha/machine-sp.h: Likewise.
* sysdeps/mach/i386/machine-lock.h: Likewise.
* sysdeps/mach/powerpc/machine-lock.h: Likewise.
* sysdeps/mach/powerpc/machine-sp.h: Likewise.
* sysdeps/powerpc/fpu/bits/mathinline.h: Likewise.
* sysdeps/s390/bits/string.h: Likewise.
* sysdeps/s390/fpu/bits/mathinline.h: Likewise.
* sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
* sysdeps/unix/bsd/bsd4.4/bits/socket.h: Likewise.
* sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
* sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
* sysdeps/unix/sysv/linux/sys/sysmacros.h: Likewise.
* sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
* wcsmbs/bits/wchar2.h: Likewise.
* wcsmbs/wchar.h: Likewise.
* stdlib/gmp.h: Likewise. Include <features.h> to get
__extern_inline definition.
* locale/programs/ld-ctype.c (find_translit): Return NULL if ctype is
NULL.
Ulrich Drepper [Thu, 15 Mar 2007 20:12:43 +0000 (20:12 +0000)]
.
Ulrich Drepper [Thu, 15 Mar 2007 20:10:51 +0000 (20:10 +0000)]
[BZ #3919]
* math/libm-test.inc (log_test): Test -Inf and NaN.
(log10_test, log1p_test, log2_test): Test -Inf.
* sysdeps/i386/fpu/e_log.S (__ieee754_log): Don't raise
FE_INVALID when argument is qNaN.
* sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
* sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
* sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
* sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Replace
andb $1, %ah with testb $1, %ah, don't test for parity, instead
testb $4, %ah and jump if non-zero.
* sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
* sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
2007-03-15 Jakub Jelinek <jakub@redhat.com>
Ulrich Drepper [Thu, 15 Mar 2007 20:09:02 +0000 (20:09 +0000)]
[BZ #4101]
* argp/argp-help.c (hol_cluster_cmp): Fix comparisons used to find
ancestors with the same depths.
Patch by Niels Moeller <nisse@lysator.liu.se>.
(filter_doc): Don't crash if argp is NULL.
* argp/Makefile (tests): Add tst-argp2.
* argp/tst-argp2.c: New test.
2007-03-15 Jakub Jelinek <jakub@redhat.com>
Ulrich Drepper [Thu, 15 Mar 2007 20:06:22 +0000 (20:06 +0000)]
[BZ #4130]
* login/utmp_file.c (setutent_file): Use O_LARGEFILE for
open_not_cancel_2.
(updwtmp_file): Likewise.
Ulrich Drepper [Thu, 15 Mar 2007 20:05:19 +0000 (20:05 +0000)]
[BZ #4181]
2007-03-15 Jakub Jelinek <jakub@redhat.com>
[BZ #4181]
* inet/inet6_opt.c (add_padding): Only insert padding if npad > 0.
(inet6_opt_append): Don't check extlen is big enough if extbuf
is NULL.
(inet6_opt_finish): Likewise.
* inet/Makefile (tests): Add test-inet6_opt.
* inet/test-inet6_opt.c: New test.
* sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Never
reallocate the buffer, instead fail for MSG_TRUNC or for EBUSY
NLMSG_ERR. Instead use a page sized buffer.
* sysdeps/unix/sysv/linux/check_pf.c (make_request): Use page sized
buffer.
Ulrich Drepper [Wed, 14 Mar 2007 22:32:50 +0000 (22:32 +0000)]
* Makefile: Define tst-sscanf-ENV.
* tst-sscanf.c: Use fa_IR.UTF-8 which exists internally.
Ulrich Drepper [Wed, 14 Mar 2007 22:32:31 +0000 (22:32 +0000)]
Use fa_IR.UTF-8 which exists internally.
Richard Henderson [Wed, 14 Mar 2007 20:01:05 +0000 (20:01 +0000)]
* sysdeps/alpha/fpu/s_llround.c: New file.
* sysdeps/alpha/fpu/s_llroundf.c: New file.
* sysdeps/alpha/fpu/s_lround.c: New file.
* sysdeps/alpha/fpu/s_lroundf.c: New file.
* sysdeps/alpha/fpu/s_round.c: New file.
* sysdeps/alpha/fpu/s_roundf.c: New file.
* sysdeps/alpha/fpu/s_trunc.c: New file.
* sysdeps/alpha/fpu/s_truncf.c: New file.
* sysdeps/alpha/fpu/s_llround.c: New file.
* sysdeps/alpha/fpu/s_llroundf.c: New file.
* sysdeps/alpha/fpu/s_lround.c: New file.
* sysdeps/alpha/fpu/s_lroundf.c: New file.
* sysdeps/alpha/fpu/s_round.c: New file.
* sysdeps/alpha/fpu/s_roundf.c: New file.
* sysdeps/alpha/fpu/s_trunc.c: New file.
* sysdeps/alpha/fpu/s_truncf.c: New file.
Richard Henderson [Wed, 14 Mar 2007 17:44:14 +0000 (17:44 +0000)]
* sysdeps/alpha/fpu/s_ceil.c: Rewrite without branches.
* sysdeps/alpha/fpu/s_ceilf.c: Likewise.
* sysdeps/alpha/fpu/s_floor.c: Likewise.
* sysdeps/alpha/fpu/s_floorf.c: Likewise.
* sysdeps/alpha/fpu/s_rint.c: Likewise.
* sysdeps/alpha/fpu/s_rintf.c: Likewise.
* sysdeps/alpha/fpu/s_fmax.S: New file.
* sysdeps/alpha/fpu/s_fmaxf.S: New file.
* sysdeps/alpha/fpu/s_fmin.S: New file.
* sysdeps/alpha/fpu/s_fminf.S: New file.
* sysdeps/alpha/fpu/s_isnan.c: New file.
* sysdeps/alpha/fpu/s_isnanf.c: New file.
* sysdeps/alpha/fpu/s_llrint.c: New file.
* sysdeps/alpha/fpu/s_llrintf.c: New file.
* sysdeps/alpha/fpu/s_lrint.c: New file.
* sysdeps/alpha/fpu/s_lrintf.c: New file.
* sysdeps/alpha/fpu/s_nearbyint.c: New file.
* sysdeps/alpha/fpu/s_nearbyintf.c: New file.
* sysdeps/alpha/fpu/bits/mathinline.h (__floorf, __floor): Remove.
(__fdimf, fdimf, __fdim, fdim): Remove.
(__signbitf, __signbit, __signbitl): Use gcc builtin if available.
(__isnanf, __isnan, __isnanl): New.
2007-03-14 Richard Henderson <rth@redhat.com>
* sysdeps/alpha/fpu/s_ceil.c: Rewrite without branches.
* sysdeps/alpha/fpu/s_ceilf.c: Likewise.
* sysdeps/alpha/fpu/s_floor.c: Likewise.
* sysdeps/alpha/fpu/s_floorf.c: Likewise.
* sysdeps/alpha/fpu/s_rint.c: Likewise.
* sysdeps/alpha/fpu/s_rintf.c: Likewise.
* sysdeps/alpha/fpu/s_fmax.S: New file.
* sysdeps/alpha/fpu/s_fmaxf.S: New file.
* sysdeps/alpha/fpu/s_fmin.S: New file.
* sysdeps/alpha/fpu/s_fminf.S: New file.
* sysdeps/alpha/fpu/s_isnan.c: New file.
* sysdeps/alpha/fpu/s_isnanf.c: New file.
* sysdeps/alpha/fpu/s_llrint.c: New file.
* sysdeps/alpha/fpu/s_llrintf.c: New file.
* sysdeps/alpha/fpu/s_lrint.c: New file.
* sysdeps/alpha/fpu/s_lrintf.c: New file.
* sysdeps/alpha/fpu/s_nearbyint.c: New file.
* sysdeps/alpha/fpu/s_nearbyintf.c: New file.
* sysdeps/alpha/fpu/bits/mathinline.h (__floorf, __floor): Remove.
(__fdimf, fdimf, __fdim, fdim): Remove.
(__signbitf, __signbit, __signbitl): Use gcc builtin if available.
(__isnanf, __isnan, __isnanl): New.
Richard Henderson [Wed, 14 Mar 2007 17:36:18 +0000 (17:36 +0000)]
* sysdeps/ieee754/ldbl-128/Makefile: New file.
* sysdeps/ieee754/ldbl-128/Makefile: New file.
2007-03-13 Richard Henderson <rth@redhat.com>
Richard Henderson [Wed, 14 Mar 2007 00:40:50 +0000 (00:40 +0000)]
* sysdeps/alpha/Makefile (sysdep-CFLAGS): Force dynamic rounding. * sysdeps/alpha/fpu/bits/mathinline.h (__signbitl): New. * sysdeps/alpha/fpu/libm-test-ulps: Regenerate. * sysdeps/unix/sysv/linux/alpha/alphaev6/fpu/Implies: New file. * sysdeps/unix/sysv/linux/alpha/alphaev67/fpu/Implies: New file. * sysdeps/unix/sysv/linux/alpha/fpu/Implies: New file.
* sysdeps/alpha/Makefile (sysdep-CFLAGS): Force dynamic rounding.
* sysdeps/alpha/fpu/bits/mathinline.h (__signbitl): New.
* sysdeps/alpha/fpu/libm-test-ulps: Regenerate.
* sysdeps/unix/sysv/linux/alpha/alphaev6/fpu/Implies: New file.
* sysdeps/unix/sysv/linux/alpha/alphaev67/fpu/Implies: New file.
* sysdeps/unix/sysv/linux/alpha/fpu/Implies: New file.
2007-03-13 Richard Henderson <rth@redhat.com>
Richard Henderson [Tue, 13 Mar 2007 21:28:03 +0000 (21:28 +0000)]
* sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Use two
separate cfi regions for the two subsections.
2007-03-13 Richard Henderson <rth@redhat.com>
* sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Use two
separate cfi regions for the two subsections.
Richard Henderson [Tue, 13 Mar 2007 21:25:16 +0000 (21:25 +0000)]
* elf/dl-support.c (_dl_aux_init): Honor DL_PLATFORM_AUXV.
* sysdeps/unix/sysv/linux/alpha/dl-auxv.h: New file.
* sysdeps/unix/sysv/linux/alpha/dl-support.c: New file.
* sysdeps/unix/sysv/linux/alpha/dl-sysdep.c (__libc_alpha_cache_shape):
Move to dl-auxv.h; initialize instead of extern weak.
(DL_PLATFORM_AUXV): Move to dl-auxv.h; don't test for undef
weak symbol.
* sysdeps/unix/sysv/linux/alpha/sysconf.c (__libc_alpha_cache_shape):
Extern instead of initialized.
* elf/dl-support.c (_dl_aux_init): Honor DL_PLATFORM_AUXV.
* sysdeps/unix/sysv/linux/alpha/dl-auxv.h: New file.
* sysdeps/unix/sysv/linux/alpha/dl-support.c: New file.
* sysdeps/unix/sysv/linux/alpha/dl-sysdep.c (__libc_alpha_cache_shape):
Move to dl-auxv.h; initialize instead of extern weak.
(DL_PLATFORM_AUXV): Move to dl-auxv.h; don't test for undef
weak symbol.
* sysdeps/unix/sysv/linux/alpha/sysconf.c (__libc_alpha_cache_shape):
Extern instead of initialized.
2007-03-13 Richard Henderson <rth@redhat.com>
Richard Henderson [Tue, 13 Mar 2007 16:05:44 +0000 (16:05 +0000)]
* sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Add support for
__sigsuspend_nocancel.
2007-03-13 Richard Henderson <rth@redhat.com>
* sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Add support for
__sigsuspend_nocancel.
Ulrich Drepper [Tue, 6 Mar 2007 14:53:08 +0000 (14:53 +0000)]
* sysdeps/posix/getaddrinfo.c (get_scope): Correct test for
172.16/12 address range.
Ulrich Drepper [Mon, 5 Mar 2007 20:32:32 +0000 (20:32 +0000)]
* sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Retry with
a new netlink socket if NLMSG_ERR -EBUSY is seen after some MSG_TRUNC
message.
Ulrich Drepper [Mon, 5 Mar 2007 19:40:18 +0000 (19:40 +0000)]
[BZ #4069]
Ulrich Drepper [Mon, 5 Mar 2007 19:38:56 +0000 (19:38 +0000)]
[BZ #4096]
2007-03-01 Jakub Jelinek <jakub@redhat.com>
[BZ #4096]
* sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Check for NaN
earlier.
* math/libm-test.inc (pow_test): Add more tests involving NaNs.
* sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Avoid invalid exception
for x qNaN and y either +-inf or non-integer value.
* sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Likewise.
* sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
* sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
Ulrich Drepper [Mon, 5 Mar 2007 19:35:17 +0000 (19:35 +0000)]
* sysdeps/unix/sysv/linux/sh/Makefile: Remove sys/io.h
from sysdep_headers.
Ulrich Drepper [Mon, 5 Mar 2007 19:32:39 +0000 (19:32 +0000)]
* time/tzfile.c (find_transition): Instead of a linear search try to
guess the transition index, use a linear search if the result is at
most 10 transitions away from the guess or binary search otherwise.
Ulrich Drepper [Mon, 5 Mar 2007 19:32:03 +0000 (19:32 +0000)]
(find_transition): Instead of a linear search try to guess the transition index, use a linear search if the result is at most 10 transitions away from the guess or binary search otherwise.
Jakub Jelinek [Tue, 27 Feb 2007 11:20:39 +0000 (11:20 +0000)]
* sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Fix
memory reallocation.
2007-02-27 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Fix
memory reallocation.
Ulrich Drepper [Sun, 25 Feb 2007 21:44:22 +0000 (21:44 +0000)]
* sysdeps/unix/sysv/linux/fork.c (__libc_fork): Reset refcntr in
new thread, don't just decrement it.
Patch by Suzuki K P <suzuki@in.ibm.com>.
Ulrich Drepper [Thu, 22 Feb 2007 00:45:40 +0000 (00:45 +0000)]
* stdlib/strtod_l.c (____STRTOF_INTERNAL): Add branch predictions
and fix some typos.
Optimize use of TOLOWER.
Ulrich Drepper [Wed, 21 Feb 2007 21:54:19 +0000 (21:54 +0000)]
* stdlib/strtod_l.c (____STRTOF_INTERNAL): Optimize use of TOLOWER.
Ulrich Drepper [Wed, 21 Feb 2007 19:13:15 +0000 (19:13 +0000)]
[BZ #3325]
* sysdeps/i386/fpu/e_fmodf.S: Revert last changes, keep using fprem.
* sysdeps/i386/fpu/e_fmodl.c: Likewise.
* sysdeps/i386/fpu/e_fmod.S: Likewise.
Ulrich Drepper [Wed, 21 Feb 2007 19:03:26 +0000 (19:03 +0000)]
[BZ #3458]
* sysdeps/unix/sysv/linux/posix_madvise.c: New file.
* sysdeps/unix/sysv/linux/syscalls.list: Remove posix_madvise entry.
* stdio-common/tfformat.c (sprint_doubles): Some more tests.
Ulrich Drepper [Wed, 21 Feb 2007 09:36:46 +0000 (09:36 +0000)]
[BZ #4076]
* io/ftw.c (ftw_startup): Handle special case of FTW_CHDIR in /.
(open_dir_stream): Likewise.
* io/Makefile (tests): Add bug-ftw5.
io/bug-ftw5.c: New file.
Ulrich Drepper [Wed, 21 Feb 2007 09:11:47 +0000 (09:11 +0000)]
* nscd/hstcache.c (cache_addhst): Remove unnecessary conditional.
* nscd/servicescache.c (cache_addserv): Likewise.
* nscd/grpcache.c (cache_addgr): In case a record changed on
refresh, adjust key_copy.
Ulrich Drepper [Wed, 21 Feb 2007 09:05:36 +0000 (09:05 +0000)]
[BZ #4074]
* nscd/pwdcache.c (cache_addpw): In case a record changed on
refresh, adjust key_copy.
Ulrich Drepper [Wed, 21 Feb 2007 08:57:44 +0000 (08:57 +0000)]
[BZ #4070]
2007-02-21 Ulrich Drepper <drepper@redhat.com>
[BZ #4070]
* stdio-common/printf_fp.c (___printf_fp): Handle a few more
* stdio-common/tfformat.c (sprint_doubles): Some more tests.
special cases.
Ulrich Drepper [Tue, 20 Feb 2007 01:11:40 +0000 (01:11 +0000)]
* stdio-common/printf_fp.c (___printf_fp): Cleanups and minor
optimization.
Ulrich Drepper [Mon, 19 Feb 2007 21:20:09 +0000 (21:20 +0000)]
* stdio-common/vfscanf.c: Small cleanups throughout.
Ulrich Drepper [Mon, 19 Feb 2007 05:48:54 +0000 (05:48 +0000)]
[BZ #3325]
* sysdeps/i386/fpu/e_fmodf.S: Use fprem1 instead of fprem.
* sysdeps/i386/fpu/e_fmodl.c: Likewise.
* sysdeps/i386/fpu/e_fmod.S: Likewise.
Patch by Jared Casper <jaredcasper@gmail.com>.
Ulrich Drepper [Mon, 19 Feb 2007 05:44:33 +0000 (05:44 +0000)]
* sysdeps/unix/closedir.c: Outside libc don't use locking.
* sysdeps/unix/opendir.c: Likewise.
* sysdeps/unix/readdir.c: Likewise.
Ulrich Drepper [Mon, 19 Feb 2007 04:40:58 +0000 (04:40 +0000)]
[BZ #2211]
* stdio-common/vfscanf.c: Handle localized digits etc for floating
point numbers.
Patch mostly by Hamed Malek <hamed@farsiweb.info>.
Ulrich Drepper [Sun, 18 Feb 2007 19:03:30 +0000 (19:03 +0000)]
* stdio-common/vfscanf.c: Fix problems in width accounting.
* stdio-common/tst-sscanf.c (double_tests): New tests.
(main): Hook them up.
Ulrich Drepper [Sun, 18 Feb 2007 09:43:44 +0000 (09:43 +0000)]
..
More simplifications of floating-point reader.
Ulrich Drepper [Sun, 18 Feb 2007 09:25:25 +0000 (09:25 +0000)]
* stdio-common/vfscanf.c: Remove unused WIDTH handling.
Ulrich Drepper [Sun, 18 Feb 2007 09:21:24 +0000 (09:21 +0000)]
* stdio-common/Makefile (tests): Add tst-swscanf.
* stdio-common/tst-sscanf.c: Make tests usable for swscanf
testing.
* stdio-common/tst-swscanf.c: New file.
Ulrich Drepper [Sun, 18 Feb 2007 04:52:16 +0000 (04:52 +0000)]
* SUPPORTED (SUPPORTED-LOCALES): Remove sr_CS locales.
Ulrich Drepper [Sun, 18 Feb 2007 04:43:17 +0000 (04:43 +0000)]
[BZ #1430]
2007-02-17 Ulrich Drepper <drepper@redhat.com>
[BZ #1430]
* locales/hu_HU: Revert
* locales/hu_HU: Better collation.
Patch by Gyuro Lehel <lehel@freemail.hu>.
Ulrich Drepper [Sun, 18 Feb 2007 04:34:28 +0000 (04:34 +0000)]
[BZ #672]
2005-01-16 Denis Barbier <barbier@linuxfr.org>
[BZ #672]
* locales/ca_ES: Replace current collation rules by including
iso14651_t1 and adding extra rules if needed. There should be
no noticeable changes in sorted text. only ligatures and
ignoreable characters have modified weights.
* locales/da_DK: Likewise.
* locales/en_CA: Likewise.
* locales/es_US: Likewise.
* locales/fi_FI: Likewise.
* locales/nb_NO: Likewise.
[BZ #672]
* locales/iso14651_t1: Simplified. Extended.
Ulrich Drepper [Sun, 18 Feb 2007 03:59:48 +0000 (03:59 +0000)]
[BZ #58]
* locales/uk_UA: New version.
Ulrich Drepper [Sat, 17 Feb 2007 19:37:51 +0000 (19:37 +0000)]
[BZ #2633]
* libio/stdio.h: Define struct _IO_FILE in global namespace.
* setjmp/setjmp.h: Define __jmp_buf_tag in global namespace.
Remove using for __jmp_buf_tag.
* locale/locale.h (struct lconv): Also define in std namespace.
* wcsmbs/wchar.h: Move using declaration for tm out of namespace.
Ulrich Drepper [Sat, 17 Feb 2007 19:08:46 +0000 (19:08 +0000)]
[BZ #3842]
* sysdeps/posix/euidaccess.c [_LIBC] (euidaccess): Remove shortcut
using __libc_enable_secure.
Ulrich Drepper [Sat, 17 Feb 2007 18:58:25 +0000 (18:58 +0000)]
[BZ #2648]
* locales/pl_PL: Fix currency_symbol and its placement.
Ulrich Drepper [Sat, 17 Feb 2007 17:13:58 +0000 (17:13 +0000)]
[BZ #3818]
* sysdeps/unix/sysv/linux/sys/acct.h (struct acct_v3): Define.
Ulrich Drepper [Sat, 17 Feb 2007 16:53:41 +0000 (16:53 +0000)]
[BZ #3745]
* locale/programs/ld-collate.c (handle_ellipsis): Fix generation
of names for ellipsises.
Ulrich Drepper [Sat, 17 Feb 2007 08:36:28 +0000 (08:36 +0000)]
[BZ #3348]
2007-02-17 Ulrich Drepper <drepper@redhat.com>
[BZ #3348]
* malloc/memusage.sh: Cleanups.
* debug/xtrace.sh: Quoting and trap changes.
* locale/iso-3166.def: Add Jersey, Guernsey, and Isle Of Man entries.
Ulrich Drepper [Sat, 17 Feb 2007 08:08:19 +0000 (08:08 +0000)]
* locale/iso-3166.def: Update entry for Serbia.
Ulrich Drepper [Sat, 17 Feb 2007 08:03:11 +0000 (08:03 +0000)]
* locale/iso-4217.def: Define RSD, remove CSD.
Ulrich Drepper [Sat, 17 Feb 2007 07:56:58 +0000 (07:56 +0000)]
[BZ #3322]
* SUPPORTED (SUPPORTED-LOCALES): Add sr_RS and sr_RS@latin.
* locales/sr_RS: New file.
* locales/sr_RS@latin: New file.
Ulrich Drepper [Sat, 17 Feb 2007 07:26:50 +0000 (07:26 +0000)]
[BZ #4040]
* sysdeps/x86_64/bits/atomic.h: One more change, this time for 16-
and 64-bit operations.
[BZ #4040]
* sysdeps/i386/i486/bits/atomic.h: One more change, this time for
16-bit operations.
Ulrich Drepper [Sat, 17 Feb 2007 07:15:36 +0000 (07:15 +0000)]
[BZ #3885]
2007-02-16 Ulrich Drepper <drepper@redhat.com>
[BZ #3885]
* locales/i18n: Updates for Unicode 5.0.
* charmaps/UTF-8: Likewise.
Patch by Pablo Saratxaga <pablo@walon.org>
* locales/sl_SI: Slovenia joined the Euro zone.
Ulrich Drepper [Sat, 17 Feb 2007 06:52:02 +0000 (06:52 +0000)]
[BZ #3884]
2007-01-12 Gwenole Beauchesne <gbeauchesne@mandriva.com>
[BZ #3884]
* localedata/locales/sl_SI: Slovenia joined the Euro zone.
Fix negative number format.
Ulrich Drepper [Sat, 17 Feb 2007 06:47:13 +0000 (06:47 +0000)]
[BZ #3851]
2007-02-16 Ulrich Drepper <drepper@redhat.com>
[BZ #3851]
* locales/bn_BD: Fix full name of January and February.
Patch by Jamil Ahmed <jamil@bengalinux.org>.
Ulrich Drepper [Fri, 16 Feb 2007 19:15:07 +0000 (19:15 +0000)]
* nscd/nscd.c (parse_opt): One more conversion to use send instead
of writev.
Ulrich Drepper [Fri, 16 Feb 2007 07:58:29 +0000 (07:58 +0000)]
[BZ #3991]
* assert/assert.h (assert): Simplify.
(assert_perror): Likewise.
Patch by Israel G. Lugo <ilugo@bridonsecurity.com>.
Ulrich Drepper [Fri, 16 Feb 2007 06:34:26 +0000 (06:34 +0000)]
* nscd/nscd_helper.c (open_socket): Don't send padding bytes from
reqdata.
Ulrich Drepper [Fri, 16 Feb 2007 06:22:14 +0000 (06:22 +0000)]
* sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Cosmetic
change: don't pass NULL in place of an integer.
Ulrich Drepper [Fri, 16 Feb 2007 01:25:28 +0000 (01:25 +0000)]
[BZ #3954]
* iconvdata/ksc5601.c (__ksc5601_sym_to_ucs, __ksc5601_sym_from_ucs):
Add mapping for U+327E.
* iconvdata/ksc5601.h (KSC5601_SYMBOL): Increment.
* iconvdata/johab.c (BODY for FROM_LOOP, BODY for TO_LOOP): Enable
mapping of 0xD9 0xE8.
* iconvdata/uhc.c (BODY for FROM_LOOP, BODY for TO_LOOP): Disable
mapping of U+327E.
Reported by Jungshik Shin <jungshik@google.com>.
[BZ #3955]
Ulrich Drepper [Fri, 16 Feb 2007 01:04:59 +0000 (01:04 +0000)]
* iconvdata/johab.c (BODY for FROM_LOOP, BODY for TO_LOOP): Enable
mapping of 0xD9 0xE6 and of 0xD9 0xE7.
Reported by Jungshik Shin <jungshik@google.com>.
Ulrich Drepper [Thu, 15 Feb 2007 06:25:55 +0000 (06:25 +0000)]
[BZ #4040]
2007-02-14 Ulrich Drepper <drepper@redhat.com>
* sysdeps/x86_64/bits/atomic;h: Fix asm parameters for some
byte variants.
[BZ #4040]
* sysdeps/i386/i486/bits/atomic.h: Fix asm parameters for some
byte variants. Patch mostly be tom@tommay.net.
Ulrich Drepper [Wed, 14 Feb 2007 19:52:38 +0000 (19:52 +0000)]
[BZ #3996]
2007-02-14 Jakub Jelinek <jakub@redhat.com>
[BZ #3996]
* posix/glob.c (attribute_hidden): Define if not defined.
(glob): Unescape dirname, filename or username when needed and not
GLOB_NOESCAPE. Handle \/ correctly. Handle GLOB_MARK if filename
is NULL. Handle unescaped [ in pattern without closing ].
Don't pass GLOB_CHECK down to recursive glob for directories.
(__glob_pattern_type): New function.
(__glob_pattern_p): Implement using __glob_pattern_type.
(glob_in_dir): Handle GLOB_NOCHECK patterns containing no meta
characters and backslashes if not GLOB_NOESCAPE or unterminated [.
Remove unreachable code.
* posix/globtest.sh: Add a couple of new tests.
Ulrich Drepper [Tue, 13 Feb 2007 15:19:49 +0000 (15:19 +0000)]
* po/ru.po: Update from translation team.
Ulrich Drepper [Tue, 13 Feb 2007 15:18:42 +0000 (15:18 +0000)]
Update from translation team.
Jakub Jelinek [Mon, 12 Feb 2007 21:21:03 +0000 (21:21 +0000)]
* sysdeps/i386/bits/byteswap.h (__bswap_32): Add __amdfam10__
to the list of i486+ CPUs.
* sysdeps/x86_64/bits/byteswap.h (__bswap_32): Likewise.
2007-02-12 Jakub Jelinek <jakub@redhat.com>
* sysdeps/i386/bits/byteswap.h (__bswap_32): Add __amdfam10__
to the list of i486+ CPUs.
* sysdeps/x86_64/bits/byteswap.h (__bswap_32): Likewise.
Ulrich Drepper [Mon, 12 Feb 2007 15:17:30 +0000 (15:17 +0000)]
* elf/rtld.c (RESOLVE_MAP): Always return bootstrap_map reference.
* elf/Makefile ($(objpfx)ld.so): Check that ld.so has no undefined
references.
Ulrich Drepper [Sat, 10 Feb 2007 00:10:39 +0000 (00:10 +0000)]
* sysdeps/unix/sysv/linux/x86_64/sysdep.h: Remove incorrect comment.
Ulrich Drepper [Fri, 9 Feb 2007 23:46:29 +0000 (23:46 +0000)]
* resolv/res_init.c (res_setoptions): Recognize edns0 option.
* resolv/res_mkquery.c: Define __res_nopt.
* resolv/res_query.c (__libc_res_nquery): If RES_USE_EDNS0 is set
try adding EDNS0 record.
* resolv/res_send.c (send_dg): If request failed with FORMERR and
EDNS0 record was send make sure we don't try it again.
* resolv/resolv.h: Define RES_F_EDNS0ERR and RES_USE_EDNS0.
* include/resolv.h: Declare __res_nopt.
Ulrich Drepper [Fri, 9 Feb 2007 01:33:57 +0000 (01:33 +0000)]
[BZ #3944]
2007-02-08 Jakub Jelinek <jakub@redhat.com>
[BZ #3944]
* time/strptime_l.c (__strptime_internal): Set have_mon for
%b/%B/%h. Set have_mon and have_mday if tm_mon and tm_mday
have been computed from tm_yday and tm_year. Don't crash
in day_of_the_week or day_of_the_year if not have_mon
and tm_mon contains bogus value.
* time/Makefile (tests): Add tst-strptime3.
* time/tst-strptime3.c: New test.
Ulrich Drepper [Mon, 5 Feb 2007 15:23:55 +0000 (15:23 +0000)]
[BZ #3957]
2007-02-05 Jakub Jelinek <jakub@redhat.com>
[BZ #3957]
* posix/regcomp.c (parse_bracket_exp): Set '\n' bit rather than '\0'
bit for RE_HAT_LISTS_NOT_NEWLINE.
(build_charclass_op): Remove bogus comment.
* posix/Makefile (tests): Add bug-regex27 and bug-regex28.
* posix/bug-regex27.c: New test.
* posix/bug-regex28.c: New test.
Ulrich Drepper [Sat, 3 Feb 2007 23:30:16 +0000 (23:30 +0000)]
* po/sv.po: Update from translation team.
Ulrich Drepper [Fri, 2 Feb 2007 15:53:48 +0000 (15:53 +0000)]
* nscd/nscd_helper.c (open_socket): Minor size optimization.
Ulrich Drepper [Fri, 2 Feb 2007 15:37:16 +0000 (15:37 +0000)]
* include/locale.h (__uselocale): Add libc_hidden_proto.
* locale/uselocale.c (__uselocale): Add libc_hidden_def.
2007-02-02 Jakub Jelinek <jakub@redhat.com>
Ulrich Drepper [Fri, 2 Feb 2007 15:29:40 +0000 (15:29 +0000)]
(__uselocale): Add libc_hidden_proto.
Jakub Jelinek [Fri, 2 Feb 2007 14:57:14 +0000 (14:57 +0000)]
* nscd/nscd_helper.c (open_socket): Use __gettimeofday instead of
gettimeofday.
2007-02-02 Jakub Jelinek <jakub@redhat.com>
* nscd/nscd_helper.c (open_socket): Use __gettimeofday instead of
gettimeofday.
Ulrich Drepper [Thu, 1 Feb 2007 16:14:15 +0000 (16:14 +0000)]
* sysdeps/unix/sysv/linux/i386/sysdep.h (PTR_MANGLE): Roll value before
returning.
(PTR_DEMANGLE): Real definition now that it's not the same as
PRT_MANGLE anymore.
* sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
* string/strerror_l.c: New file.
* string/Makefile (routines): Add strerror_l.
* string/string.h: Declare strerror_l.
* string/Versions: Export strerror_l for GLIBC_2.6.
* nscd/connections.c (nscd_run): Don't define MAXKEYLEN here.
Ulrich Drepper [Wed, 31 Jan 2007 23:24:54 +0000 (23:24 +0000)]
* nscd/nscd_helper.c (open_socket): Now takes request type and key
as parameter. Construct request record. Try sending request
before the first poll use, it usually succeeds. Adjust all
callers.
* nscd/nscd-client.h: Define MAXKEYLEN.
Ulrich Drepper [Wed, 31 Jan 2007 23:16:14 +0000 (23:16 +0000)]
Define MAXKEYLEN.
Jakub Jelinek [Wed, 31 Jan 2007 10:45:15 +0000 (10:45 +0000)]
Do recend check before realigning on strict alignment arches, as otherwise it was comparing a stack address + offset with a mmap address.
Jakub Jelinek [Wed, 31 Jan 2007 09:14:21 +0000 (09:14 +0000)]
* nscd/nscd-client.h (__nscd_cache_search): Remove const qualifier
from return value.
* nscd/nscd_helper.c: Include string.h.
(__nscd_cache_search): Remove const qualifier from return value.
On strict alignment architectures check hash entry and data head
alignment.
* nscd/nscd_getpw_r.c (nscd_getpw_r): Don't crash or fail because
mmapped data during GC cycle contains garbage. If
__nscd_drop_map_ref fails, decrement mapped->counter when returning
error or if retrying with NO_MAPPING, only __nscd_unmap if counter
dropped to 0.
* nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
* nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
* nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
* nscd/nscd_getai.c (__nscd_getai): Likewise.
* nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
2007-01-31 Jakub Jelinek <jakub@redhat.com>
* nscd/nscd-client.h (__nscd_cache_search): Remove const qualifier
from return value.
* nscd/nscd_helper.c: Include string.h.
(__nscd_cache_search): Remove const qualifier from return value.
On strict alignment architectures check hash entry and data head
alignment.
* nscd/nscd_getpw_r.c (nscd_getpw_r): Don't crash or fail because
mmapped data during GC cycle contains garbage. If
__nscd_drop_map_ref fails, decrement mapped->counter when returning
error or if retrying with NO_MAPPING, only __nscd_unmap if counter
dropped to 0.
* nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
* nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
* nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
* nscd/nscd_getai.c (__nscd_getai): Likewise.
* nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
Ulrich Drepper [Wed, 31 Jan 2007 03:18:03 +0000 (03:18 +0000)]
* misc/hsearch_r.c (hdestroy_r): Remove unnecessary test.
Ulrich Drepper [Fri, 26 Jan 2007 20:05:16 +0000 (20:05 +0000)]
* sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Use register
names not numbers in cfi_*.
ADDR_LIMIT_3GB, PER_LINUX_32BIT, PER_LINUX32_3GB): Add.
Ulrich Drepper [Fri, 26 Jan 2007 15:26:05 +0000 (15:26 +0000)]
No need for FDPIC_FUNCPTRS.
Andreas Jaeger [Fri, 26 Jan 2007 08:32:47 +0000 (08:32 +0000)]
* sysdeps/unix/sysv/linux/sys/personality.h (ADDR_NO_RANDOMIZE,
FDPIC_FUNCPTRS, ADDR_LIMIT_3GB, PER_LINUX_32BIT, PER_LINUX32_3GB):
Add.
Correct values of PER_HPUX and PER_OSF4.
2007-01-26 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/sys/personality.h (ADDR_NO_RANDOMIZE,
FDPIC_FUNCPTRS, ADDR_LIMIT_3GB, PER_LINUX_32BIT, PER_LINUX32_3GB):
Add.
Correct values of PER_HPUX and PER_OSF4.