about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* (__atfct_seterrno): Correcty return EBADF for non-existing file descriptors.Ulrich Drepper2006-01-221-12/+28
|
* * sysdeps/unix/sysv/linux/faccessat.c: Move RESULT defn inside block.Roland McGrath2006-01-212-3/+3
|
* * misc/tst-pselect.c: Include <unistd.h>.Roland McGrath2006-01-212-6/+9
| | | | | | * time/time.h [__need_timespec et al]: Include <bits/types.h> here too. * stdlib/fpioconst.c: Fix whitespace typo.
* * sysdeps/ieee754/ldbl-64-128/s_nexttowardfd.c: Moved to...Roland McGrath2006-01-213-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.
* * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: New file.Roland McGrath2006-01-214-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.
* * time/time.h [__need_timespec et al]: Include <bits/types.h> here too.Roland McGrath2006-01-212-2/+8
| | | | | | * stdlib/fpioconst.c: Fix whitespace typo. * sysdeps/unix/sysv/linux/i386/call_pselect6.S: New file.
* 2006-01-21 Roland McGrath <roland@redhat.com>Roland McGrath2006-01-211-1/+4
| | | | * time/time.h [__need_timespec et al]: Include <bits/types.h> here too.
* * sysdeps/unix/sysv/linux/pselect.c (__pselect): Allow actualUlrich Drepper2006-01-217-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.
* (__xmknodat): Cast k_dev value to unsigned int to match kernel.Ulrich Drepper2006-01-211-1/+2
|
* * sysdeps/mach/hurd/ppoll.c: New file.Roland McGrath2006-01-211-0/+4
|
* 2006-01-20 Roland McGrath <roland@frob.com>Roland McGrath2006-01-211-0/+30
| | | | * sysdeps/mach/hurd/ppoll.c: New file.
* * io/Makefile (tests): Add tst-symlinkat, tst-linkat, tst-readlinkat,Ulrich Drepper2006-01-205-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.
* * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Try using theUlrich Drepper2006-01-202-1/+4
| | | | syscall in more cases.
* * io/Makefile (tests): Add tst-symlinkat, tst-linkat, andUlrich Drepper2006-01-205-1/+479
| | | | | | | tst-readlinkat. * io/tst-symlinkat.c: New file. * io/tst-linkat.c: New file. * io/tst-readlinkat.c: New file.
* .Ulrich Drepper2006-01-202-14/+1
|
* * sysdeps/unix/fdopendir.c (fdopendir): If O_DIRECTORY isUlrich Drepper2006-01-204-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.
* * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.hUlrich Drepper2006-01-202-0/+13
| | | | (sigcontext_struct) [__WORDSIZE == 32]: Define.
* * sysdeps/sh/sh4/__longjmp.S: Demangle also r14 and r15.Ulrich Drepper2006-01-208-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.
* * include/fcntl.h: Declare __have_atfcts.Ulrich Drepper2006-01-2025-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.
* Include sysdep-cancel.h again. Add LIBC_CANCEL_HANDLED ().Ulrich Drepper2006-01-192-0/+4
|
* * misc/pselect.c (__pselect): Remove static.Ulrich Drepper2006-01-192-1/+5
|
* * misc/pselect.c (__pselect): No need to enable async cancellationUlrich Drepper2006-01-191-0/+3
| | | | here. This is done in select.
* (__pselect): No need to enable async cancellation here. This is done in select.Ulrich Drepper2006-01-191-27/+4
|
* * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h [__ASSEMBLER__]: Don'tRoland McGrath2006-01-193-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-18 Roland McGrath <roland@redhat.com>Roland McGrath2006-01-191-4/+7
| | | | | * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h [__ASSEMBLER__]: Don't include problematic headers for assembler.
* * sysdeps/unix/sysv/linux/fxstatat.c [STAT_IS_KERNEL_STAT]Ulrich Drepper2006-01-192-4/+9
| | | | (__fxstatat): Correct handling of invalid vers values.
* [BZ #2173]Ulrich Drepper2006-01-193-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]
* (_IO_new_file_fopen): If ,ccs= is given, also set vtable to the wide vtable.Ulrich Drepper2006-01-191-1/+4
|
* * sysdeps/ieee754/ldbl-opt/nldbl-dprintf.c: RestoreRoland McGrath2006-01-182-0/+4
| | | | attribute_hidden here.
* * sysdeps/sparc/sparc64/Makefile (long-double-fcts): Move this ...Roland McGrath2006-01-183-3/+8
| | | | * sysdeps/sparc/Makefile (long-double-fcts): ... to here.
* * elf/dl-deps.c (_dl_map_object_deps): In case of failure also make aRoland McGrath2006-01-181-0/+5
| | | | copy of objname string.
* 2006-01-18 Jakub Jelinek <jakub@redhat.com>Roland McGrath2006-01-181-0/+2
| | | | | * elf/dl-deps.c (_dl_map_object_deps): In case of failure also make a copy of objname string.
* [BZ #2167]Andreas Jaeger2006-01-181-1/+1
| | | | | Update. [BZ #2167]
* [BZ #2167] * sysdeps/unix/sysv/linux/mips/bits/pthreadtypes.h ↵Andreas Jaeger2006-01-182-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>.
* * Makerules ($(+sysdir_pfx)sysd-rules): Emit pattern rules to installRoland McGrath2006-01-175-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-15 Jakub Jelinek <jakub@redhat.com>Roland McGrath2006-01-171-1/+1
| | | | * io/tst-faccessat.c (do_test): Don't fail if geteuid () == 0.
* * libio/stdio.h: Declare open_wmemstream.Ulrich Drepper2006-01-164-2/+14
| | | | * libio/Versions: Export open_wmemstream for GLIBC_2.4.
* * sysdeps/unix/sysv/linux/kernel-features.h: DefineUlrich Drepper2006-01-163-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.
* Don't search for proc mount point. We assume procfs is mounted at /proc in ↵Ulrich Drepper2006-01-161-145/+39
| | | | many other places already.
* [BZ #1950, BZ #2153]Andreas Jaeger2006-01-1518-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.
* [BZ #2078, BZ #2079]Andreas Jaeger2006-01-153-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.
* [BZ #2079] Andreas Jaeger2006-01-153-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.
* * sysdeps/unix/sysv/linux/bits/sched.h: Define SCHED_BATCH.Ulrich Drepper2006-01-151-0/+4
|
* Define SCHED_BATCH.Ulrich Drepper2006-01-151-1/+4
|
* * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NLDBL_DECL): Don't tryRoland McGrath2006-01-1410-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.
* Use NLDBL_DECL for __vstrfmon_l.Roland McGrath2006-01-141-2/+2
| | | | (__nldbl___vsyslog_chk): Restore missing decl.
* (__nldbl___vstrfmon, __nldbl___vsyslog_chk): Restore missing decls.Roland McGrath2006-01-142-2/+7
|
* * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NLDBL_HIDDEN): Removed.Roland McGrath2006-01-1410-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>
* * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NLDBL_DECL): Fix typo.Roland McGrath2006-01-142-9/+18
| | | | | (NLDBL_HIDDEN): New macro. (NLDBL_DECL): Use it in place of attribute_hidden.
* * misc/efgcvt.c: Include <math_ldbl_opt.h> instead of <shlib-compat.h>.Roland McGrath2006-01-143-2/+5
| | | | * misc/efgcvt_r.c: Likewise.