about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* * include/atomic.c: Define catomic_* operations.Ulrich Drepper2006-10-1115-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.
* * nis/nis_subr.c (nis_getnames): Add trailing dot to NIS_PATHUlrich Drepper2006-10-112-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.
* (nis_getnames): Make sure that we always return at least one entry ↵Ulrich Drepper2006-10-111-0/+7
| | | | consisting of the parameter concatenated with the domain.
* * sysdeps/mach/hurd/utimes.c: Use a union to avoid an improper cast.Roland McGrath2006-10-101-0/+6
| | | | | * sysdeps/mach/hurd/futimes.c: Likewise. * sysdeps/mach/hurd/lutimes.c: Likewise.
* 2006-10-10 Roland McGrath <roland@frob.com>Roland McGrath2006-10-103-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.
* Jakub Jelinek <jakub@redhat.com>Ulrich Drepper2006-10-1018-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.
* * po/sv.po: Update from translation team.Ulrich Drepper2006-10-091-0/+4
|
* * Versions.def: Add GLIBC_2.6 to libpthread.Ulrich Drepper2006-10-079-8/+142
|
* * include/shlib-compat.h (SHLIB_COMPAT): Expand parameters before use.Ulrich Drepper2006-10-072-5/+15
| | | | | (versioned_symbol): Likewise. (compat_symbol): Likewise.
* * po/tr.po: Update from translation team.Ulrich Drepper2006-10-072-3556/+4362
|
* * libio/Banner: Likewise.Ulrich Drepper2006-10-063-2/+1
|
* * nis/Banner: Removed. It's been integral part forever and theUlrich Drepper2006-10-061-0/+3
| | | | author info is incomplete anyway.
* * nis/nis_table.c (nis_list): If __follow_path fails in the newUlrich Drepper2006-10-063-3604/+4135
| | | | | 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_RESULTSUlrich Drepper2006-10-066-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.
* * version.h (VERSION): Bump to 2.5.90 for new development tree. cvs/fedora-glibc-2_5-20061008T1257 cvs/fedora-glibc-2_5-20061008T1253Ulrich Drepper2006-10-063-2/+10
|
* * include/features.h (__GLIBC_MINOR__): It's glibc 2.5 now. cvs/glibc-2_5-baseUlrich Drepper2006-10-065-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>.
* * locales/pa_IN (abday): Fix spelling of Sunday.Ulrich Drepper2006-10-052-1/+6
| | | | Patch by Mayank Jain <majain@redhat.com>.
* [BZ #3291] cvs/fedora-glibc-20061002T1858Ulrich Drepper2006-10-022-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.
* * elf/rtld.c (dl_main): Don't use prelinking if LD_DYNAMIC_WEAK isUlrich Drepper2006-10-024-15/+7
| | | | used.
* * sysdeps/posix/getaddrinfo.c (match_prefix): Make mask and valUlrich Drepper2006-10-022-2/+5
| | | | variables const to avoid compiler warnings.
* * nscd/mem.c (mempool_alloc): Round array size to 16 bytesUlrich Drepper2006-10-024-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.
* * io/fts.c (fts_close): Remove redundant checks.Ulrich Drepper2006-10-023-10/+14
| | | | | | | | (fts_build): Likewise. (fts_palloc): Likewise. * manual/message.texi (Advanced gettext functions, Using gettextized software): Fix typos.
* * locales/en_GB: Use more complete en_US data in LC_NAME.Ulrich Drepper2006-10-012-2/+5
|
* * posix/glob.c (glob_in_dir): Add some comments and asserts toUlrich Drepper2006-09-306-2/+27
| | | | explain why there are no leaks.
* * libio/wmemstream.c: Include <wchar.h>.Ulrich Drepper2006-09-301-0/+5
| | | | | | * libio/bug-wmemstream1.c: Likewise. * libio/tst-wmemstream1.c: Likewise. * libio/tst-wmemstream2.c: Likewise.
* * version.h (RELEASE): Bump to 2.5. glibc-2.5 cvs/glibc-2_5 cvs/fedora-glibc-20060929T2037Ulrich Drepper2006-09-298-448/+634
| | | | * README: Regenerated.
* * locale/iso-3166.def: Add Aaland Islands and Montenegro.Ulrich Drepper2006-09-292-0/+4
|
* [BZ #3273]Ulrich Drepper2006-09-293-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.
* * libio/stdio.h: Move open_wmemstream prototype to ...Ulrich Drepper2006-09-273-7/+13
| | | | * wcsmbs/wchar.h: ... here.
* [BZ #3252, BZ #3253] cvs/fedora-glibc-20060925T1535Ulrich Drepper2006-09-259-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.
* * sysdeps/posix/getaddrinfo.c (rfc3484_sort): Implement rule 4,Ulrich Drepper2006-09-247-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.
* [BZ #3225] cvs/fedora-glibc-20060923T0946Ulrich Drepper2006-09-2233-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.
* [BZ #3137]Ulrich Drepper2006-09-2110-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>.
* * inet/inet6_option.c: Also emit linker warnings for the RFC 2292Ulrich Drepper2006-09-201-0/+5
| | | | interfaces.
* Also emit linker warnings for the RFC 2292 interfaces.Ulrich Drepper2006-09-201-0/+12
|
* (lrint_test_upward): Fix typo.Andreas Jaeger2006-09-202-1/+5
| | | | | | 2006-09-20 Andreas Jaeger <aj@suse.de> * math/libm-test.inc (lrint_test_upward): Fix typo.
* [BZ #2592]Ulrich Drepper2006-09-2012-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.
* * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c (__makecontext):Ulrich Drepper2006-09-203-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.
* * elf/dl-cache.c (HWCAP_CHECK): If _DL_PLATFORMS_COUNT, but cvs/fedora-glibc-20060919T1847 cvs/fedora-glibc-20060919T1816Ulrich Drepper2006-09-192-2/+8
| | | | | platform == -1, reject any libs with non-zero _DL_HWCAP_PLATFORM bits.
* * elf/dl-close.c (_dl_close): If dependency is not unloaded makeUlrich Drepper2006-09-196-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.
* * sysdeps/unix/sysv/linux/sys/ptrace.h (PT_GETEVENTMSG): Fix pasto.Ulrich Drepper2006-09-189-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.
* * sysdeps/unix/sysv/linux/sys/ptrace.h [PTRACE_SETOPTIONS,Ulrich Drepper2006-09-176-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.
* * io/Makefile (CFLAGS-fstatat.c): Set.Ulrich Drepper2006-09-176-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>
* * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: For PIUlrich Drepper2006-09-174-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-14 Jakub Jelinek <jakub@redhat.com> cvs/fedora-glibc-20060915T0943Ulrich Drepper2006-09-155-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.
* [BZ #2526, BZ #3138, BZ #3143]Ulrich Drepper2006-09-1214-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.
* [BZ #2821] cvs/fedora-glibc-20060910T1832Ulrich Drepper2006-09-094-6/+29
| | | | | | * time/mktime.c (guess_time_tm): Fix overflow detection. * time/Makefile (tests): Add bug-mktime1. * time/bug-mktime1.c: New file.
* [BZ #3189]Ulrich Drepper2006-09-092-9/+10
| | | | | | .. [BZ #3189, #3188] (mremap): Likewise.
* [BZ #3189]Ulrich Drepper2006-09-092-0/+7
| | | | | | 2006-09-09 Ulrich Drepper <drepper@redhat.com> [BZ #3189] * misc/sys/mman.h (remap_file_pages): Make available for _GNU_SOURCE.
* [BZ #1006]Ulrich Drepper2006-09-098-21/+40
| | | | | | | * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Ensure relocation doesn't clobber any bits outside of the immediate field for R_SPARC_TLS_LE_HIX22, R_SPARC_WDISP30, R_SPARC_HI22 and R_SPARC_H44.