about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* [BZ #3991]Ulrich Drepper2007-02-162-5/+9
| | | | | | * assert/assert.h (assert): Simplify. (assert_perror): Likewise. Patch by Israel G. Lugo <ilugo@bridonsecurity.com>.
* * nscd/nscd_helper.c (open_socket): Don't send padding bytes fromUlrich Drepper2007-02-162-2/+6
| | | | reqdata.
* * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): CosmeticUlrich Drepper2007-02-162-3/+9
| | | | change: don't pass NULL in place of an integer.
* [BZ #3954]Ulrich Drepper2007-02-168-13/+34
| | | | | | | | | | | | | * 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]
* * iconvdata/johab.c (BODY for FROM_LOOP, BODY for TO_LOOP): EnableUlrich Drepper2007-02-164-3/+16
| | | | | mapping of 0xD9 0xE6 and of 0xD9 0xE7. Reported by Jungshik Shin <jungshik@google.com>.
* [BZ #4040]Ulrich Drepper2007-02-153-20/+29
| | | | | | | | | | 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.
* [BZ #3996]Ulrich Drepper2007-02-143-117/+346
| | | | | | | | | | | | | | | | 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.
* * po/ru.po: Update from translation team.Ulrich Drepper2007-02-131-0/+4
|
* Update from translation team.Ulrich Drepper2007-02-131-3612/+4124
|
* * sysdeps/i386/bits/byteswap.h (__bswap_32): Add __amdfam10__ Jakub Jelinek2007-02-123-2/+9
| | | | | | | | | | 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.
* * elf/rtld.c (RESOLVE_MAP): Always return bootstrap_map reference.Ulrich Drepper2007-02-123-5/+13
| | | | | * elf/Makefile ($(objpfx)ld.so): Check that ld.so has no undefined references.
* * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Remove incorrect comment. cvs/fedora-glibc-20070211T1607Ulrich Drepper2007-02-104-2/+9
|
* * resolv/res_init.c (res_setoptions): Recognize edns0 option.Ulrich Drepper2007-02-097-7/+104
| | | | | | | | | | * 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.
* [BZ #3944]Ulrich Drepper2007-02-094-5/+77
| | | | | | | | | | | | 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.
* [BZ #3957]Ulrich Drepper2007-02-055-7/+153
| | | | | | | | | | | 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.
* * po/sv.po: Update from translation team.Ulrich Drepper2007-02-032-37/+41
|
* * nscd/nscd_helper.c (open_socket): Minor size optimization.Ulrich Drepper2007-02-022-10/+12
|
* * include/locale.h (__uselocale): Add libc_hidden_proto.Ulrich Drepper2007-02-022-1/+7
| | | | | | * locale/uselocale.c (__uselocale): Add libc_hidden_def. 2007-02-02 Jakub Jelinek <jakub@redhat.com>
* (__uselocale): Add libc_hidden_proto.Ulrich Drepper2007-02-021-0/+1
|
* * nscd/nscd_helper.c (open_socket): Use __gettimeofday instead of Jakub Jelinek2007-02-022-2/+7
| | | | | | | | gettimeofday. 2007-02-02 Jakub Jelinek <jakub@redhat.com> * nscd/nscd_helper.c (open_socket): Use __gettimeofday instead of gettimeofday.
* * sysdeps/unix/sysv/linux/i386/sysdep.h (PTR_MANGLE): Roll value before cvs/fedora-glibc-20070202T0923Ulrich Drepper2007-02-019-18/+134
| | | | | | | | | | | | | | 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.
* * nscd/nscd_helper.c (open_socket): Now takes request type and keyUlrich Drepper2007-01-312-52/+80
| | | | | | | 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.
* Define MAXKEYLEN.Ulrich Drepper2007-01-311-0/+3
|
* Do recend check before realigning on strict alignment arches, as otherwise ↵Jakub Jelinek2007-01-311-4/+4
| | | | it was comparing a stack address + offset with a mmap address.
* * nscd/nscd-client.h (__nscd_cache_search): Remove const qualifier Jakub Jelinek2007-01-319-245/+387
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* * misc/hsearch_r.c (hdestroy_r): Remove unnecessary test.Ulrich Drepper2007-01-312-4/+7
|
* * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Use registerUlrich Drepper2007-01-262-11/+15
| | | | | | names not numbers in cfi_*. ADDR_LIMIT_3GB, PER_LINUX_32BIT, PER_LINUX32_3GB): Add.
* No need for FDPIC_FUNCPTRS.Ulrich Drepper2007-01-261-1/+0
|
* * sysdeps/unix/sysv/linux/sys/personality.h (ADDR_NO_RANDOMIZE, Andreas Jaeger2007-01-262-4/+15
| | | | | | | | | | | | 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.
* * elf/dl-minimal.c: Undefine _itoa first.Ulrich Drepper2007-01-252-1/+3
|
* * stdio-common/_itoa.h: Define _itoa and _fitoa for 64-bit platforms.Ulrich Drepper2007-01-254-27/+30
| | | | | * malloc/mtrace.c: Revert last change. * posix/wordexp.c: Likewise.
* * sysdeps/i386/bits/byteswap.h (__bswap_32): Add __nocona__, __core2__Ulrich Drepper2007-01-253-4/+14
| | | | | and __geode__ to the list of i486+ CPUs. * sysdeps/x86_64/bits/byteswap.h (__bswap_32): Likewise.
* * stdio-common/_itoa.c: Include <limits.h>.Ulrich Drepper2007-01-233-0/+7
| | | | * stdio-common/_itowa.c: Likewise.
* * stdio-common/_itowa.c: Don't compile _itowa for 64-bitUlrich Drepper2007-01-225-54/+84
| | | | | | | | | | 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.
* [BZ #3902]Ulrich Drepper2007-01-224-3/+44
| | | | | | | | 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: New file.Ulrich Drepper2007-01-202-2/+8
| | | | | * iconvdata/testdata/BRF..UTF8: New file. Contributed by Samuel Thibault <samuel.thibault@ens-lyon.org>.
* * iconvdata/brf.c: New file.Ulrich Drepper2007-01-209-7/+175
| | | | | | | | | * 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.
* * wcsmbs/wchar.h (wcstoll): Fix comment, function returns value ofUlrich Drepper2007-01-192-3/+9
| | | | | type `long long int', not `long int'. (wcstoq): Likewise.
* * tst-initializers1.c: We want to test the initializers as seenUlrich Drepper2007-01-192-1/+7
| | | | outside of libc, so undefined _LIBC.
* * scripts/gen-as-const.awk: Add cast to long to avoid int promotionUlrich Drepper2007-01-192-1/+6
| | | | of values on 64-bit platforms which are too large.
* * pthread_join.c (cleanup): Avoid warning.Ulrich Drepper2007-01-181-0/+4
|
* (cleanup): Avoid warning.Ulrich Drepper2007-01-181-2/+2
|
* [BZ #2749] Jakub Jelinek2007-01-177-34/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.Jakub Jelinek2007-01-172-2/+4
| | | | * nscd/nscd_getserv_r.c (nscd_getserv_r): Fix pastos.
* * sysdeps/unix/sysv/linux/getdents.c (offsetof): Remove.Jakub Jelinek2007-01-172-3/+6
| | | | | | 2007-01-17 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/getdents.c (offsetof): Remove.
* * sysdeps/unix/sysv/linux/fatal-prepare.h: Use PTHFCT_CALL to cvs/fedora-glibc-20070117T1043 cvs/fedora-glibc-20070117T0857Ulrich Drepper2007-01-173-1/+23
| | | | | demangle pointer. * csu/libc-start.c: Likewise.
* * sysdeps/unix/sysv/linux/libc_pthread_init.c: Don't just copy theUlrich Drepper2007-01-1710-48/+93
| | | | | | | | | | | | 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.
* * sysdeps/posix/system.c: Remove NO_WAITPID support, it cannotUlrich Drepper2007-01-172-17/+6
| | | | really work anyway.
* * nscd/connections.c (servinfo): Renamed to reqinfo. Change allUlrich Drepper2007-01-162-12/+11
| | | | | users. (handle_request): Remove unnecessary tests.
* ..Ulrich Drepper2007-01-161-0/+4
| | | | | | 2007-01-15 Ulrich Drepper <drepper@redhat.com> * nscd/cache.c (cache_add): Record the failure to add to the cache.