| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
|
| |
* locale/uselocale.c (__uselocale): Add libc_hidden_def.
2007-02-02 Jakub Jelinek <jakub@redhat.com>
|
| |
|
|
|
|
|
|
|
|
| |
gettimeofday.
2007-02-02 Jakub Jelinek <jakub@redhat.com>
* nscd/nscd_helper.c (open_socket): Use __gettimeofday instead of
gettimeofday.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
it was comparing a stack address + offset with a mmap address.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
names not numbers in cfi_*.
ADDR_LIMIT_3GB, PER_LINUX_32BIT, PER_LINUX32_3GB): Add.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
* malloc/mtrace.c: Revert last change.
* posix/wordexp.c: Likewise.
|
|
|
|
|
| |
and __geode__ to the list of i486+ CPUs.
* sysdeps/x86_64/bits/byteswap.h (__bswap_32): Likewise.
|
|
|
|
| |
* stdio-common/_itowa.c: Likewise.
|
|
|
|
|
|
|
|
|
|
| |
platforms.
* stdio-common/_itoa.c: Don't compile in _itoa and _fitoa for
64-bit platforms.
* malloc/mtrace.c (tr_where): Use _fitoa_word instead of _fitoa if
possible.
* posix/wordexp.c (parse_arith): Use _itoa_word instead of _itoa
if possible.
|
|
|
|
|
|
|
|
| |
2007-01-22 Ulrich Drepper <drepper@redhat.com>
[BZ #3902]
* stdio-common/_itoa.c (_itoa): Make sure at least a zero is emitted.
* stdio-common/Makefile (tests): Add bug17.
* stdio-common/bug17.c: New file.
|
|
|
|
|
| |
* iconvdata/testdata/BRF..UTF8: New file.
Contributed by Samuel Thibault <samuel.thibault@ens-lyon.org>.
|
|
|
|
|
|
|
|
|
| |
* iconvdata/Makefile: Add rules to build BRF.
* iconvdata/TESTS: Add BRF entry.
* iconvdata/gconv-modules: Likewise.
* iconvdata/tst-tables.sh: Likewise.
* iconvdata/testdata/BRF: New file.
* iconvdata/testdata/BRF..UTF8: New file.
|
|
|
|
|
| |
type `long long int', not `long int'.
(wcstoq): Likewise.
|
|
|
|
| |
outside of libc, so undefined _LIBC.
|
|
|
|
| |
of values on 64-bit platforms which are too large.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Include
<math_ldbl_opt.h>. Remove weak_alias. Use long_double_symbol macro.
(__copysignl): Use signbit() for comparison.
* sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Correct parms for
SET_LDOUBLE_WORDS64.
[BZ #2423, #2749]
* sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Don't include <fenv_libc.h>.
(__ceill): Remove calls to fegetround(), fesetround().
* sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
* sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
* sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
2007-01-12 Steven Munroe <sjmunroe@us.ibm.com>
Joe Kerian <jkerian@us.us.ibm.com>
[BZ #2749]
* sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Include
<math_ldbl_opt.h>. Remove weak_alias. Use long_double_symbol macro.
(__copysignl): Use signbit() for comparison.
* sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Correct parms for
SET_LDOUBLE_WORDS64.
[BZ #2423, #2749]
* sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Don't include <fenv_libc.h>.
(__ceill): Remove calls to fegetround(), fesetround().
* sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
* sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
* sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
|
|
|
|
| |
* nscd/nscd_getserv_r.c (nscd_getserv_r): Fix pastos.
|
|
|
|
|
|
| |
2007-01-17 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/getdents.c (offsetof): Remove.
|
|
|
|
|
| |
demangle pointer.
* csu/libc-start.c: Likewise.
|
|
|
|
|
|
|
|
|
|
|
|
| |
function table, mangle the pointers.
* sysdeps/pthread/pthread-functions.h: Define PTHFCT_CALL.
* forward.c: Use PTHFCT_CALL and __libc_pthread_functions_init.
* sysdeps/pthread/bits/libc-lock.h: When using __libc_pthread_functions
demangle pointers before use.
* sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Use PTHFCT_CALL to
demangle pointer.
* sysdeps/unix/sysv/linux/jmp-unwind.c: Likewise.
* sysdeps/pthread/setxid.h: Likewise.
|
|
|
|
| |
really work anyway.
|
|
|
|
|
| |
users.
(handle_request): Remove unnecessary tests.
|
|
|
|
|
|
| |
2007-01-15 Ulrich Drepper <drepper@redhat.com>
* nscd/cache.c (cache_add): Record the failure to add to the cache.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* soft-fp/op-common.h (FP_TRUNC): When truncating a NaN, clear
workbits in semi-raw fraction.
* math/test-misc.c: Add new tests.
* math/basic-test.c: Include test-skeleton.c.
(TEST_TRUNC): Define.
(truncdfsf_test, trunctfsf_test, trunctfdf_test): New.
(main): Rename to ...
(do_test): ...this. Run new tests.
(TEST_FUNCTION): Define.
[BZ #2749]
* soft-fp/op-4.h (__FP_FRAC_SUB_3, __FP_FRAC_SUB_4): Correct borrow
handling for high words.
* soft-fp/op-common.h (_FP_OVERFLOW_SEMIRAW): Always set inexact
and overflow for infinity.
2007-01-15 Jakub Jelinek <jakub@redhat.com>
* soft-fp/op-common.h (FP_TRUNC): When truncating a NaN, clear
workbits in semi-raw fraction.
* math/test-misc.c: Add new tests.
2007-01-14 Steven Munroe <sjmunroe@us.ibm.com>
* math/basic-test.c: Include test-skeleton.c.
(TEST_TRUNC): Define.
(truncdfsf_test, trunctfsf_test, trunctfdf_test): New.
(main): Rename to ...
(do_test): ...this. Run new tests.
(TEST_FUNCTION): Define.
2006-10-05 Steven Munroe <sjmunroe@us.ibm.com>
Joe Kerian <jkerian@us.us.ibm.com>
[BZ #2749]
* soft-fp/op-4.h (__FP_FRAC_SUB_3, __FP_FRAC_SUB_4): Correct borrow
handling for high words.
* soft-fp/op-common.h (_FP_OVERFLOW_SEMIRAW): Always set inexact
and overflow for infinity.
|
| |
|
|
|
|
|
|
| |
also says whether this is a request for data. Renamed to
servinfo. All users changed.
(handle_request): Much simpler test whether we should search the cache.
|
|
|
|
| |
invocation.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* elf/dl-lookup.c (add_dependency): If scope map is locked, unlock
it before getting dl_load_lock and then relock.
(_dl_lookup_symbol_x): Pass flags to add_dependency.
When rerunning _dl_lookup_symbol_x, compute symbol_scope again in
case we unlocked the scope.
* elf/dl-runtime.c (_dl_fixup): Pass DL_LOOKUP_SCOPE_LOCK to
_dl_lookup_symbol_x in case we locked the scope.
(_dl_profile_fixup): Likewise.
* elf/dl-sym.c (do_sym): In flags passed to call_dl_lookup, also
set DL_LOOKUP_SCOPE_LOCK.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
CFLAGS-getsrvbynpt_r.c.
* nscd/getsrvbynm_r.c: New file.
* nscd/getsrvbypt_r.c: New file.
* nscd/nscd_getserv_r.c: New file.
* nscd/servicescache.c: New file.
* nscd/Makefile (routines): Add nscd_getserv_r.
(nscd-modules): Add getsrvbynm_r, getsrvbypt_r, and servicescache.
Define CFLAGS-servicescache.c, CFLAGS-getsrvbynm_r.c, and
CFLAGS-getsrvbypt_r.c.
* nscd/cache.c (prune_cache): Rewrite to get re-add function from
table. Add entries for services database.
* nscd/connections.c (serv2str): Mark as const. Add entries for
services database.
(dbs): Add .reset_res and servdb initialization.
(serv2db): Add entries for services database.
(verify_persistent_db): Accept dbnr == servdb.
(invalidate_cache): Rewrite database name recognition to use a table.
Call res_init() if .reset_res is set for database.
(handle_request): Add code to handle services database.
* nscd/gai.c: Don't define __getservbyname_r.
* nscd/nscd-client.h (request_type): Remove LASTDBREQ, add
GETSERVBYNAME, GETSERVBYPORT, GETFDSERV.
(serv_response_header): Define.
(struct datahead): Add serv_response_header member.
* nscd/nscd.c (parse_opt): Rewrite parsing of -i parameter value
using table.
* nscd/nscd.conf: Add entries for services database.
* nscd/nscd.h: Adjust declaration of dbnames and serv2str.
Declare serv_iov_disabled.
Declare addservbyname, readdservbyname, addservbyport, and
readdservbyport.
* nscd/nscd_conf.c (dbnames): Mark as const. Add services entry.
(find_db): Fix error message.
* nscd/nscd_proto.h: Declare __nss_not_use_nscd_services,
__nscd_getservbyname_r, and __nscd_getservbyport_r.
* nscd/selinux.c (perms): Add entries for services database.
* nss/Versions: Export __nss_services_lookup with GLIBC_PRIVATE.
* nss/nsswitch.c (__nss_disable_nscd): Also disable services database.
* nscd/grpcache.c: Remove obsolete code. Cleanups.
* nscd/hstcache.c: Likewise.
* nscd/pwdcache.c: Likewise.
|
|
|
|
| |
computation of keylen.
|
|
|
|
| |
libc code.
|
| |
|
|
|
|
| |
for all non-admin commands.
|