aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-07-122007-02-09 Jakub Jelinek <jakub@redhat.com>Jakub Jelinek
* sysdeps/unix/sysv/linux/x86_64/lowlevellock.S (__lll_mutex_timedlock_wait): Use correct pointer when we don't call into the kernel to delay.
2007-07-122007-02-08 Jakub Jelinek <jakub@redhat.com>Jakub Jelinek
[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-07-122007-02-05 Jakub Jelinek <jakub@redhat.com>Jakub Jelinek
[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-07-122007-02-02 Bruno Haible <bruno@clisp.org>Jakub Jelinek
[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] * 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>. 2007-02-02 Bruno Haible <bruno@clisp.org> * charmaps/EUC-KR: Add mapping for 0xA2 0xE8. * charmaps/JOHAB: Add mapping for 0xD9 0xE8. Reported by Jungshik Shin <jungshik@google.com>. * charmaps/JOHAB: Add mappings for 0xD9 0xE6 and 0xD9 0xE7. Reported by Jungshik Shin <jungshik@google.com>.
2007-07-122007-01-31 Jakub Jelinek <jakub@redhat.com>Jakub Jelinek
* 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.
2007-07-122007-01-22 Ulrich Drepper <drepper@redhat.com>Jakub Jelinek
[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-07-122007-01-15 Jakub Jelinek <jakub@redhat.com>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. 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-07-12/tmp/TJakub Jelinek
2007-07-12/tmp/TJakub Jelinek
2007-07-12/tmp/TJakub Jelinek
2007-07-102006-12-19 Jakub Jelinek <jakub@redhat.com>Jakub Jelinek
* stdlib/Makefile (tests): Add tst-makecontext. * stdlib/tst-makecontext.c: New test. * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S (__makecontext): Don't realign uc_mcontext.uc_regs. 2006-12-13 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Include kernel-features.h.
2007-01-12 * stdlib/tst-makecontext.c: Include errno.h. Change main()Jakub Jelinek
to do_test(). Define TEST_FUNCTION. Include test-skeleton.c. (do_test): Check errno and exit(0) if ENOSYS.
2007-01-12 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix handling of multi-byteJakub Jelinek
thousands separators. * stdlib/Makefile: Add rules to build and run tst-strtod4. * stdlib/tst-strtod4.c: New test. [BZ #3855] * stdlib/strtod_l.c (____STRTOF_INTERNAL): 0x. not followed by hexadecimal digit should accept just the initial 0. * stdlib/tst-strtod2.c (tests): New variable. (do_test): Run several tests rather than just one.
2007-01-12 * shlib-versions: Fix sparc64 linux target specification.Jakub Jelinek
2007-01-12 * stdlib/Makefile (tst-strtod3-ENV): Define.Jakub Jelinek
* stdlib/strtod_l.c (____STRTOF_INTERNAL): Parse thousand separators also if no non-zero digits found. * stdlib/Makefile (tests): Add tst-strtod3. [BZ #3664] * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix test to recognize empty parsed strings. * stdlib/Makefile (tests): Add tst-strtod2. * stdlib/tst-strtod2.c: New file. [BZ #3673] * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix exp_limit computation. * stdlib/Makefile (tests): Add tst-atof2. * stdlib/tst-atof2.c: New file. [BZ #3674] * stdlib/strtod_l.c (____STRTOF_INTERNAL): Adjust exponent value correctly if removing trailing zero of hex-float. * stdlib/Makefile (tests): Add tst-atof1. * stdlib/tst-atof1.c: New file.
2007-01-12 * string/Makefile (tst-strxfrm2-ENV): Define.Jakub Jelinek
* string/strxfrm_l.c (STRXFRM): Fix trailing \1 optimization if N is one bigger than return value. * string/tst-strxfrm2.c (do_test): Also test strxfrm with l1 + 1 and l1 last arguments, if buf is defined, verify the return value equals to strlen (buf) and verify no byte beyond passed length is modified. * string/Makefile (tests): Add tst-strxfrm2. * string/tst-strxfrm2.c: New file. * string/strxfrm_l.c (STRXFRM): Do the trailing \1 removal optimization even if needed > n.
2007-01-12 * nis/nss_compat/compat-grp.c (internal_getgrgid_r): Don'tJakub Jelinek
blacklist the group till after we look it up.
2007-01-12 * include/atomic.h (atomic_forced_read): New macro.Jakub Jelinek
* sysdeps/unix/sysv/linux/pthread_kill.c (pthread_kill): Make sure tid isn't reread from pd->tid in between ESRCH test and the syscall.
2007-01-12 * stdlib/Makefile (tests): Add tst-makecontext.Jakub Jelinek
* stdlib/tst-makecontext.c: New test. * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S (__makecontext): Don't realign uc_mcontext.uc_regs. * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Include kernel-features.h.
2007-01-12 * nss/getXXbyYY_r.c: Include atomic.h.Jakub Jelinek
(INTERNAL (REENTRANT_NAME)): Write startp after start_fct, add atomic_write_barrier () in between.
2007-01-12 [BZ #3747]Jakub Jelinek
* stdlib/jrand48_r.c (__jrand48_r): Make sure result is in the [-231 .. 231) range. * stdlib/tst-rand48.c (main): Fix expected values for 64-bit targets. * stdlib/tst-rand48-2.c: New test. * stdlib/Makefile (tests): Add tst-rand48-2.
2007-01-12 * misc/tst-pselect.c (do_test): Fix sigblock argument.Jakub Jelinek
* misc/tst-pselect.c (do_test): Make sure the helper process is terminating when the test is aborted.
2007-01-12 * sysdeps/unix/sysv/linux/ttyname.c: Include termios.h.Jakub Jelinek
(ttyname): Use tcgetattr instead of isatty, don't set errno to ENOTTY. * sysdeps/unix/sysv/linux/ttyname_r.c: Include termios.h. (__ttyname_r): Use tcgetattr instead of isatty, don't set errno to ENOTTY. * io/Makefile: Add rules to build and run tst-ttyname_r test. * io/tst-ttyname_r.c: New test.
2007-01-12 [BZ #2337]Jakub Jelinek
* libio/Makefile (tests): Add tst-setvbuf1. * libio/tst-setvbuf1.c: New file. [BZ #2337] * libio/genops.c (__uflow): Fix a typo. * libio/wfiledoalloc.c (_IO_wfile_doallocate): Don't stat nor set _IO_LINE_BUF bit here. Size the wide buffer based on the narrow buffer size. [BZ #2337] * libio/libio.h (_IO_FLAGS2_USER_WBUF): Define. * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Test and set _IO_FLAGS2_USER_WBUF bit in _flags2 instead of _IO_USER_BUF bit in _flags. * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf, _IO_wstr_finish): Likewise. * libio/wmemstream.c (open_wmemstream): Likewise. * libio/fileops.c (_IO_new_file_close_it): Call _IO_set[bgp] even for wide streams.
2007-01-12 * misc/mntent_r.c (__hasmntopt): Check p[optlen] even when p == rest.Jakub Jelinek
Start searching for next comma at p rather than rest. * misc/Makefile (tests): Add tst-mntent2. * misc/tst-mntent2.c: New test.
2007-01-12 [BZ #3632]Jakub Jelinek
* include/features.h: Fix comment about default value for _POSIX_C_SOURCE.
2007-01-12 * misc/getusershell.c (initshells): Check for integer overflows.Jakub Jelinek
Make strings buffer one bigger as fgets always succeeds when second argument is 1. Don't use calloc for shells array. Disallow / as shell.
2007-01-12 * nis/nis_subr.c (nis_getnames): Revert last change.Jakub Jelinek
* nis/nis_defaults.c (__nis_default_access): Don't call getenv twice. * nis/nis_subr.c (nis_getnames): Use __secure_getenv instead of getenv. * sysdeps/generic/unsecvars.h: Add NIS_PATH.
2007-01-12 * sysdeps/unix/sysv/linux/ttyname.c: Include termios.h.Jakub Jelinek
(ttyname): Use tcgetattr instead of isatty, don't set errno to ENOTTY. * sysdeps/unix/sysv/linux/ttyname_r.c: Include termios.h. (__ttyname_r): Use tcgetattr instead of isatty, don't set errno to ENOTTY. * io/Makefile: Add rules to build and run tst-ttyname_r test. * io/tst-ttyname_r.c: New test.
2007-01-12 * elf/dl-support.c: Include dl-procinfo.h.Jakub Jelinek
* sysdeps/powerpc/dl-procinfo.h (PPC_PLATFORM_POWER4, PPC_PLATFORM_PPC970, PPC_PLATFORM_POWER5, PPC_PLATFORM_POWER5_PLUS, PPC_PLATFORM_POWER6, PPC_PLATFORM_CELL_BE, PPC_PLATFORM_POWER6X): Define. (_dl_string_platform): Use PPC_PLATFORM_* macros instead of hardcoded constants. * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platform): Use PPC_PLATFORM_* macros for array designators. * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add 3 new cap names to the beginning. (_dl_powerpc_platforms): Add "power6x". * sysdeps/powerpc/dl-procinfo.h (_DL_HWCAP_FIRST): Decrease. (HWCAP_IMPORTANT): Add PPC_FEATURE_HAS_DFP. (_DL_PLATFORMS_COUNT): Increase. (_dl_string_platform): Handle power6x case. * sysdeps/powerpc/sysdep.h (PPC_FEATURE_PA6T, PPC_FEATURE_HAS_DFP, PPC_FEATURE_POWER6_EXT): Define. (PPC_FEATURE_POWER5, PPC_FEATURE_POWER5_PLUS): Correct Comment.
2007-01-12 [BZ #3559]Jakub Jelinek
* sunrpc/svc_run.c (svc_run): Fail instead of segfaulting if malloc crashed.
2007-01-12 * nss/nss_files/files-alias.c (get_next_alias): Set line backJakub Jelinek
to first_unused after parsing :include: file.
2007-01-12 * po/nl.po: Update from translation team.Jakub Jelinek
* po/sv.po: Update from translation team. * po/sv.po: Update from translation team. * po/sv.po: Update from translation team. * po/sv.po: Update from translation team. * po/tr.po: Update from translation team. * po/pl.po: Update from translation team.
2007-01-12 [BZ #3451]Jakub Jelinek
* sysdeps/i386/fpu/bits/mathinline.h (floor): Make rounding mode change atomic. (ceil): Likewise.
2007-01-12 * sysdeps/unix/sysv/linux/x86_64/sysconf.c (intel_check_word): AddJakub Jelinek
noinline attribute. * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Add noinline attribute. * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Update handling of cache descriptor 0x49 for new models. * sysdeps/unix/sysv/linux/x86_64/sysconf.c (intel_check_word): Likewise.
2007-01-12 * elf/dl-load.c (decompose_rpath): Return bool rather than void.Jakub Jelinek
If l->l_name is on inhibit_rpath list, set sps->dirs to -1 and return false, otherwise return true. (cache_rpath): Return decompose_rpath return value.
2007-01-12 * locales/mai_IN: New file.Jakub Jelinek
Provided by Rajesh Ranjan <rajeshkajha@yahoo.com>. * SUPPORTED: Add mai_IN/UTF-8.
2007-01-12 * malloc/memusage.c (dest): Reset not_me back to false afterJakub Jelinek
printing statistics.
2007-01-12 * elf/dl-close.c (_dl_close_worker): Renamed from _dl_close andJakub Jelinek
split out locking and parameter checking. (_dl_close): Call _dl_close_worker after locking and checking. * elf/dl-open.c (_dl_open): Call _dl_close_worker instead of _dl_close. * elf/Makefile: Add rules to build and run tst-thrlock. * elf/tst-thrlock.c: New file. [BZ #3429] * elf/dl-open.c (dl_open_worker): Keep holding dl_load_lock until we are sure we do not need it anymore for _dl_close. Also move the asserts inside the lock region. Patch mostly by Suzuki <suzuki@in.ibm.com>.
2007-01-12 * nptl_db/db_info.c [TLS_DTV_AT_TP]: Fixed size init for dtvpJakub Jelinek
to sizeof a pointer, instead of sizeof the union.
2007-01-12 * sunrpc/xdr_mem.c (xdrmem_setpos): Don't compare addressesJakub Jelinek
as signed longs, check for x_base + pos overflow. * sunrpc/Makefile (tests): Add tst-xdrmem2. * sunrpc/tst-xdrmem2.c: New test.
2007-01-12 [BZ #3369]Jakub Jelinek
* sysdeps/posix/getaddrinfo.c (rfc3484_sort): Fix typos in rules 4 and 7.
2007-01-12 * elf/dl-minimal.c (realloc): Optimize last patch.Jakub Jelinek
[BZ #3352] * elf/dl-minimal.c (realloc): Let malloc() return a new pointer, and use memcpy() if it does.
2007-01-12 [BZ #3320]Jakub Jelinek
* locales/es_ES (LC_TIME): Add week, first_weekday, and first_workday.
2007-01-12 * sysdeps/unix/sysv/linux/i386/sysdep.h (DOARGS_6): Fix offset.Jakub Jelinek
2007-01-12 * nis/nis_subr.c (nis_getnames): Add trailing dot to NIS_PATHJakub Jelinek
components which lack them. * nis/nis_subr.c (nis_getnames): Make sure that we always return at least one entry consisting of the parameter concatenated with the domain.
2007-01-12 * elf/dl-debug.c (_dl_debug_initialize): Check r->r_map for 0Jakub Jelinek
rather than r->r_brk.
2007-01-12 * nis/nis_table.c (nis_list): If __follow_path fails in the newJakub Jelinek
code, make sure the nis_freeresult call doesn't crash and that the result is reported correctly. * nis/nis_table.c (nis_list): Handle FOLLOW_PATH | ALL_RESULTS when callback is NULL. * nis/Versions (libnss_nisplus): Add _nss_nisplus_initgroups_dyn@@GLIBC_PRIVATE. * nis/Makefile (libnss_nisplus-routines): Add nisplus-initgroups. * nis/nss_nisplus/nisplus-grp.c (tablename_val, tablename_len, _nss_create_tablename): Rename to... (grp_tablename_val, grp_tablename_len, _nss_grp_create_tablename): ... these. No longer static. (internal_setgrent): Adjust users. (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise. Don't use locking around _nss_grp_create_tablename call. * nis/nss_nisplus/nisplus-initgroups.c: New file.
2007-01-11Include errno.h. Change main() to do_test(). Define TEST_FUNCTION. Include ↵Ulrich Drepper
test-skeleton.c. (do_test): Check errno and exit(0) if ENOSYS.
2007-01-11[BZ #3855]Ulrich Drepper
* stdlib/strtod_l.c (____STRTOF_INTERNAL): 0x. not followed by hexadecimal digit should accept just the initial 0. * stdlib/tst-strtod2.c (tests): New variable. (do_test): Run several tests rather than just one. 2007-01-11 Jakub Jelinek <jakub@redhat.com>