summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-02-10* sysdeps/unix/sysv/linux/x86_64/sysdep.h: Remove incorrect comment.cvs/fedora-glibc-20070211T1607Ulrich Drepper
2007-02-09* resolv/res_init.c (res_setoptions): Recognize edns0 option.Ulrich Drepper
* 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-09[BZ #3944]Ulrich Drepper
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[BZ #3957]Ulrich Drepper
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.
2007-02-03* po/sv.po: Update from translation team.Ulrich Drepper
2007-02-02* nscd/nscd_helper.c (open_socket): Minor size optimization.Ulrich Drepper
2007-02-02* include/locale.h (__uselocale): Add libc_hidden_proto.Ulrich Drepper
* locale/uselocale.c (__uselocale): Add libc_hidden_def. 2007-02-02 Jakub Jelinek <jakub@redhat.com>
2007-02-02(__uselocale): Add libc_hidden_proto.Ulrich Drepper
2007-02-02* nscd/nscd_helper.c (open_socket): Use __gettimeofday instead of Jakub Jelinek
gettimeofday. 2007-02-02 Jakub Jelinek <jakub@redhat.com> * nscd/nscd_helper.c (open_socket): Use __gettimeofday instead of gettimeofday.
2007-02-01* sysdeps/unix/sysv/linux/i386/sysdep.h (PTR_MANGLE): Roll value beforecvs/fedora-glibc-20070202T0923Ulrich Drepper
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.
2007-01-31* nscd/nscd_helper.c (open_socket): Now takes request type and keyUlrich Drepper
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.
2007-01-31Define MAXKEYLEN.Ulrich Drepper
2007-01-31Do recend check before realigning on strict alignment arches, as otherwise ↵Jakub Jelinek
it was comparing a stack address + offset with a mmap address.
2007-01-31* nscd/nscd-client.h (__nscd_cache_search): Remove const qualifier Jakub Jelinek
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.
2007-01-31* misc/hsearch_r.c (hdestroy_r): Remove unnecessary test.Ulrich Drepper
2007-01-26* sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Use registerUlrich Drepper
names not numbers in cfi_*. ADDR_LIMIT_3GB, PER_LINUX_32BIT, PER_LINUX32_3GB): Add.
2007-01-26No need for FDPIC_FUNCPTRS.Ulrich Drepper
2007-01-26* sysdeps/unix/sysv/linux/sys/personality.h (ADDR_NO_RANDOMIZE, Andreas Jaeger
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.
2007-01-25* elf/dl-minimal.c: Undefine _itoa first.Ulrich Drepper
2007-01-25* stdio-common/_itoa.h: Define _itoa and _fitoa for 64-bit platforms.Ulrich Drepper
* malloc/mtrace.c: Revert last change. * posix/wordexp.c: Likewise.
2007-01-25* sysdeps/i386/bits/byteswap.h (__bswap_32): Add __nocona__, __core2__Ulrich Drepper
and __geode__ to the list of i486+ CPUs. * sysdeps/x86_64/bits/byteswap.h (__bswap_32): Likewise.
2007-01-23* stdio-common/_itoa.c: Include <limits.h>.Ulrich Drepper
* stdio-common/_itowa.c: Likewise.
2007-01-22* stdio-common/_itowa.c: Don't compile _itowa for 64-bitUlrich Drepper
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[BZ #3902]Ulrich Drepper
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.
2007-01-20* iconvdata/testdata/BRF: New file.Ulrich Drepper
* iconvdata/testdata/BRF..UTF8: New file. Contributed by Samuel Thibault <samuel.thibault@ens-lyon.org>.
2007-01-20* iconvdata/brf.c: New file.Ulrich Drepper
* 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.
2007-01-19* wcsmbs/wchar.h (wcstoll): Fix comment, function returns value ofUlrich Drepper
type `long long int', not `long int'. (wcstoq): Likewise.
2007-01-19* tst-initializers1.c: We want to test the initializers as seenUlrich Drepper
outside of libc, so undefined _LIBC.
2007-01-19* scripts/gen-as-const.awk: Add cast to long to avoid int promotionUlrich Drepper
of values on 64-bit platforms which are too large.
2007-01-18* pthread_join.c (cleanup): Avoid warning.Ulrich Drepper
2007-01-18(cleanup): Avoid warning.Ulrich Drepper
2007-01-17[BZ #2749] Jakub Jelinek
* 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.
2007-01-17* nscd/nscd_getserv_r.c (nscd_getserv_r): Fix pastos.Jakub Jelinek
* nscd/nscd_getserv_r.c (nscd_getserv_r): Fix pastos.
2007-01-17* sysdeps/unix/sysv/linux/getdents.c (offsetof): Remove.Jakub Jelinek
2007-01-17 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/getdents.c (offsetof): Remove.
2007-01-17* sysdeps/unix/sysv/linux/fatal-prepare.h: Use PTHFCT_CALL tocvs/fedora-glibc-20070117T1043cvs/fedora-glibc-20070117T0857Ulrich Drepper
demangle pointer. * csu/libc-start.c: Likewise.
2007-01-17* sysdeps/unix/sysv/linux/libc_pthread_init.c: Don't just copy theUlrich Drepper
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.
2007-01-17* sysdeps/posix/system.c: Remove NO_WAITPID support, it cannotUlrich Drepper
really work anyway.
2007-01-16* nscd/connections.c (servinfo): Renamed to reqinfo. Change allUlrich Drepper
users. (handle_request): Remove unnecessary tests.
2007-01-16..Ulrich Drepper
2007-01-15 Ulrich Drepper <drepper@redhat.com> * nscd/cache.c (cache_add): Record the failure to add to the cache.
2007-01-16(cache_add): Record the failure to add to the cache.Ulrich Drepper
2007-01-15[BZ #2749]Jakub Jelinek
* 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.
2007-01-15* nscd/connections.c (handle_request): Add a __builtin_expect.Ulrich Drepper
2007-01-15* nscd/connections.c (serv2db): Change type into structure whichUlrich Drepper
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.
2007-01-15* nscd/connections.c (handle_request): Fix thinko in selinux testUlrich Drepper
invocation.
2007-01-15* sysdeps/generic/ldsodefs.h: Define DL_LOOKUP_SCOPE_LOCK.Ulrich Drepper
* 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.
2007-01-14* inet/Makefile: Define CFLAGS-getsrvbynm_r.c andUlrich Drepper
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.
2007-01-14* nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): CorrectUlrich Drepper
computation of keylen.
2007-01-13* include/string.h: Only redefine strndupa if this is really forUlrich Drepper
libc code.
2007-01-13* nscd/nscd_gethst_r.c: Minor cleanups.Ulrich Drepper
2007-01-13* nscd/connections.c (handle_request): Check selinux permissionsUlrich Drepper
for all non-admin commands.