aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2006-10-11* malloc/malloc.c (_int_malloc): Remove unused any_larger variable.Ulrich Drepper5-5/+12
* 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.
2006-10-11* include/atomic.c: Define catomic_* operations.Ulrich Drepper15-148/+415
* sysdeps/x86_64/bits/atomic.h: Likewise. Fix a few minor problems. * stdlib/cxa_finalize.c: Use catomic_* operations instead of atomic_*. * malloc/memusage.c: Likewise. * gmon/mcount.c: Likewise. * elf/dl-close.c: Likewise. * elf/dl-open.c: Likewise. * elf/dl-profile.c: Likewise. * elf/dl-sym.c: Likewise. * elf/dl-runtime.c: Likewise. * elf/dl-fptr.c: Likewise. * resolv/res_libc.c: Likewise.
2006-10-11* nis/nis_subr.c (nis_getnames): Add trailing dot to NIS_PATHUlrich Drepper2-3/+15
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.
2006-10-11(nis_getnames): Make sure that we always return at least one entry ↵Ulrich Drepper1-0/+7
consisting of the parameter concatenated with the domain.
2006-10-10* sysdeps/mach/hurd/utimes.c: Use a union to avoid an improper cast.Roland McGrath1-0/+6
* sysdeps/mach/hurd/futimes.c: Likewise. * sysdeps/mach/hurd/lutimes.c: Likewise.
2006-10-102006-10-10 Roland McGrath <roland@frob.com>Roland McGrath3-20/+34
* sysdeps/mach/hurd/utimes.c: Use a union to avoid an improper cast. * sysdeps/mach/hurd/futimes.c: Likewise. * sysdeps/mach/hurd/lutimes.c: Likewise.
2006-10-10 Jakub Jelinek <jakub@redhat.com>Ulrich Drepper18-4153/+5222
Implement reference counting of scope records. * elf/dl-close.c (_dl_close): Remove all scopes from removed objects from the list in objects which remain. Always allocate new scope record. * elf/dl-open.c (dl_open_worker): When growing array for scopes, don't resize, allocate a new one. * elf/dl-runtime.c: Update reference counters before using a scope array. * elf/dl-sym.c: Likewise. * elf/dl-libc.c: Adjust for l_scope name change. * elf/dl-load.c: Likewise. * elf/dl-object.c: Likewise. * elf/rtld.c: Likewise. * include/link.h: Inlcude <rtld-lowlevel.h>. Define struct r_scoperec. Replace r_scope with pointer to r_scoperec structure. Add l_scoperec_lock. * sysdeps/generic/ldsodefs.h: Include <rtld-lowlevel.h>. * sysdeps/generic/rtld-lowlevel.h: New file. * include/atomic.h: Rename atomic_and to atomic_and_val and atomic_or to atomic_or_val. Define new macros atomic_and and atomic_or which do not return values. * sysdeps/x86_64/bits/atomic.h: Define atomic_and and atomic_or. Various cleanups. * sysdeps/i386/i486/bits/atomic.h: Likewise.
2006-10-09* po/sv.po: Update from translation team.Ulrich Drepper1-0/+4
2006-10-07* Versions.def: Add GLIBC_2.6 to libpthread.Ulrich Drepper9-8/+142
2006-10-07* include/shlib-compat.h (SHLIB_COMPAT): Expand parameters before use.Ulrich Drepper2-5/+15
(versioned_symbol): Likewise. (compat_symbol): Likewise.
2006-10-07* po/tr.po: Update from translation team.Ulrich Drepper2-3556/+4362
2006-10-06* libio/Banner: Likewise.Ulrich Drepper3-2/+1
2006-10-06* nis/Banner: Removed. It's been integral part forever and theUlrich Drepper1-0/+3
author info is incomplete anyway.
2006-10-06* nis/nis_table.c (nis_list): If __follow_path fails in the newUlrich Drepper3-3604/+4135
code, make sure the nis_freeresult call doesn't crash and that the result is reported correctly.
2006-10-06* nis/nis_table.c (nis_list): Handle FOLLOW_PATH | ALL_RESULTSUlrich Drepper6-29/+249
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.
2006-10-06* version.h (VERSION): Bump to 2.5.90 for new development tree.cvs/fedora-glibc-2_5-20061008T1257cvs/fedora-glibc-2_5-20061008T1253Ulrich Drepper3-2/+10
2006-10-06* include/features.h (__GLIBC_MINOR__): It's glibc 2.5 now.cvs/glibc-2_5-baseUlrich Drepper5-7/+19
2006-10-06 Ulrich Drepper <drepper@redhat.com> * po/pl.po: Update from translation team. * nscd/nscd.c (main): Fix typo in message. Patch by Jakub Bogsz <qboosh@pld-linux.org>.
2006-10-05* locales/pa_IN (abday): Fix spelling of Sunday.Ulrich Drepper2-1/+6
Patch by Mayank Jain <majain@redhat.com>.
2006-10-02[BZ #3291]cvs/fedora-glibc-20061002T1858Ulrich Drepper2-0/+15
2006-10-02 Jakub Jelinek <jakub@redhat.com> [BZ #3291] * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Include errno.h, signal.h, unistd.h and sysdep-cancel.h. (__sigprocmask): Define.
2006-10-02* elf/rtld.c (dl_main): Don't use prelinking if LD_DYNAMIC_WEAK isUlrich Drepper4-15/+7
used.
2006-10-02* sysdeps/posix/getaddrinfo.c (match_prefix): Make mask and valUlrich Drepper2-2/+5
variables const to avoid compiler warnings.
2006-10-02* nscd/mem.c (mempool_alloc): Round array size to 16 bytesUlrich Drepper4-9/+27
in oldtotal and newtotal calculation. * nscd/nscd-client.h (struct mapped_database): Add datasize field. * nscd/nscd_helper.c (get_mapping): Initialize datasize field. (__nscd_get_map_ref): Get a new mapping even if mapping's data_size increased. (__nscd_cache_search): Add checks to make sure we never reference data beyond the current mapping.
2006-10-02* io/fts.c (fts_close): Remove redundant checks.Ulrich Drepper3-10/+14
(fts_build): Likewise. (fts_palloc): Likewise. * manual/message.texi (Advanced gettext functions, Using gettextized software): Fix typos.
2006-10-01* locales/en_GB: Use more complete en_US data in LC_NAME.Ulrich Drepper2-2/+5
2006-09-30* posix/glob.c (glob_in_dir): Add some comments and asserts toUlrich Drepper6-2/+27
explain why there are no leaks.
2006-09-30* libio/wmemstream.c: Include <wchar.h>.Ulrich Drepper1-0/+5
* libio/bug-wmemstream1.c: Likewise. * libio/tst-wmemstream1.c: Likewise. * libio/tst-wmemstream2.c: Likewise.
2006-09-29* version.h (RELEASE): Bump to 2.5.glibc-2.5cvs/glibc-2_5cvs/fedora-glibc-20060929T2037Ulrich Drepper8-448/+634
* README: Regenerated.
2006-09-29* locale/iso-3166.def: Add Aaland Islands and Montenegro.Ulrich Drepper2-0/+4
2006-09-29[BZ #3273]Ulrich Drepper3-2/+18
2006-09-29 Ulrich Drepper <drepper@redhat.com> [BZ #3273] * nscd/nscd_initgroups.c (__nscd_getgrouplist): It is OK to have found no group members. Patch by Petr Baudis. 2006-09-29 Jakub Jelinek <jakub@redhat.com> * elf/rtld.c (_dl_start_final): If not USE___THREAD, don't assert bootstrap_map.l_tls_modid is zero. (_dl_start): Initialize bootstrap_map.l_tls_modid to 0 if USE___THREAD.
2006-09-27* libio/stdio.h: Move open_wmemstream prototype to ...Ulrich Drepper3-7/+13
* wcsmbs/wchar.h: ... here.
2006-09-25[BZ #3252, BZ #3253]cvs/fedora-glibc-20060925T1535Ulrich Drepper9-589/+160
2006-09-25 Jakub Jelinek <jakub@redhat.com> [BZ #3252] * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Handle only fchownat syscall and __ASSUME_LCHOWN_SYSCALL case inline, call __{,l}chown to handle the rest. * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Handle only fchownat syscall and __ASSUME_32BITUIDS case inline, call __{,l}chown to handle the rest. * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Include i386/fchownat.c. * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Likewise. * sysdeps/unix/sysv/linux/sh/fchownat.c: Likewise. [BZ #3253] * posix/glob.c (glob_in_dir): Don't alloca one struct globlink at a time, rather allocate increasingly bigger arrays of pointers, if possible with alloca, if too large with malloc. 2006-09-24 Jakub Jelinek <jakub@redhat.com> * sysdeps/powerpc/fpu/libm-test-ulps: Updated. * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Fix 2 typos.
2006-09-24* sysdeps/posix/getaddrinfo.c (rfc3484_sort): Implement rule 4,Ulrich Drepper7-9/+42
home addresses. * sysdeps/unix/sysv/linux/check_pf.c (make_request): Recognize IFA_F_HOMEADDRESS flag for interfaces. * include/ifaddrs.h (struct in6addrinfo): Define in6ai_homeaddress.
2006-09-22[BZ #3225]cvs/fedora-glibc-20060923T0946Ulrich Drepper33-156/+186
2006-09-21 Jakub Jelinek <jakub@redhat.com> [BZ #3225] * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h (PTR_MANGLE3, PTR_DEMANGLE3): Define. * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h (PTR_MANGLE3, PTR_DEMANGLE3): Likewise. * sysdeps/powerpc/powerpc32/__longjmp-common.S (__longjmp): Use them. * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S (__longjmp): Likewise. * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
2006-09-21[BZ #3137]Ulrich Drepper10-9/+50
2006-09-20 Jakub Jelinek <jakub@redhat.com> * po/libc.pot: Regenerated. * po/be.po: Updated. * po/ca.po: Likewise. * po/cs.po: Likewise. * po/da.po: Likewise. * po/de.po: Likewise. * po/el.po: Likewise. * po/en_GB.po: Likewise. * po/es.po: Likewise. * po/fi.po: Likewise. * po/fr.po: Likewise. * po/gl.po: Likewise. * po/hr.po: Likewise. * po/hu.po: Likewise. * po/ja.po: Likewise. * po/ko.po: Likewise. * po/nb.po: Likewise. * po/nl.po: Likewise. * po/pl.po: Likewise. * po/pt_BR.po: Likewise. * po/ru.po: Likewise. * po/rw.po: Likewise. * po/sk.po: Likewise. * po/sv.po: Likewise. * po/tr.po: Likewise. * po/zh_CN.po: Likewise. * po/zh_TW.po: Likewise. [BZ #3137] * iconv/iconv_prog.c (main): Fix spelling in error message. * iconv/iconvconfig.c (main): Likewise. * locale/programs/ld-collate.c (handle_ellipsis): Likewise. * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Likewise. * locale/programs/localedef.c (main): Likewise. * locale/programs/repertoire.c (repertoire_read): Likewise. * timezone/zdump.c (main): Likewise. * nscd/connections.c (handle_request): Fix spelling in log message. Patch by Malcolm Parsons <malcolm.parsons@gmail.com>.
2006-09-20* inet/inet6_option.c: Also emit linker warnings for the RFC 2292Ulrich Drepper1-0/+5
interfaces.
2006-09-20Also emit linker warnings for the RFC 2292 interfaces.Ulrich Drepper1-0/+12
2006-09-20(lrint_test_upward): Fix typo.Andreas Jaeger2-1/+5
2006-09-20 Andreas Jaeger <aj@suse.de> * math/libm-test.inc (lrint_test_upward): Fix typo.
2006-09-20[BZ #2592]Ulrich Drepper12-77/+248
2006-06-17 Joseph S. Myers <joseph@codesourcery.com> [BZ #2592] * math/libm-test.inc (lrint_test_tonearest): New function. (lrint_test_towardzero): New function. (lrint_test_downward): New function. (lrint_test_upward): New function. (main): Run these new tests. * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Correct rounding of values near to 0. (two52): Use double not long double. * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise. * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise. (two23): Use float not double. * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise. (two23): Use float not double. * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise. * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise. * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise. * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
2006-09-20* sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c (__makecontext):Ulrich Drepper3-15/+32
Cast sp to unsigned long to avoid compiler warning. Use __makecontext_ret function instead of a trampoline on the stack. (__makecontext_ret): New function. * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Likewise.
2006-09-19* elf/dl-cache.c (HWCAP_CHECK): If _DL_PLATFORMS_COUNT, butcvs/fedora-glibc-20060919T1847cvs/fedora-glibc-20060919T1816Ulrich Drepper2-2/+8
platform == -1, reject any libs with non-zero _DL_HWCAP_PLATFORM bits.
2006-09-19* elf/dl-close.c (_dl_close): If dependency is not unloaded makeUlrich Drepper6-3/+90
sure no reference to the unloaded map's search list remains in the dependency's scope. 2006-09-16 Jakub Jelinek <jakub@redhat.com> * elf/Makefile: Add rules to build and run unload7 test. * elf/unload7.c: New test. * elf/unload7mod1.c: New file. * elf/unload7mod2.c: New file.
2006-09-18* sysdeps/unix/sysv/linux/sys/ptrace.h (PT_GETEVENTMSG): Fix pasto.Ulrich Drepper9-31/+120
* sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_SETOPTIONS, PTRACE_GETEVENTMSG, PTRACE_GETSIGINFO, PTRACE_SETSIGINFO): Define. * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_SETOPTIONS, PTRACE_GETEVENTMSG, PTRACE_GETSIGINFO, PTRACE_SETSIGINFO): Likewise. * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_SETOPTIONS, PTRACE_GETEVENTMSG, PTRACE_GETSIGINFO, PTRACE_SETSIGINFO): Likewise. * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_SETOPTIONS, PTRACE_GETEVENTMSG): Likewise. (PTRACE_GETSIGINFO, PTRACE_SETSIGINFO): Change to the arch independent values. * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_SETOPTIONS, PTRACE_GETEVENTMSG, PTRACE_GETSIGINFO, PTRACE_SETSIGINFO): Define. * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Check PTRACE_SETOPTIONS, PTRACE_GETEVENTMSG, PTRACE_GETSIGINFO and PTRACE_SETSIGINFO.
2006-09-17* sysdeps/unix/sysv/linux/sys/ptrace.h [PTRACE_SETOPTIONS,Ulrich Drepper6-11/+57
PTRACE_GETEVENTMSG, PTRACE_GETSIGINFO, PTRACE_SETSIGINFO]: Define. * sysdeps/unix/sysv/linux/ptrace.c [PTRACE_SETOPTIONS, PTRACE_GETEVENTMSG, PTRACE_GETSIGINFO, PTRACE_SETSIGINFO]: Check. 2006-09-16 Jakub Jelinek <jakub@redhat.com> * sysdeps/powerpc/powerpc32/register-dump.h (register_dump): Don't write '\0' to the fd. * sysdeps/mach/hurd/powerpc/register-dump.h (register_dump): Likewise. * sysdeps/powerpc/powerpc64/register-dump.h (register_dump): Likewise. Change regs to unsigned long pointer from unsigned int, fix fscr offset.
2006-09-17 * io/Makefile (CFLAGS-fstatat.c): Set.Ulrich Drepper6-15/+309
(CFLAGS-fstatat64.c): Likewise. (CFLAGS-mknodat.c): Likewise. * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Comment fixes. * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise. * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Rewritten. * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Rewritten. 2006-09-14 Jakub Jelinek <jakub@redhat.com>
2006-09-17* sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: For PIUlrich Drepper4-4/+50
mutexes wake all mutexes. * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Don't increment WAKEUP_SEQ if this would increase the value beyond TOTAL_SEQ. * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
2006-09-152006-09-14 Jakub Jelinek <jakub@redhat.com>cvs/fedora-glibc-20060915T0943Ulrich Drepper5-38/+119
Steven Munroe <sjmunroe@us.ibm.com> * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add 4 new cap names to the beginning. Rename "cell" to "cellbe". (_dl_powerpc_platforms): New. * sysdeps/powerpc/dl-procinfo.h (_DL_HWCAP_FIRST): Decrease. (HWCAP_IMPORTANT): Remove power{4,5,5+} and cell. (_DL_PLATFORMS_COUNT, _DL_FIRST_PLATFORM): Define. (_DL_HWCAP_PLATFORM): Define to new mask. (_dl_platform_string, _dl_string_platform): New functions. * sysdeps/powerpc/sysdep.h (PPC_FEATURE_BOOKE, PPC_FEATURE_SMT, PPC_FEATURE_ICACHE_SNOOP, PPC_FEATURE_ARCH_2_05): Define.
2006-09-12[BZ #2526, BZ #3138, BZ #3143]Ulrich Drepper14-20/+55
2006-09-12 Jakub Jelinek <jakub@redhat.com> [BZ #2526] * README.libm: Fix a thinko in sqrt algorithm description. [BZ #3143] * manual/string.texi (argz_delete): Fix prototype. Patch by <alpt@freaknet.org>. 2006-08-26 Joseph Myers <joseph@codesourcery.com> [BZ #3138] * io/test-lfs.c (do_prepare): Give name_len type size_t. * io/tst-fcntl.c (do_prepare): Likewise. * posix/tst-exec.c (do_prepare): Likewise. * posix/tst-preadwrite.c (do_prepare): Likewise. * posix/tst-spawn.c (do_prepare): Likewise. * posix/tst-truncate.c (do_prepare): Likewise. * rt/tst-aio.c (do_prepare): Likewise. * rt/tst-aio64.c (do_prepare): Likewise. * stdlib/test-canon2.c (do_prepare): Give test_dir_len type size_t.
2006-09-09[BZ #2821]cvs/fedora-glibc-20060910T1832Ulrich Drepper4-6/+29
* time/mktime.c (guess_time_tm): Fix overflow detection. * time/Makefile (tests): Add bug-mktime1. * time/bug-mktime1.c: New file.
2006-09-09[BZ #3189]Ulrich Drepper2-9/+10
.. [BZ #3189, #3188] (mremap): Likewise.
2006-09-09[BZ #3189]Ulrich Drepper2-0/+7
2006-09-09 Ulrich Drepper <drepper@redhat.com> [BZ #3189] * misc/sys/mman.h (remap_file_pages): Make available for _GNU_SOURCE.