aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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>
2007-01-11* sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Cleanups. DefineUlrich Drepper
FUTEX_CMP_REQUEUE and lll_futex_requeue.
2007-01-11Cleanups. Define FUTEX_CMP_REQUEUE and lll_futex_requeue.Ulrich Drepper
2007-01-10* sysdeps/i386/soft-fp/sfp-machine.h: Remove. Jakub Jelinek
* sysdeps/x86_64/soft-fp/sfp-machine.h: Likewise. 2007-01-11 Jakub Jelinek <jakub@redhat.com> * sysdeps/i386/soft-fp/sfp-machine.h: Remove. * sysdeps/x86_64/soft-fp/sfp-machine.h: Likewise.
2007-01-10* shlib-versions: Fix sparc64 linux target specification.Jakub Jelinek
2006-12-28 David S. Miller <davem@davemloft.net> * shlib-versions: Fix sparc64 linux target specification.
2007-01-10* io/fts.c: Make sure fts_cur is always valid after return fromUlrich Drepper
fts_read. Patch by Miloslav Trmac <mitr@redhat.com>.
2007-01-10Make sure fts_cur is always valid after return from fts_read.Ulrich Drepper
2007-01-08* elf/elf.h (R_MIPS_GLOB_DAT): Define. Jakub Jelinek
(R_MIPS_NUM): Bump by 1. 2006-10-27 Richard Sandiford <richard@codesourcery.com> * elf/elf.h (R_MIPS_GLOB_DAT): Define. (R_MIPS_NUM): Bump by 1.
2007-01-03* posix/execvp.c: Include alloca.h.Ulrich Drepper
(allocate_scripts_argv): Renamed to... (scripts_argv): ... this. Don't allocate buffer here nor count arguments. (execvp): Use alloca if possible. * posix/Makefile: Add rules to build and run tst-vfork3 test. * posix/tst-vfork3.c: New test. 2007-01-03 Ulrich Drepper <drepper@redhat.com> * string/Makefile (tst-strxfrm2-ENV): Define. * stdlib/Makefile (tst-strtod3-ENV): Define.
2007-01-03* posix/getconf.c: Update copyright year.Ulrich Drepper
* nss/getent.c: Likewise. * iconv/iconvconfig.c: Likewise. * iconv/iconv_prog.c: Likewise. * elf/ldconfig.c: Likewise. * catgets/gencat.c: Likewise. * csu/version.c: Likewise. * elf/ldd.bash.in: Likewise. * elf/sprof.c (print_version): Likewise. * locale/programs/locale.c: Likewise. * locale/programs/localedef.c: Likewise. * nscd/nscd.c (print_version): Likewise. * debug/xtrace.sh: Likewise. * malloc/memusage.sh: Likewise. * malloc/mtrace.pl: Likewise. * debug/catchsegv.sh: Likewise.
2006-12-24* malloc/malloc.c (sYSMALLOc): Remove some unnecessary alignmentUlrich Drepper
attempts.
2006-12-23* posix/wordexp.c: Remove some unnecessary tests.Ulrich Drepper
2006-12-22* nis/nss_compat/compat-grp.c (internal_getgrgid_r): Don'tUlrich Drepper
blacklist the group till after we look it up.
2006-12-21* include/atomic.h (atomic_forced_read): New macro.Ulrich Drepper
2006-12-21* sysdeps/unix/sysv/linux/sh/bits/shm.h: New file.Ulrich Drepper
[-2^31 .. 2^31) range.
2006-12-19* nss/getXXbyYY_r.c: Include atomic.h.cvs/fedora-glibc-20061219T1804Ulrich Drepper
(INTERNAL (REENTRANT_NAME)): Write startp after start_fct, add atomic_write_barrier () in between.
2006-12-19* stdlib/Makefile (tests): Add tst-makecontext.Ulrich Drepper
* stdlib/tst-makecontext.c: New test. * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S (__makecontext): Don't realign uc_mcontext.uc_regs.