about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* * elf/dl-lookup.c (_dl_debug_bindings): Remove unised symbol_scopeUlrich Drepper2006-10-2725-201/+229
| | | | | | | | | | | | | | | | | | | | | | | | | argument. (_dl_lookup_symbol_x): Adjust caller. * sysdeps/generic/ldsodefs.h (struct link_namespaces): Remove _ns_global_scope. * elf/rtld.c (dl_main): Don't initialize _ns_global_scope. * elf/dl-libc.c: Revert l_scope name changes. * elf/dl-load.c: Likewise. * elf/dl-object.c: Likewise. * elf/rtld.c: Likewise. * elf/dl-close.c (_dl_close): Likewise. * elf/dl-open.c (dl_open_worker): Likewise. If not SINGLE_THREAD_P, always use __rtld_mrlock_{change,done}. Always free old scope list here if not l_scope_mem. * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Revert l_scope name change. Never free scope list here. Just __rtld_mrlock_lock before the lookup and __rtld_mrlock_unlock it after the lookup. * elf/dl-sym.c: Likewise. * include/link.h (struct r_scoperec): Remove. (struct link_map): Replace l_scoperec with l_scope, l_scoperec_mem with l_scope_mem and l_scoperec_lock with l_scope_lock.
* * pthread_attr_setstacksize.c (NEW_VERNUM): Define to GLIBC_2_3_3Ulrich Drepper2006-10-262-1/+6
| | | | by default rather than 2_3_3.
* * sysdeps/gnu/netinet/tcp.h: Define TCP_CONGESTION.Ulrich Drepper2006-10-253-5/+5
|
* * configure.in: Disable building profile libraries by default. cvs/fedora-glibc-20061025T1857Ulrich Drepper2006-10-183-4/+8
|
* [BZ #3313]Ulrich Drepper2006-10-1816-193/+491
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-10-17 Jakub Jelinek <jakub@redhat.com> * sunrpc/xdr_mem.c (xdrmem_setpos): Don't compare addresses as signed longs, check for x_base + pos overflow. * sunrpc/Makefile (tests): Add tst-xdrmem2. * sunrpc/tst-xdrmem2.c: New test. 2006-10-18 Ulrich Drepper <drepper@redhat.com> * elf/dl-lookup.c (_dl_lookup_symbol_x): Add warning to _dl_lookup_symbol_x code. 2006-10-17 Jakub Jelinek <jakub@redhat.com> * elf/dl-runtime.c: Include sysdep-cancel.h. (_dl_fixup, _dl_profile_fixup): Use __rtld_mrlock_* and scoperec->nusers only if !SINGLE_THREAD_P. Use atomic_* instead of catomic_* macros. * elf/dl-sym.c: Include sysdep-cancel.h. (do_sym): Use __rtld_mrlock_* and scoperec->nusers only if !SINGLE_THREAD_P. Use atomic_* instead of catomic_* macros. * elf/dl-close.c: Include sysdep-cancel.h. (_dl_close): Use __rtld_mrlock_* and scoperec->nusers only if !SINGLE_THREAD_P. Use atomic_* instead of catomic_* macros. * elf/dl-open.c: Include sysdep-cancel.h. (dl_open_worker): Use __rtld_mrlock_* and scoperec->nusers only if !SINGLE_THREAD_P. Use atomic_* instead of catomic_* macros. 2006-10-17 Jakub Jelinek <jakub@redhat.com> [BZ #3313] * malloc/malloc.c (malloc_consolidate): Set maxfb to address of last fastbin rather than end of fastbin array. 2006-10-18 Ulrich Drepper <drepper@redhat.com> * sysdeps/i386/i486/bits/atomic.h (catomic_decrement): Use correct body macro. * sysdeps/x86_64/bits/atomic.h (__arch_c_compare_and_exchange_val_64_acq): Add missing casts. (catomic_decrement): Use correct body macro. 2006-10-17 Jakub Jelinek <jakub@redhat.com> * include/atomic.h: Add a unique prefix to all local variables in macros. * csu/tst-atomic.c (do_test): Test also catomic_* macros. * include/link.h: Include <rtld-lowlevel.h>. Define struct
* [BZ #3369]Ulrich Drepper2006-10-162-5/+11
| | | | | | | 2006-10-16 Ulrich Drepper <drepper@redhat.com> [BZ #3369] * sysdeps/posix/getaddrinfo.c (rfc3484_sort): Fix typos in rules 4 and 7.
* * resolv/arpa/nameser.h: Document that ns_t_a6 is deprecated.Ulrich Drepper2006-10-142-1/+5
|
* [BZ #3313]Ulrich Drepper2006-10-132-2/+14
| | | | | | | | * malloc/malloc.c (malloc_consolidate): Don't use get_fast_max to determine highest fast bin to consolidate, always look into all of them. (do_check_malloc_state): Only require for empty bins for large sizes in main arena.
* * malloc/malloc.c (do_check_malloc_state): Only require for emptyUlrich Drepper2006-10-132-1/+15
| | | | bins for large sizes in main arena.
* * libio/stdio.h: Add more __wur attributes.Ulrich Drepper2006-10-132-19/+24
|
* * elf/dl-minimal.c (realloc): Optimize last patch.Ulrich Drepper2006-10-132-5/+8
|
* [BZ #3352]Ulrich Drepper2006-10-1213-29/+35
| | | | | | | | 2006-10-12 Richard Sandiford <richard@codesourcery.com> [BZ #3352] * elf/dl-minimal.c (realloc): Let malloc() return a new pointer, and use memcpy() if it does.
* Add SEM_VALUE_MAX.Ulrich Drepper2006-10-125-0/+15
|
* [BZ #2510, BZ #2830]Andreas Jaeger2006-10-122-7/+21
| | | | | | | | | | | | | | | | | | | Update. 2006-11-12 Andreas Jaeger <aj@suse.de> [BZ #2510] * manual/search.texi (Hash Search Function): Clarify. (Array Search Function): Clarify. 2006-11-12 Joseph Myers <joseph@codesourcery.com> [BZ #2830] * math/atest-exp.c (main): Cast hex value to mp_limb_t before shifting. * math/atest-exp2.c (read_mpn_hex): Likewise. * math/atest-sincos.c (main): Likewise. Ulrich Drepper <drepper@redhat.com>
* 2006-11-12 Joseph Myers <joseph@codesourcery.com>Andreas Jaeger2006-10-123-10/+15
| | | | | | | * math/atest-exp.c (main): Cast hex value to mp_limb_t before shifting. * math/atest-exp2.c (read_mpn_hex): Likewise. * math/atest-sincos.c (main): Likewise.
* * sysdeps/unix/sysv/linux/syscalls.list: Add epoll_pwait.Ulrich Drepper2006-10-119-4/+53
| | | | | | | | | * sysdeps/unix/sysv/linux/sys/epoll.h: Declare epoll_pwait. * sysdeps/unix/sysv/linux/Versions (libc): Add epoll_pwait for version GLIBC_2.6. * Versions.def: Add GLIBC_2.6 for libc. * sysdeps/unix/sysv/linux/i386/sysdep.h (DOARGS_6): Fix offset.
* * sysdeps/i386/i486/bits/atomic.h: Add catomic_* support.Ulrich Drepper2006-10-112-39/+171
|
* * malloc/malloc.c (_int_malloc): Remove unused any_larger variable.Ulrich Drepper2006-10-115-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.
* * 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.