aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-02-16* iconvdata/johab.c (BODY for FROM_LOOP, BODY for TO_LOOP): EnableUlrich Drepper
mapping of 0xD9 0xE6 and of 0xD9 0xE7. Reported by Jungshik Shin <jungshik@google.com>.
2007-02-15[BZ #4040]Ulrich Drepper
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.
2007-02-14[BZ #3996]Ulrich Drepper
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.
2007-02-13* po/ru.po: Update from translation team.Ulrich Drepper
2007-02-13Update from translation team.Ulrich Drepper
2007-02-12* sysdeps/i386/bits/byteswap.h (__bswap_32): Add __amdfam10__ Jakub Jelinek
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.
2007-02-12* elf/rtld.c (RESOLVE_MAP): Always return bootstrap_map reference.Ulrich Drepper
* elf/Makefile ($(objpfx)ld.so): Check that ld.so has no undefined references.
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.