Roland McGrath
c2b22a0818
2006-01-22 Aurelien Jarno <aurelien@aurel32.net>
...
* sysdeps/gnu/errlist-compat.awk: Reduce required number of symbols in
sanity check.
2006-01-23 21:26:20 +00:00
Ulrich Drepper
bdc7e223aa
* sysdeps/unix/sysv/linux/renameat.c (__atfct_seterrno_2): Correcty
...
return EBADF for non-existing file descriptors.
* sysdeps/unix/sysv/linux/openat.c (__atfct_seterrno): Likewise.
* io/tst-openat.c (do_test): Add some more tests.
* io/tst-faccessat.c (do_test): Likewise.
* io/tst-renameat.c (do_test): Likewise.
* io/tst-fstatat.c (do_test): Likewise.
* io/tst-fchmodat.c (do_test): Likewise.
* io/tst-fchownat.c (do_test): Likewise.
2006-01-22 00:57:24 +00:00
Ulrich Drepper
b2680b0331
(__atfct_seterrno): Correcty return EBADF for non-existing file descriptors.
2006-01-22 00:05:30 +00:00
Roland McGrath
c545373264
* sysdeps/unix/sysv/linux/faccessat.c: Move RESULT defn inside block.
2006-01-21 20:07:20 +00:00
Roland McGrath
79be21995e
* misc/tst-pselect.c: Include <unistd.h>.
...
* time/time.h [__need_timespec et al]: Include <bits/types.h> here too.
* stdlib/fpioconst.c: Fix whitespace typo.
2006-01-21 19:58:36 +00:00
Roland McGrath
4b66864656
* sysdeps/ieee754/ldbl-64-128/s_nexttowardfd.c: Moved to...
...
* 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 19:43:20 +00:00
Roland McGrath
5593c5ec78
* sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: New file.
...
* 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 19:41:11 +00:00
Roland McGrath
5e758ac3d3
* time/time.h [__need_timespec et al]: Include <bits/types.h> here too.
...
* stdlib/fpioconst.c: Fix whitespace typo.
* sysdeps/unix/sysv/linux/i386/call_pselect6.S: New file.
2006-01-21 19:33:57 +00:00
Roland McGrath
fe8fc5124f
2006-01-21 Roland McGrath <roland@redhat.com>
...
* time/time.h [__need_timespec et al]: Include <bits/types.h> here too.
2006-01-21 19:33:50 +00:00
Ulrich Drepper
5c983cdd08
* sysdeps/unix/sysv/linux/pselect.c (__pselect): Allow actual
...
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 08:21:04 +00:00
Ulrich Drepper
e6c8af451f
(__xmknodat): Cast k_dev value to unsigned int to match kernel.
2006-01-21 01:51:04 +00:00
Roland McGrath
c3272e9ed3
* sysdeps/mach/hurd/ppoll.c: New file.
2006-01-21 00:19:59 +00:00
Roland McGrath
368befef68
2006-01-20 Roland McGrath <roland@frob.com>
...
* sysdeps/mach/hurd/ppoll.c: New file.
2006-01-21 00:19:49 +00:00
Ulrich Drepper
046f451676
* io/Makefile (tests): Add tst-symlinkat, tst-linkat, tst-readlinkat,
...
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 23:24:42 +00:00
Ulrich Drepper
7a2645e470
* sysdeps/unix/sysv/linux/faccessat.c (faccessat): Try using the
...
syscall in more cases.
2006-01-20 22:37:35 +00:00
Ulrich Drepper
48a1d526d0
* io/Makefile (tests): Add tst-symlinkat, tst-linkat, and
...
tst-readlinkat.
* io/tst-symlinkat.c: New file.
* io/tst-linkat.c: New file.
* io/tst-readlinkat.c: New file.
2006-01-20 21:55:16 +00:00
Ulrich Drepper
2f15699349
.
2006-01-20 21:17:38 +00:00
Ulrich Drepper
a4f1763067
* sysdeps/unix/fdopendir.c (fdopendir): If O_DIRECTORY is
...
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 21:12:34 +00:00
Ulrich Drepper
437d785349
* sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h
...
(sigcontext_struct) [__WORDSIZE == 32]: Define.
2006-01-20 19:37:46 +00:00
Ulrich Drepper
a6df738797
* sysdeps/sh/sh4/__longjmp.S: Demangle also r14 and r15.
...
* 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 16:49:36 +00:00
Ulrich Drepper
7c65e9001b
* include/fcntl.h: Declare __have_atfcts.
...
* 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-20 07:08:05 +00:00
Ulrich Drepper
93c04024a6
Include sysdep-cancel.h again. Add LIBC_CANCEL_HANDLED ().
2006-01-19 15:52:01 +00:00
Ulrich Drepper
814ef022c6
* misc/pselect.c (__pselect): Remove static.
2006-01-19 15:24:31 +00:00
Ulrich Drepper
df3eec7da9
* misc/pselect.c (__pselect): No need to enable async cancellation
...
here. This is done in select.
2006-01-19 07:55:12 +00:00
Ulrich Drepper
b59b200e94
(__pselect): No need to enable async cancellation here. This is done in select.
2006-01-19 07:50:20 +00:00
Roland McGrath
2f663a980c
* sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h [__ASSEMBLER__]: Don't
...
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-19 07:29:40 +00:00
Roland McGrath
04a8a3c10a
2006-01-18 Roland McGrath <roland@redhat.com>
...
* sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h [__ASSEMBLER__]: Don't
include problematic headers for assembler.
2006-01-19 07:29:08 +00:00
Ulrich Drepper
536d1a8d50
* sysdeps/unix/sysv/linux/fxstatat.c [STAT_IS_KERNEL_STAT]
...
(__fxstatat): Correct handling of invalid vers values.
2006-01-19 06:18:04 +00:00
Ulrich Drepper
01715b0337
[BZ #2173 ]
...
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 01:35:28 +00:00
Ulrich Drepper
a815c3ab35
(_IO_new_file_fopen): If ,ccs= is given, also set vtable to the wide vtable.
2006-01-19 00:38:35 +00:00
Roland McGrath
74f4264b7d
* sysdeps/ieee754/ldbl-opt/nldbl-dprintf.c: Restore
...
attribute_hidden here.
2006-01-18 23:30:58 +00:00
Roland McGrath
752b94f63e
* sysdeps/sparc/sparc64/Makefile (long-double-fcts): Move this ...
...
* sysdeps/sparc/Makefile (long-double-fcts): ... to here.
2006-01-18 23:25:13 +00:00
Roland McGrath
db670cc88c
* elf/dl-deps.c (_dl_map_object_deps): In case of failure also make a
...
copy of objname string.
2006-01-18 19:49:05 +00:00
Roland McGrath
65515a052a
2006-01-18 Jakub Jelinek <jakub@redhat.com>
...
* elf/dl-deps.c (_dl_map_object_deps): In case of failure also make a
copy of objname string.
2006-01-18 19:48:53 +00:00
Andreas Jaeger
cf407dfbff
[BZ #2167 ]
...
Update.
[BZ #2167 ]
2006-01-18 08:41:58 +00:00
Andreas Jaeger
5f9f21e87c
[BZ #2167 ] * 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-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-18 08:41:47 +00:00
Roland McGrath
f0cf0902ea
* Makerules ($(+sysdir_pfx)sysd-rules): Emit pattern rules to install
...
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-17 04:31:22 +00:00
Roland McGrath
edbaf668f6
2006-01-15 Jakub Jelinek <jakub@redhat.com>
...
* io/tst-faccessat.c (do_test): Don't fail if geteuid () == 0.
2006-01-17 03:27:51 +00:00
Ulrich Drepper
63f8fe5456
* libio/stdio.h: Declare open_wmemstream.
...
* libio/Versions: Export open_wmemstream for GLIBC_2.4.
2006-01-16 20:14:50 +00:00
Ulrich Drepper
2d79a585c1
* sysdeps/unix/sysv/linux/kernel-features.h: Define
...
__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-16 16:49:27 +00:00
Ulrich Drepper
5c980df9a2
Don't search for proc mount point. We assume procfs is mounted at /proc in many other places already.
2006-01-16 16:38:52 +00:00
Andreas Jaeger
4f7e7f8e00
[BZ #1950 , BZ #2153 ]
...
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 17:59:52 +00:00
Andreas Jaeger
3a12d5258a
[BZ #2078 , BZ #2079 ]
...
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 17:46:04 +00:00
Andreas Jaeger
f3495a080c
[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.
2006-01-15 17:45:20 +00:00
Ulrich Drepper
4988ff9760
* sysdeps/unix/sysv/linux/bits/sched.h: Define SCHED_BATCH.
2006-01-15 05:30:34 +00:00
Ulrich Drepper
abcea6676d
Define SCHED_BATCH.
2006-01-15 05:29:33 +00:00
Roland McGrath
926320aba6
* sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NLDBL_DECL): Don't try
...
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-14 22:08:18 +00:00
Roland McGrath
5e56adba65
Use NLDBL_DECL for __vstrfmon_l.
...
(__nldbl___vsyslog_chk): Restore missing decl.
2006-01-14 21:16:35 +00:00
Roland McGrath
8c22dca38f
(__nldbl___vstrfmon, __nldbl___vsyslog_chk): Restore missing decls.
2006-01-14 21:15:05 +00:00
Roland McGrath
54e98f69e0
* sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NLDBL_HIDDEN): Removed.
...
(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 20:33:13 +00:00