about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* * hurd/hurd/xattr.h: New file.Roland McGrath2006-02-2014-2/+604
| | | | | | | | | | | | | | | * hurd/xattr.c: New file. * hurd/Makefile (routines): Add it. * sysdeps/mach/hurd/fgetxattr.c: New file. * sysdeps/mach/hurd/flistxattr.c: New file. * sysdeps/mach/hurd/fremovexattr.c: New file. * sysdeps/mach/hurd/fsetxattr.c: New file. * sysdeps/mach/hurd/getxattr.c: New file. * sysdeps/mach/hurd/lgetxattr.c: New file. * sysdeps/mach/hurd/listxattr.c: New file. * sysdeps/mach/hurd/lsetxattr.c: New file. * sysdeps/mach/hurd/removexattr.c: New file. * sysdeps/mach/hurd/setxattr.c: New file.
* * string/tester.c (test_strnlen): New function.Roland McGrath2006-02-202-0/+38
| | | | | | (test_strchr): Call it. (test_strncat): Test lengths where the sign bit is set. (test_strncmp): Likewise.
* typoRoland McGrath2006-02-201-1/+1
| | | | * pthreadP.h: Define PTHREAD_MUTEX_INCONSISTENT instead of
* * tst-robust1.c: Add second mutex to check that the mutex list isUlrich Drepper2006-02-182-22/+97
| | | | handled correctly.
* * include/atomic.h (atomic_and, atomic_or): Define.Ulrich Drepper2006-02-178-21/+415
|
* * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Add lll_robust_mutex_* cvs/fedora-glibc-20060217T1609Ulrich Drepper2006-02-173-0/+341
| | | | | definitions. * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: New file.
* * sysdeps/unix/sysv/linux/x86_64/lowlevellock.hUlrich Drepper2006-02-1712-20/+27
| | | | | | (lll_robust_mutex_unlock): Avoid unnecessary wakeups. * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_mutex_unlock): Likewise.
* * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Define MADV_DONTFORKUlrich Drepper2006-02-1511-0/+54
| | | | | | | | | | | | and MADV_DOFORK. * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise. * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise. * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise. * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise. * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise. * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise. * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise. * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
* * sysdeps/unix/sysv/linux/not-cancel.h (__openat_not_cancel,Ulrich Drepper2006-02-1528-208/+1020
| | | | | | | __openat64_not_cancel): Remove prototypes. (__openat_nocancel, __openat64_nocancel): New prototypes or defines. (openat_not_cancel, openat_not_cancel_3, openat64_not_cancel, openat64_not_cancel_3): Use them.
* * allocatestack.c (allocate_stack): Initialize robust_list. cvs/fedora-glibc-20060213T0650Ulrich Drepper2006-02-139-46/+96
| | | | | | | | | | | | | * init.c (__pthread_initialize_minimal_internal): Likewise. * descr.h (struct xid_command): Pretty printing. (struct pthread): Use __pthread_list_t or __pthread_slist_t for robust_list. Adjust macros. * pthread_create.c (start_thread): Adjust robust_list handling. * phtread_mutex_unlock.c: Don't allow unlocking from any thread but the owner for all robust mutex types. * sysdeps/unix/sysv/linux/i386/bits/pthreadtypes.h: Define __pthread_list_t and __pthread_slist_t. Use them in pthread_mutex_t. * sysdeps/pthread/pthread.h: Adjust mutex initializers.
* * sysdeps/unix/sysv/linux/i386/not-cancel.h: Define openat_not_cancel,Ulrich Drepper2006-02-121-0/+5
| | | | openat_not_cancel_3, openat64_not_cancel, and openat64_not_cancel_3.
* [BZ #2226]Ulrich Drepper2006-02-1219-97/+308
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-02-12 Ulrich Drepper <drepper@redhat.com> * io/ftw.c: Start using *at functions. * io/ftw64.c: Likewise. * sysdeps/generic/not-cancel.h: Define openat_not_cancel, openat_not_cancel_3, openat64_not_cancel, and openat64_not_cancel_3. * sysdeps/unix/sysv/linux/not-cancel.h: Likewise. * sysdeps/unix/sysv/linux/openat.c: Create separate _nocancel functions. * io/fxstatat.c: Add __fxstatat alias. * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Likewise. * sysdeps/unix/sysv/linux/fxstatat.c: Likewise. Add support for newfstatat syscall. * sysdeps/unix/sysv/linux/i386/fxstatat.c: Add __fxstatat alias. Add support for fstatat64 syscall. * include/sys/stat.h: Declare __fxstatat. * io/fxstatat64.c: Add __fxstatat64 alias. * sysdeps/unix/sysv/linux/fxstatat64.c: Add support for fstatat64 syscall. * dirent/fdopendir.c: Add __fdopendir alias. * sysdeps/unix/fdopendir.c: Likewise. * sysdeps/mach/hurd/fdopendir.c: Likewise. * include/dirent.h: Add __fdopendir declaration. [BZ #2226] * libio/wgenops.c (_IO_wsetb): Use correct size of wide char buffer in FREE_BUF call.
* * sysdeps/unix/sysv/linux/bits/sched.h: Declare unshare.Ulrich Drepper2006-02-085-3/+26
| | | | | | | | | | * sysdeps/unix/sysv/linux/Versions [libc, GLIBC_2.4]: Export unshare. * sysdeps/unix/sysv/linux/syscalls.list: Add unshare syscall. * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Add some preprocessor magic so that the compiler won't see the prototypes for the functions we are defining as stubs.
* * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_futex_wait,Ulrich Drepper2006-02-083-25/+48
| | | | lll_futex_timedwait, lll_wait_tid): Add "memory" clobber.
* * io/ftw.c (ftw_startup): Use fchdir to return to originalUlrich Drepper2006-02-052-21/+35
| | | | directory for FTW_CHDIR.
* * manual/stdio.texi (Formatted Output Functions): Fix make_message cvs/fedora-glibc-20060204T0758Ulrich Drepper2006-02-041-0/+5
| | | | example. Patch by NIIBE Yutaka <gniibe@m17n.org>.
* Fix make_message example.Ulrich Drepper2006-02-041-1/+2
|
* * structs.def: Add a descriptor for pointer.val field of dtv_t.Roland McGrath2006-02-043-5/+18
| | | | | * td_thr_tlsbase.c (td_thr_tlsbase): Extract pointer.val field from DTV slot.
* [BZ #2268]Roland McGrath2006-02-033-5/+18
| | | | | | | | | | 2006-02-03 Roland McGrath <roland@redhat.com> [BZ #2268] * sysdeps/posix/profil.c (__profil): Use __profile_frequency to choose timer interval, don't assume smallest possible interval is it. * sysdeps/powerpc/fpu/bits/fenvinline.h (fegetround): Make asm volatile.
* * stdlib/bits/stdlib-ldbl.h (qecvt, qfcvt, qgcvt, qecvt_r, qfcvt_r):Roland McGrath2006-02-032-1/+16
| | | | | | | | | | | | Guard with [__USE_SVID || __USE_XOPEN_EXTENDED]. * math/math.h [__LDBL_COMPAT && __USE_ISOC99] (nexttowardl): New prototype. * math/math.h (__nldbl_nexttowardf): Put __THROW before __attribute__ ((__const__)). (__MATHDECL_2): Use __REDIRECT_NTH instead of __REDIRECT followed by __THROW.
* 2006-02-03 Jakub Jelinek <jakub@redhat.com>Roland McGrath2006-02-031-3/+6
| | | | | | | | | * math/math.h [__LDBL_COMPAT && __USE_ISOC99] (nexttowardl): New prototype. * math/math.h (__nldbl_nexttowardf): Put __THROW before __attribute__ ((__const__)). (__MATHDECL_2): Use __REDIRECT_NTH instead of __REDIRECT followed by __THROW.
* * sysdeps/unix/sysv/linux/futimesat.c [__NR_futimesat] cvs/fedora-glibc-20060203T0932Ulrich Drepper2006-02-032-0/+7
| | | | | (futimesat): If file is NULL use __futimes. * include/sys/time.h: Declare __futimes.
* [__NR_futimesat] (futimesat): If file is NULL use __futimes.Ulrich Drepper2006-02-031-0/+3
|
* typoRoland McGrath2006-02-021-1/+1
| | | | CFLAGS-rtld-strnlen.os): Likewise.
* * sysdeps/unix/sysv/linux/openat.c (__atfct_seterrno): Use the sameRoland McGrath2006-02-022-15/+8
| | | | | fstat check for ENOENT that should be EBADF as for ENOTDIR, and also check for missing /proc the same way.
* * include/errno.h [__cplusplus]: Avoid extra header magic for C++.Roland McGrath2006-02-022-1/+3
|
* * manual/install.texi (Tools for Compilation): Require gcc 3.4,Roland McGrath2006-02-023-22/+31
| | | | | | recommend 4.1, advise 4.0 for powerpc64, and note 4.1 required for powerpc, s390{x,} with new long double. * INSTALL: Regenerated.
* * timezone/private.h: Update from tzcode2006a.Roland McGrath2006-02-026-82/+190
| | | | | | | * timezone/scheck.c: Likewise. * timezone/asia: Update from tzdata2006a. * timezone/northamerica: Likewise. * timezone/zone.tab: Likewise.
* * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): New variable.Roland McGrath2006-02-023-8/+29
| | | | | | | | (CFLAGS-mcount.c): Use it instead of -msoft-float. * sysdeps/powerpc/powerpc64/elf/Makefile (CFLAGS-dl-runtime.os, CFLAGS-dl-lookup.os, CFLAGS-dl-misc.os, CFLAGS-rtld-mempcpy.os, CFLAGS-rtld-memmove.os, CFLAGS-rtld-memchr.os, CFLAGS-rtld-strnlen.os): LIkewise
* * sysdeps/ieee754/ldbl-opt/Makefile (sysdep-CFLAGS): Avoid addingRoland McGrath2006-02-021-0/+5
| | | | -mlong-double-128 when it's already there.
* 2006-02-01 Roland McGrath <roland@redhat.com>Roland McGrath2006-02-021-0/+2
| | | | | * sysdeps/ieee754/ldbl-opt/Makefile (sysdep-CFLAGS): Avoid adding -mlong-double-128 when it's already there.
* * sysdeps/unix/sysv/linux/x86_64/sysconf.c (intel_02_known): Likewise.Ulrich Drepper2006-02-021-0/+1
|
* (intel_02_known): Add some more entries.Ulrich Drepper2006-02-021-1/+15
|
* * mach/Machrules ($(objpfx)%.uh, $(objpfx)%.__h): Use static pattern cvs/fedora-glibc-20060202T0507Roland McGrath2006-02-012-4/+12
| | | | | | rules for these, not implicit rules. ($(objpfx)%.h): Likewise. Reported by Thomas Schwinge <tschwinge@gnu.org>.
* * libio/genops.c: Include <stdbool.h>.Roland McGrath2006-02-012-0/+5
|
* * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Use long_double_symbolRoland McGrath2006-02-013-5/+12
| | | | | | | even for libm. * libio/bits/libio-ldbl.h (_IO_vfwscanf, _IO_vfwprintf): Remove __LDBL_REDIR_DECL.
* * math/bits/mathcalls.h: Guard __END_NAMESPACE_C99 with theRoland McGrath2006-02-012-3/+10
| | | | | same #if condition as corresponding __BEGIN_NAMESPACE_C99. (scalb): Don't define only if __USE_ISOC99.
* * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Fix a typo.Roland McGrath2006-02-011-0/+5
| | | | * sysdeps/s390/fpu/libm-test-ulps: Remove llrint ulps.
* 2006-02-01 Jakub Jelinek <jakub@redhat.com>Roland McGrath2006-02-012-58/+2
| | | | | * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Fix a typo. * sysdeps/s390/fpu/libm-test-ulps: Remove llrint ulps.
* * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): AddUlrich Drepper2006-02-011-0/+5
| | | | some more entries.
* (intel_02_known): Add some more entries.Ulrich Drepper2006-02-011-1/+15
|
* * sysdeps/unix/sysv/linux/alpha/fpu/Implies: New file. cvs/fedora-glibc-20060201T0846Roland McGrath2006-02-0114-15/+142
| | | | | | | | | | | | | | | | | | | * sysdeps/alpha/fpu/s_ceil.c: Include math_ldbl_opt.h, add compat_symbol if LONG_DOUBLE_COMPAT. * sysdeps/alpha/fpu/s_copysign.c: Likewise. * sysdeps/alpha/fpu/s_fabs.c: Likewise. * sysdeps/alpha/fpu/s_floor.c: Likewise. * sysdeps/alpha/fpu/s_rint.c: Likewise. * sysdeps/alpha/soft-fp/e_sqrtl.c: New file. * sysdeps/alpha/Implies: Add ieee754/ldbl-128. * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: New file. * sysdeps/unix/sysv/linux/alpha/Implies: Add ieee754/ldbl-64-128, ieee754/ldbl-opt. * sysdeps/alpha/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Remove. * sysdeps/unix/sysv/linux/alpha/nldbl-abi.h: New file. * sysdeps/unix/sysv/linux/alpha/Makefile [$(subdir) = math] (libm-routines): Add multc3, divtc3.
* * math/divtc3.c: New file.Roland McGrath2006-02-0127-102/+834
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * math/multc3.c: New file. * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile [$(subdir) = math] (libm-routines): Add multc3, divtc3. * sysdeps/unix/sysv/linux/sparc/sparc32/fpu/Implies: New file. * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include math.h and math_ldbl_opt.h. (fabsl): Use long_double_symbol instead of weak_alias. * sysdeps/sparc/sparc32/fpu/s_fabs.c: Include math.h and math_ldbl_opt.h. [LONG_DOUBLE_COMPAT] (fabsl): Add compat_symbol. 2006-01-31 Martin Schwidefsky <schwidefsky@de.ibm.com> Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/s390/Implies: New file. * sysdeps/unix/sysv/linux/s390/fpu/Implies: New file. * sysdeps/unix/sysv/linux/s390/nldbl-abi.h: New file. * sysdeps/s390/fpu/bits/mathinline.h (signbitl, sqrtl): New inlines. * sysdeps/s390/bits/mathdef.h: New file. * sysdeps/s390/fpu/e_sqrtl.c: New file. * sysdeps/s390/s390-32/bits/wordsize.h (__LONG_DOUBLE_MATH_OPTIONAL, __NO_LONG_DOUBLE_MATH): Define. * sysdeps/s390/s390-64/bits/wordsize.h: Likewise. * sysdeps/s390/Implies: Add ieee754/ldbl-128. * sysdeps/s390/ldbl2mpn.c: File removed. * sysdeps/s390/fpu/libm-test-ulps: Updated. 2006-01-31 Roland McGrath <roland@redhat.com> * sysdeps/alpha/fpu/bits/mathdef.h: Moved to ... * sysdeps/alpha/bits/mathdef.h: ... here. * sysdeps/i386/fpu/bits/mathdef.h: Moved to ... * sysdeps/i386/bits/mathdef.h: ... here. * sysdeps/mips/fpu/bits/mathdef.h: Moved to ... * sysdeps/mips/bits/mathdef.h: ... here. * sysdeps/m68k/fpu/bits/mathdef.h: Moved to ... * sysdeps/m68k/bits/mathdef.h: ... here. * sysdeps/powerpc/fpu/bits/mathdef.h: Moved to ... * sysdeps/powerpc/bits/mathdef.h: ... here. * sysdeps/sparc/fpu/bits/mathdef.h: Moved to ... * sysdeps/sparc/bits/mathdef.h: ... here. * sysdeps/ia64/fpu/bits/mathdef.h: Moved to ... * sysdeps/ia64/bits/mathdef.h: ... here. * sysdeps/sh/sh4/fpu/bits/mathdef.h: Moved to ... * sysdeps/sh/sh4/bits/mathdef.h: ... here. * sysdeps/x86_64/fpu/bits/mathdef.h: Moved to ... * sysdeps/x86_64/bits/mathdef.h: ... here. 2006-01-31 Jakub Jelinek <jakub@redhat.com>
* * sysdeps/unix/sysv/linux/i386/fxstatat.c [XSTAT_IS_STAT64]Roland McGrath2006-02-014-1/+12
| | | | | | | | | (__fxstatat64): Add libc_hidden_ver. * sysdeps/unix/sysv/linux/fxstatat.c [XSTAT_IS_STAT64] (__fxstatat64): Likewise. * sysdeps/sparc/sparc64/jmpbuf-unwind.h: Remove jmpbuf-offsets.h include.
* * sysdeps/powerpc/fpu/libm-test-ulps: Update by Jakub.Roland McGrath2006-01-312-6/+76
|
* * inet/rcmd.c (iruserfopen): Remove redundant initialization.Roland McGrath2006-01-313-4/+9
| | | | | | | From Bernhard Fischer <rep.nop@aon.at>. * posix/regcomp.c (calc_eclosure_iter): Remove dead variables. Reported by Mike Frysinger <vapier@gentoo.org>.
* * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Correct indexRoland McGrath2006-01-319-28/+328
| | | | | | | | | | | | | for __sincosl_table. * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise. * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise. * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Correct sign of 0.0. * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise. * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: New file. * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: New file. * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: New file.
* * sysdeps/unix/sysv/linux/mips/bits/errno.h (ECANCELED,Roland McGrath2006-01-315-12/+39
| | | | | | | | | | | | | | EOWNERDEAD, ENOTRECOVERABLE): Define. * sysdeps/unix/sysv/linux/mips/bits/mman.h (MADV_REMOVE): Define. * sysdeps/mips/dl-machine.h (RTLD_START): Correct offsets for N64. * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct msghdr): Use size_t for msg_controllen. (__cmsg_nxthdr): Correct test. (__SCM_CONNECT): Delete.
* 2006-01-30 Alexandre Oliva <aoliva@redhat.com>Roland McGrath2006-01-303-14/+26
| | | | | | | | | Roland McGrath <roland@redhat.com> * configure.in (fno_unit_at_a_time): Set to -fno-toplevel-reorder if the compiler supports it. Otherwise use -fno-unit-at-a-time unconditionally. * configure: Regenerated.
* * sysdeps/powerpc/fpu/libm-test-ulps: Merge ulps with olderRoland McGrath2006-01-302-86/+103
| | | | libm-test-ulps rather than overwrite it. Remove excessively high ulps.