aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2006-01-21* sysdeps/unix/sysv/linux/faccessat.c: Move RESULT defn inside block.Roland McGrath2-3/+3
2006-01-21* misc/tst-pselect.c: Include <unistd.h>.Roland McGrath2-6/+9
* time/time.h [__need_timespec et al]: Include <bits/types.h> here too. * stdlib/fpioconst.c: Fix whitespace typo.
2006-01-21* sysdeps/ieee754/ldbl-64-128/s_nexttowardfd.c: Moved to...Roland McGrath3-2/+12
* sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: ... here. New file. * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (long_double_symbol_1): For C define again using _weak_alias, for assembler use weak_alias.
2006-01-21* sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: New file.Roland McGrath4-5/+76
* sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: New file. * sysdeps/powerpc/fpu/bits/mathinline.h (__CPU_HAS_FSQRT): New macro. (__ieee754_sqrt, __ieee754_sqrtf): Use it.
2006-01-21* time/time.h [__need_timespec et al]: Include <bits/types.h> here too.Roland McGrath2-2/+8
* stdlib/fpioconst.c: Fix whitespace typo. * sysdeps/unix/sysv/linux/i386/call_pselect6.S: New file.
2006-01-212006-01-21 Roland McGrath <roland@redhat.com>Roland McGrath1-1/+4
* time/time.h [__need_timespec et al]: Include <bits/types.h> here too.
2006-01-21* sysdeps/unix/sysv/linux/pselect.c (__pselect): Allow actualUlrich Drepper7-8/+235
system call code to be redefined in macro CALL_PSELECT6. * sysdeps/unix/sysv/linux/i386/Makefile [subdir=misc] (sysdep_routines): Add call_pselect6. * sysdeps/unix/sysv/linux/i386/call_pselect6.c: New file. * sysdeps/unix/sysv/linux/i386/pselect.c: New file. * misc/Makefile (tests): Add tst-pselect. * misc/tst-pselect.c: New file. * sysdeps/unix/sysv/linux/pselect.c: Fix typo in declaration. * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Cast k_dev value to unsigned int to match kernel.
2006-01-21(__xmknodat): Cast k_dev value to unsigned int to match kernel.Ulrich Drepper1-1/+2
2006-01-21* sysdeps/mach/hurd/ppoll.c: New file.Roland McGrath1-0/+4
2006-01-212006-01-20 Roland McGrath <roland@frob.com>Roland McGrath1-0/+30
* sysdeps/mach/hurd/ppoll.c: New file.
2006-01-20* io/Makefile (tests): Add tst-symlinkat, tst-linkat, tst-readlinkat,Ulrich Drepper5-3/+493
tst-mkdirat, tst-mknodat, and tst-mkfifoat. * io/tst-mkdirat.c: New file. * io/tst-mknodat.c: New file. * io/tst-mkfifoat.c: New file.
2006-01-20* sysdeps/unix/sysv/linux/faccessat.c (faccessat): Try using theUlrich Drepper2-1/+4
syscall in more cases.
2006-01-20* io/Makefile (tests): Add tst-symlinkat, tst-linkat, andUlrich Drepper5-1/+479
tst-readlinkat. * io/tst-symlinkat.c: New file. * io/tst-linkat.c: New file. * io/tst-readlinkat.c: New file.
2006-01-20.Ulrich Drepper2-14/+1
2006-01-20* sysdeps/unix/fdopendir.c (fdopendir): If O_DIRECTORY isUlrich Drepper4-4/+65
available, avoid stat call, use fcntl result to determine whether descriptor is for a directory or not. * dirent/Makefile (tests): Add tst-fdopendir2. * dirent/tst-fdopendir2.c: New file.
2006-01-20* sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.hUlrich Drepper2-0/+13
(sigcontext_struct) [__WORDSIZE == 32]: Define.
2006-01-20* sysdeps/sh/sh4/__longjmp.S: Demangle also r14 and r15.Ulrich Drepper8-23/+88
* sysdeps/sh/sh3/__longjmp.S: Likewise. * sysdeps/sh/sh4/setjmp.S: Mangle also r14 and r15. * sysdeps/sh/sh3/setjmp.S: Likewise. * sysdeps/unix/sysv/linux/sh/sysdep.h [__ASSEMBLER__] (PTR_MANGLE): Add temporary register as the second parameter. (PTR_DEMANGLE): Likewize. (PTR_MANGLE2, PTR_DEMANGLE2): Define.
2006-01-20* include/fcntl.h: Declare __have_atfcts.Ulrich Drepper25-75/+731
* sysdeps/unix/sysv/linux/faccessat.c: Use syscall if available. * sysdeps/unix/sysv/linux/fchmodat.c: Likewise. * sysdeps/unix/sysv/linux/fchownat.c: Likewise. * sysdeps/unix/sysv/linux/futimesat.c: Likewise. * sysdeps/unix/sysv/linux/linkat.c: Likewise. * sysdeps/unix/sysv/linux/mkdirat.c: Likewise. * sysdeps/unix/sysv/linux/openat.c: Likewise. * sysdeps/unix/sysv/linux/readlinkat.c: Likewise. * sysdeps/unix/sysv/linux/renameat.c: Likewise. * sysdeps/unix/sysv/linux/symlinkat.c: Likewise. * sysdeps/unix/sysv/linux/unlinkat.c: Likewise. * sysdeps/unix/sysv/linux/xmknodat.c: Likewise. * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Likewise. * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PSELECT, __ASSUME_PPOLL, and __ASSUME_ATFCTS if possible. * io/ppoll.c: New file. * io/Makefile (routines): Add ppoll. (CFLAGS-ppoll.c): Define. * io/Versions: Export ppoll for GLIBC_2.4. * io/sys/poll.h: Declare ppoll. * sysdeps/unix/sysv/linux/ppoll.c: New file. * misc/pselect.c: Make it possible to include this file to define the generic code as a static function. * sysdeps/unix/sysv/linux/pselect.c: New file.
2006-01-19Include sysdep-cancel.h again. Add LIBC_CANCEL_HANDLED ().Ulrich Drepper2-0/+4
2006-01-19* misc/pselect.c (__pselect): Remove static.Ulrich Drepper2-1/+5
2006-01-19* misc/pselect.c (__pselect): No need to enable async cancellationUlrich Drepper1-0/+3
here. This is done in select.
2006-01-19(__pselect): No need to enable async cancellation here. This is done in select.Ulrich Drepper1-27/+4
2006-01-19* sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h [__ASSEMBLER__]: Don'tRoland McGrath3-10/+26
include problematic headers for assembler. * Makerules ($(+sysdir_pfx)sysd-rules): Don't emit m_%.c rules, instead emit m_%.o compilation rules from s_%.? source files. * math/Makefile ($(objpfx)m_%$o: s_%.c): New rule using o-iterator.
2006-01-192006-01-18 Roland McGrath <roland@redhat.com>Roland McGrath1-4/+7
* sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h [__ASSEMBLER__]: Don't include problematic headers for assembler.
2006-01-19* sysdeps/unix/sysv/linux/fxstatat.c [STAT_IS_KERNEL_STAT]Ulrich Drepper2-4/+9
(__fxstatat): Correct handling of invalid vers values.
2006-01-19[BZ #2173]Ulrich Drepper3-2/+126
2006-01-18 Ulrich Drepper <drepper@redhat.com> [BZ #2173] * libio/fileops.c (_IO_new_file_fopen): If ,ccs= is given, also set vtable to the wide vtable. * libio/tst-fopenloc2.c: New file. * libio/Makefile (tests): Add tst-fopenloc2. * sysdeps/unix/sysv/linux/shm_open.c [__ASSUME_TMPFS_NAME]
2006-01-19(_IO_new_file_fopen): If ,ccs= is given, also set vtable to the wide vtable.Ulrich Drepper1-1/+4
2006-01-18* sysdeps/ieee754/ldbl-opt/nldbl-dprintf.c: RestoreRoland McGrath2-0/+4
attribute_hidden here.
2006-01-18* sysdeps/sparc/sparc64/Makefile (long-double-fcts): Move this ...Roland McGrath3-3/+8
* sysdeps/sparc/Makefile (long-double-fcts): ... to here.
2006-01-18* elf/dl-deps.c (_dl_map_object_deps): In case of failure also make aRoland McGrath1-0/+5
copy of objname string.
2006-01-182006-01-18 Jakub Jelinek <jakub@redhat.com>Roland McGrath1-0/+2
* elf/dl-deps.c (_dl_map_object_deps): In case of failure also make a copy of objname string.
2006-01-18[BZ #2167]Andreas Jaeger1-1/+1
Update. [BZ #2167]
2006-01-18 [BZ #2167] * sysdeps/unix/sysv/linux/mips/bits/pthreadtypes.h ↵Andreas Jaeger2-4/+20
(pthread_mutex_t): Follow changes for other archs. Based on patch by Jim Gifford <patches@jg555.com>. 2006-01-18 Andreas Jaeger <aj@suse.de> [BZ #838] * sysdeps/unix/sysv/linux/mips/bits/pthreadtypes.h (pthread_mutex_t): Follow changes for other archs. Based on patch by Jim Gifford <patches@jg555.com>.
2006-01-17* Makerules ($(+sysdir_pfx)sysd-rules): Emit pattern rules to installRoland McGrath5-15/+51
into $(inst_includedir)/%.h from sysdirs. [headers]: Change static pattern rule for installing $(headers) to do only those not matching %.h. ($(inst_includedir)/%.h: $(objpfx)%.h): Add this pattern rule instead. ($(inst_includedir)/%.h: %.h): Likewise. ($(inst_includedir)/%.h: $(..)include/%.h): Likewise. * Makefile ($(inst_includedir)/gnu/stubs.h): Add $(make-target-directory). * stdlib/Makefile (headers): Restore headers removed in last change. 2006-01-16 Jakub Jelinek <jakub@redhat.com> * math/e_exp2l.c: Don't include stdio.h, errno.h, stub-tag.h, include math_private.h. (__ieee754_exp2l): Compute for now as expl (M_LN2l * x) instead of failing. (exp2l): Remove stub_warning. 2006-01-15 Jakub Jelinek <jakub@redhat.com> * io/tst-faccessat.c (do_test): Don't fail if geteuid () == 0.
2006-01-172006-01-15 Jakub Jelinek <jakub@redhat.com>Roland McGrath1-1/+1
* io/tst-faccessat.c (do_test): Don't fail if geteuid () == 0.
2006-01-16* libio/stdio.h: Declare open_wmemstream.Ulrich Drepper4-2/+14
* libio/Versions: Export open_wmemstream for GLIBC_2.4.
2006-01-16* sysdeps/unix/sysv/linux/kernel-features.h: DefineUlrich Drepper3-2/+25
__ASSUME_TMPFS_NAME. * sysdeps/unix/sysv/linux/shm_open.c [!__ASSUME_TMPFS_NAME] (where_is_shmfs): Don't test for obsolete shm filesystem name. * sysdeps/unix/sysv/linux/getsysstats.c: Don't search for proc mount point. We assume procfs is mounted at /proc in many other places already.
2006-01-16Don't search for proc mount point. We assume procfs is mounted at /proc in ↵Ulrich Drepper1-145/+39
many other places already.
2006-01-15[BZ #1950, BZ #2153]Andreas Jaeger18-32/+66
Update. [BZ #1950] * posix/regex_internal.c (re_string_reconstruct): Adjust for build_wcs_upper_buffer change. (build_wcs_upper_buffer): Change return type. [BZ #2153] * math/s_cacosh.c (__cacosh): Do not return a negative value. Patch by Wes Loewer <wjltemp-temp01@yahoo.com>. * math/s_cacoshl.c (__cacoshl): Likewise. * math/s_cacoshf.c (__cacoshf): Likewise. * math/libm-test.inc (cacosh_test): Adjust for change. * sysdeps/alpha/fpu/libm-test-ulps: Adopt for cacosh test change. * sysdeps/hppa/fpu/libm-test-ulps: Likewise. * sysdeps/i386/fpu/libm-test-ulps: Likewise. * sysdeps/ia64/fpu/libm-test-ulps: Likewise. * sysdeps/m68k/fpu/libm-test-ulps: Likewise. * sysdeps/mips/fpu/libm-test-ulps: Likewise. * sysdeps/powerpc/fpu/libm-test-ulps: Likewise. * sysdeps/s390/fpu/libm-test-ulps: Likewise. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise. * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise. * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2006-01-15[BZ #2078, BZ #2079]Andreas Jaeger3-4/+15
Update 2006-01-15 Andreas Jaeger <aj@suse.de> [BZ #2079] * libio/fputwc_u.c (fputwc_unlocked): Fix return value. * libio/getwc_u.c (__getwc_unlocked): Likewise. * libio/wfileops.c (_IO_wdo_write): Likewise. [BZ #2078] * libio/fputwc.c (fputwc): Use proper type for result. * libio/ioungetwc.c (ungetwc): Likewise.
2006-01-15[BZ #2079] Andreas Jaeger3-6/+6
* libio/fputwc_u.c (fputwc_unlocked): Fix return value. * libio/getwc_u.c (__getwc_unlocked): Likewise. * libio/wfileops.c (_IO_wdo_write): Likewise.
2006-01-15* sysdeps/unix/sysv/linux/bits/sched.h: Define SCHED_BATCH.Ulrich Drepper1-0/+4
2006-01-15Define SCHED_BATCH.Ulrich Drepper1-1/+4
2006-01-14* sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NLDBL_DECL): Don't tryRoland McGrath10-16/+84
attribute_hidden here. * sysdeps/ieee754/ldbl-opt/nldbl-vsyslog.c (vsyslog): Restore attribute_hidden here. * sysdeps/ieee754/ldbl-opt/nldbl-asprintf.c (__asprintf): Likewise. * sysdeps/ieee754/ldbl-opt/nldbl-fprintf.c (fprintf): Likewise. * sysdeps/ieee754/ldbl-opt/nldbl-qecvt.c (qecvt): Likewise. * sysdeps/ieee754/ldbl-opt/nldbl-qfcvt.c (qfcvt): Likewise. * sysdeps/ieee754/ldbl-opt/nldbl-qgcvt.c (qgcvt): Likewise. * sysdeps/ieee754/ldbl-opt/configure.in: Use AC_TRY_COMPILE and verify __LONG_DOUBLE_128__ predefine. * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
2006-01-14Use NLDBL_DECL for __vstrfmon_l.Roland McGrath1-2/+2
(__nldbl___vsyslog_chk): Restore missing decl.
2006-01-14(__nldbl___vstrfmon, __nldbl___vsyslog_chk): Restore missing decls.Roland McGrath2-2/+7
2006-01-14* sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NLDBL_HIDDEN): Removed.Roland McGrath10-100/+114
(NLDBL_DECL): Rewritten. Remove __THROW from NLDBL_DECL uses. Use NLDBL_DECL for __vstrfmon, __vstrfmon_l. * sysdeps/ieee754/ldbl-opt/nldbl-asinh.c: Restore attribute_hidden. 2006-01-14 Jakub Jelinek <jakub@redhat.com> * misc/sys/cdefs.h (__LDBL_REDIR1_DECL): Define. (__LDBL_REDIR_DECL): Stringize __nldbl and name. * stdlib/bits/monetary-ldbl.h: Remove pastos from wchar-ldbl.h. (strfmon, strfmon_l): Add __LDBL_REDIR_DECL. * stdlib/bits/stdlib-ldbl.h (strtold, strtold_l, __strtold_internal, qecvt, qfcvt, qgcvt, qecvt_r, qfcvt_r): Use __LDBL_REDIR1_DECL instead of __LDBL_REDIR_DECL. * wcsmbs/bits/wchar-ldbl.h: Remove stale #if. (__LDBL_REDIR_WCHAR): Remove. (fwprintf, wprintf, swprintf, vfwprintf, vwprintf, vswprintf, fwscanf, wscanf, swscanf, vfwscanf, vwscanf, vswscanf): Use __LDBL_REDIR_DECL instead of __LDBL_REDIR_WCHAR. (wcstold, wcstold_l, __wcstold_internal): Add __LDBL_REDIR1_DECL. * wcsmbs/wchar.h: Include bits/wchar-ldbl.h after bits/wchar2.h instead of before it. (wcstold inline): Move #ifndef __LDBL_COMPAT before extern keyword. * libio/bits/stdio-ldbl.h (__snprintf_chk, __vsnprintf_chk): Add __LDBL_REDIR_DECL. * misc/bits/syslog-ldbl.h (vsyslog): Protect with #ifdef __USE_BSD. (__syslog_chk, __vsyslog_chk): Add __LDBL_REDIR_DECL. 2006-01-14 Roland McGrath <roland@redhat.com>
2006-01-14* sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NLDBL_DECL): Fix typo.Roland McGrath2-9/+18
(NLDBL_HIDDEN): New macro. (NLDBL_DECL): Use it in place of attribute_hidden.
2006-01-14* misc/efgcvt.c: Include <math_ldbl_opt.h> instead of <shlib-compat.h>.Roland McGrath3-2/+5
* misc/efgcvt_r.c: Likewise.
2006-01-14* sysdeps/unix/sysv/linux/sparc/sparc32/nldbl-abi.h: New file.Roland McGrath5-10/+24
* sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: #include <nldbl-abi.h> to define LONG_DOUBLE_COMPAT_VERSION. Use that in place of NLDBL_VERSION. * sysdeps/ieee754/ldbl-opt/Versions: Include <nldbl-abi.h>. * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: Revert last change.