about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* [BZ #7080]Ulrich Drepper2008-12-094-1/+50
| | | | | | | | | | 2008-12-08 Ulrich Drepper <drepper@redhat.com> [BZ #7080] * inet/getnameinfo.c (getnameinfo): Check for output buffers being NULL when NI_NAMEREQD is set. Patch mostly by Yang Hongyang <yanghy@cn.fujitsu.com>. * inet/Makefile (tests): Add tst-getni1. * inet/tst-getni1.c: New file.
* [BZ #7067]Ulrich Drepper2008-12-093-2/+21
| | | | | | | | | 2008-12-03 Petr Baudis <pasky@suse.cz> [BZ #7067] * nscd/connections.c (invalidate_cache): Use prune_run_lock instead of prune_lock. (nscd_run_prune): Before calling prune_cache, take prune_run_lock. * nscd/nscd.h (database_dyn): Add prune_run_cache.
* Fix typo.Ulrich Drepper2008-12-081-1/+1
| | | | * inet/getnetgrent_r.c (setup): Encrypt static pointer.
* * sysdeps/x86_64/tls.h (tcbhead_t): Add fields reserved for TMUlrich Drepper2008-12-082-1/+16
| | | | | | implementation. Add necessary padding and. * descr.h (struct pthread): Increase padding for tcbhead_t to 24 words.
* (struct pthread): Increase padding for tcbhead_t to 24 words.Ulrich Drepper2008-12-081-2/+2
|
* Move 2 ChangeLog entries to correct ChangeLog.Jakub Jelinek2008-12-082-10/+10
| | | | | | | | | | | | 2008-11-24 Arkadiusz Miƛkiewicz <arekm@maven.pl> * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use LOAD_PIC_REG instead of doing things manually. 2008-11-26 Chris Steel <chris.steel.lnx@googlemail.com> * posix/regex_internal.h (build_wcs_upper_buffer): Return type is reg_error_t.
* * resolv/res_send.c (send_dg): Use correct guards for SOCK_CLOEXECUlrich Drepper2008-12-083-4/+10
| | | | | | | use. * sysdeps/unix/sysv/linux/kernel-features.h: Fix typo in accept4 handling.
* * resolv/res_init.c (__res_vinit): Always assign to statp->nscountUlrich Drepper2008-12-083-4/+5
| | | | after reading name server list.
* * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyname4_r): Fix memoryUlrich Drepper2008-12-072-22/+41
| | | | handling for host name aliases.
* * posix/globtest.sh: Use mktemp to create temporary file andUlrich Drepper2008-12-063-17/+17
| | | | directory.
* * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S): Handle largeUlrich Drepper2008-12-062-3/+15
| | | | | | sets correctly. (__CPU_CLR_S): Likewise. (__CPU_ISSET_S): Likewise.
* * SUPPORTED (SUPPORTED-LOCALES): Add hne_IN.Ulrich Drepper2008-12-062-0/+3
|
* 2008-12-05 Joseph Myers <joseph@codesourcery.com>Ulrich Drepper2008-12-065-9/+223
| | | | | | | | | Ulrich Drepper <drepper@redhat.com> * scripts/firstversion.awk: Use custom comparison function to compare version numbers. * scripts/versions.awk: Use sort invocation which can handle multi-digit sub-version numbers.
* * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use LOAD_PIC_REGUlrich Drepper2008-12-062-2/+6
| | | | instead of doing things manually.
* * posix/regex_internal.h (build_wcs_upper_buffer):Ulrich Drepper2008-12-063-3/+11
| | | | Return type is reg_error_t.
* * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Define FUTEX_WAIT_BITSETUlrich Drepper2008-12-053-2/+7
| | | | and FUTEX_WAKE_BITSET.
* * locale/programs/ld-address.c (DEFINE_LANGUAGE_CODE2): Define.Ulrich Drepper2008-12-052-1/+8
| | | | * locale/iso-639.def: Add Chhattisgarhi entry.
* (DEFINE_LANGUAGE_CODE2): Define.Ulrich Drepper2008-12-051-1/+3
|
* 2008-11-26 Roland McGrath <roland@redhat.com>Roland McGrath2008-12-031-1/+47
| | | | | * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Renamed to ... * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: ... here.
* * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): RecognizeUlrich Drepper2008-12-0310-17/+58
| | | | | | | | | ESRCH return value. (_nss_dns_gethostbyname4_r): Likewise. * resolv/res_init.c (__res_vinit): Initialize nscount to zero. * sysdeps/posix/getaddrinfo.c (gaih_inet): In case we use gethostbyname4_r, we don't have a separate IPv6 status, so copy the no_data variable.
* * resolv/res_init.c (__res_vinit): Fill in IPv4 name serverUlrich Drepper2008-12-033-4/+9
| | | | information at the correct index.
* * socket/sys/socket.h: Declare accept4.Ulrich Drepper2008-12-0311-97/+198
| | | | | | | | | | | | | | | | | * socket/accept4.c: New file. * sysdeps/unix/sysv/linux/accept4.c: New file. * sysdeps/unix/sysv/linux/i386/accept4.S: New file. * socket/Makefile (routines): Add accept4. * socket/Versions: Export accept4 with version GLIBC_2.10. * socket/paccept.c: Removed. * sysdeps/unix/sysv/linux/paccept.c: Removed. * sysdeps/unix/sysv/linux/i386/paccept.S: Removed. * Versions.def: Define GLIBC_2.10 for libc. * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_ACCEPT4. * nscd/connections.c: Use accept4. * sysdeps/unix/sysv/linux/i386/socket.S: Fix comment.
* * resolv/res_send.c (send_dg): Create sockets with non-blockingUlrich Drepper2008-12-022-11/+50
| | | | flag already set.
* * stdlib/Makefile (tests): Add tst-unsetenv1.Ulrich Drepper2008-12-023-1/+15
| | | | * stdlib/tst-unsetenv1.c: New file.
* * stdlib/setenv.c (unsetenv): Don't search environment if it doesUlrich Drepper2008-12-022-14/+20
| | | | not exist.
* * login/utmp_file.c (file_writable): New variable.Ulrich Drepper2008-11-302-9/+58
| | | | | | (setutent_file): Don't try to open file for writing. (pututline_file): Before writing, make descriptor writable if necessary.
* * sysdeps/posix/getaddrinfo.c (getaddrinfo): Only restrict searchUlrich Drepper2008-11-272-9/+3
| | | | to IPv4 or IPv6 if an interface has been found.
* * sysdeps/posix/getaddrinfo.c (getaddrinfo): If the system hasUlrich Drepper2008-11-272-0/+11
| | | | neither IPv4 nor IPv6 addresses defined, don't do anything.
* Regenerated: autoconf configure.inUlrich Drepper2008-11-261-1/+0
|
* * sysdeps/mach/strerror_l.c: New file.Roland McGrath2008-11-262-0/+106
|
* * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Renamed to ...Roland McGrath2008-11-263-2/+68
| | | | | | | | * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: ... here. * sysdeps/unix/sysv/linux/alpha/wordexp.c: Renamed to ... * sysdeps/unix/sysv/linux/ia64/wordexp.c: ... here. * sysdeps/unix/sysv/linux/sparc/sparc64/wordexp.c: Change #include.
* * elf/elf.h (NT_386_IOPERM): New macro.Roland McGrath2008-11-262-0/+7
| | | | (NT_PPC_VSX): New macro.
* Moved alpha to ports repository.Roland McGrath2008-11-26345-29363/+15
| | | | | | | | | | | 2008-11-25 Roland McGrath <roland@redhat.com> * sysdeps/alpha, sysdeps/unix/bsd/osf/alpha, sysdeps/unix/bsd/Attic/osf1/alpha, sysdeps/unix/sysv/linux/alpha, sysdeps/unix/sysv/linux/alpha/alpha, sysdeps/unix/alpha, sysdeps/mach/alpha, sysdeps/mach/hurd/alpha: Subdirectories moved to ports repository. * configure.in (base_machine): Remove alpha case.
* .Ulrich Drepper2008-11-171-1/+4
|
* [BZ #6411]Ulrich Drepper2008-11-1718-89/+639
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-11-13 Ryan S. Arnold <rsa@us.ibm.com> [BZ #6411] * sysdeps/powerpc/fpu/Makefile: Added test case tst-setcontext-fpscr. * sysdeps/powerpc/fpu/feholdexcpt.c (_FPU_MASK_ALL): Define to replace magic numbers. * sysdeps/powerpc/fpu/fenv_libc.h (fesetenv_register): Dynamically choose mtfsf insn based on PPC_FEATURE_HAS_DFP. (relax_fenv_state): Same as above. (FPSCR_29): Reserve bit in ISA 2.05. (FPSCR_NI): Provide define for compat. * sysdeps/powerpc/fpu/fesetenv.c (_FPU_MASK_ALL): Define to replace magic numbers. * sysdeps/powerpc/fpu/feupdateenv.c (_FPU_MASK_ALL): Define to replace magic numbers. * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: New file. Test case to test setcontext and swapcontext with dynamic 64-bit FPSCR detection. * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S (__longjmp): Adjust access to hwcap to account for hwcap size increase to uint64_t. * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S (__sigsetjmp ): Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S (*setcontext): Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/setcontext.S: New file. * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/swapcontext.S: New file. * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S (*setcontext): dynamically select mtfsf insn based on PPC_FEATURE_HAS_DFP. Adjust access to hwcap to account for hwcap size increase to uint64_t. * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S (*swapcontext): dynamically select mtfsf insn based on PPC_FEATURE_HAS_DFP. Adjust access to hwcap to account for hwcap size increase to uint64_t. * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/setcontext.S: New file. * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/swapcontext.S: New file. * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S (*setcontext): dynamically select mtfsf insn based on PPC_FEATURE_HAS_DFP. * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S (*swapcontext): dynamically select mtfsf insn based on PPC_FEATURE_HAS_DFP.
* * include/features.h (__GLIBC_MINOR__): Bump to 9. glibc-2.9 cvs/glibc-2_9-base cvs/glibc-2_9 cvs/fedora-glibc-20081113T2206 cvs/glibc-2_9-branchUlrich Drepper2008-11-132-1/+2
|
* * version.h: Bump for 2.9 release.Ulrich Drepper2008-11-132-2/+4
|
* [BZ #7029]Ulrich Drepper2008-11-132-2/+9
| | | | | | | | 2008-11-13 Ulrich Drepper <drepper@redhat.com> [BZ #7029] * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_ALLOC_SIZE): Multiply with sizeof of __cpu_mask, not 8 unconditionally after all the rounding.
* [BZ #7009] cvs/fedora-glibc-20081112T2008Ulrich Drepper2008-11-126-6/+203
|
* * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Don't abort forUlrich Drepper2008-11-121-0/+5
| | | | unknown request types for now.
* (gaih_getanswer_slice): Don't abort for unknown request types for now.Ulrich Drepper2008-11-121-0/+7
|
* * sysdeps/x86_64/configure: New file.Roland McGrath2008-11-113-1/+15
| | | | | * configure.in: Add AC_SUBST(libc_cv_cpp_asm_debuginfo). * configure: Regenerated.
* 2008-11-11 Roland McGrath <roland@redhat.com>Roland McGrath2008-11-111-0/+3
| | | | * sysdeps/x86_64/configure: New file.
* * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_profile): Use the Jakub Jelinek2008-11-072-1/+6
| | | | | | | | correct instruction to remove the stack frame. 2008-11-03 Martin Schwidefsky <schwidefsky@de.ibm.com> * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_profile): Use the correct instruction to remove the stack frame.
* * sysdeps/s390/bits/atomic.h (__arch_compare_and_exchange_val_32_acq, Jakub Jelinek2008-11-072-2/+7
| | | | | | | | __arch_compare_and_exchange_val_64_acq): Add "memory" clobber. 2008-11-03 Michael Matz <matz@suse.de> * sysdeps/s390/bits/atomic.h (__arch_compare_and_exchange_val_32_acq, __arch_compare_and_exchange_val_64_acq): Add "memory" clobber.
* * include/stdio.h (__builtin_fwrite, __builtin_fwrite_unlocked): Jakub Jelinek2008-11-072-11/+3
| | | | | | Remove. * include/stdio.h (__builtin_fwrite, __builtin_fwrite_unlocked): Remove.
* * bits/libc-tsd.h (__libc_tsd_define, __libc_tsd_address, Jakub Jelinek2008-11-0714-87/+120
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | __libc_tsd_get, __libc_tsd_set): Add TYPE argument, use it as the type of the thread variable instead of void *. * sysdeps/mach/hurd/bits/libc-tsd.h (__libc_tsd_define, __libc_tsd_address, __libc_tsd_get, __libc_tsd_set): Likewise. * include/ctype.h (CTYPE_B, CTYPE_TOUPPER, CTYPE_TOLOWER): Adjust __libc_tsd_define arguments. (__ctype_b_loc, __ctype_toupper_loc, __ctype_tolower_loc): Adjust __libc_tsd_address arguments. Remove union hack. * include/rpc/rpc.h (RPC_VARS): Adjust __libc_tsd_define arguments. * sunrpc/rpc_thread.c (RPC_VARS): Likewise. (__rpc_thread_destroy, rpc_thread_multi, __rpc_thread_variables): Adjust __libc_tsd_{set,get} arguments. * ctype/ctype-info.c (CTYPE_B, CTYPE_TOUPPER, CTYPE_TOLOWER): Adjust __libc_tsd_define arguments. * locale/uselocale.c (__uselocale): Adjust __libc_tsd_{set,get} arguments. * locale/lc-ctype.c (_nl_postload_ctype): Likewise. * locale/global-locale.c (__libc_tsd_LOCALE): Adjust type. (LOCALE): Adjust __libc_tsd_define arguments. * locale/localeinfo.h (_NL_CURRENT_LOCALE): Adjust __libc_tsd_get arguments. (LOCALE): Adjust __libc_tsd_define arguments. * sysdeps/mach/hurd/malloc-machine.h (MALLOC): Adjust __libc_tsd_define arguments. (tsd_setspecific, tsd_getspecific): Adjust __libc_tsd_{set,get} arguments. nptl/ * sysdeps/pthread/malloc-machine.h (MALLOC): Adjust __libc_tsd_define arguments. (tsd_setspecific, tsd_getspecific): Adjust __libc_tsd_{set,get} arguments. 2008-11-07 Jakub Jelinek <jakub@redhat.com> * bits/libc-tsd.h (__libc_tsd_define, __libc_tsd_address, __libc_tsd_get, __libc_tsd_set): Add TYPE argument, use it as the type of the thread variable instead of void *. * sysdeps/mach/hurd/bits/libc-tsd.h (__libc_tsd_define, __libc_tsd_address, __libc_tsd_get, __libc_tsd_set): Likewise. * include/ctype.h (CTYPE_B, CTYPE_TOUPPER, CTYPE_TOLOWER): Adjust __libc_tsd_define arguments. (__ctype_b_loc, __ctype_toupper_loc, __ctype_tolower_loc): Adjust __libc_tsd_address arguments. Remove union hack. * include/rpc/rpc.h (RPC_VARS): Adjust __libc_tsd_define arguments. * sunrpc/rpc_thread.c (RPC_VARS): Likewise. (__rpc_thread_destroy, rpc_thread_multi, __rpc_thread_variables): Adjust __libc_tsd_{set,get} arguments. * ctype/ctype-info.c (CTYPE_B, CTYPE_TOUPPER, CTYPE_TOLOWER): Adjust __libc_tsd_define arguments. * locale/uselocale.c (__uselocale): Adjust __libc_tsd_{set,get} arguments. * locale/lc-ctype.c (_nl_postload_ctype): Likewise. * locale/global-locale.c (__libc_tsd_LOCALE): Adjust type. (LOCALE): Adjust __libc_tsd_define arguments. * locale/localeinfo.h (_NL_CURRENT_LOCALE): Adjust __libc_tsd_get arguments. (LOCALE): Adjust __libc_tsd_define arguments. * sysdeps/mach/hurd/malloc-machine.h (MALLOC): Adjust __libc_tsd_define arguments. (tsd_setspecific, tsd_getspecific): Adjust __libc_tsd_{set,get} arguments.
* * malloc/malloc.c (public_rEALLOc): When new arena is used, copyUlrich Drepper2008-11-033-2/+11
| | | | really all bytes. Patch by Denys Vlasenko <dvlasenk@redhat.com>.
* [BZ #6955]Ulrich Drepper2008-11-015-11/+44
| | | | | | | | | | 2008-11-01 Ulrich Drepper <drepper@redhat.com> [BZ #6955] * pthread_mutex_lock.c: Add support for private PI mutexes. * pthread_mutex_timedlock.c: Likewise. * pthread_mutex_trylock.c: Likewise. * pthread_mutex_unlock.c: Likewise. Patch mostly by Ben Jackson <ben@ben.com>.
* [BZ #6966]Ulrich Drepper2008-11-012-12/+12
| | | | | | 2008-11-01 Ulrich Drepper <drepper@redhat.com> [BZ #6966] * misc/hsearch_r.c (hsearch_r): Fix secondary hash function.