about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* [BZ 1865]Ulrich Drepper2005-11-164-15/+198
| | | | | | | * inet/netinet/icmp6.h: More updates for RFC3542. * inet/netinet/ip6.h: Likewise. * sysdeps/unix/sysv/linux/bits/in.h: Adjust for current kernel sources. Patch by David L Stevens <dlstevens@us.ibm.com>.
* * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):Ulrich Drepper2005-11-165-5/+21
| | | | | | | | Return -1 on failure. * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise. * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.. * sysdeps/unix/sysv/linux/fxstatat64.c [__ASSUME_STAT64_SYSCALL] (__fxstatat64): Handle errors.
* * io/sys/poll.h: Add comment explaining poll is a cancellationUlrich Drepper2005-11-153-5/+15
| | | | | | | point. * sysdeps/unix/sysv/linux/sys/epoll.h: Add comment explaining epoll_wait is a cancellation point.
* * sysdeps/unix/sysv/linux/syscalls.list (epoll_wait): Align withUlrich Drepper2005-11-152-4/+4
| | | | poll, make cancelable.
* * sysdeps/unix/sysv/linux/syscalls.list (epoll_create, epoll_ctl,Ulrich Drepper2005-11-153-4/+14
| | | | | | | | | epoll_wait): Align with poll, make cancelable. 2005-11-15 Jakub Jelinek <jakub@redhat.com> * io/sys/stat.h (fstatat): Don't use __THROW together with __REDIRECT_NTH.
* * elf/dl-open.c [!SHARED]: Remove _dl_tls_static_size definition. cvs/fedora-glibc-20051115T0809Ulrich Drepper2005-11-153-8/+8
| | | | * sysdeps/generic/libc-tls.c: Initialize _dl_tls_static_size here.
* [BZ #1294]Ulrich Drepper2005-11-123-3/+8
| | | | | | 2005-11-11 Ulrich Drepper <drepper@redhat.com> [BZ #1294] * locales/pt_BR: Set p_cs_precedes and n_cs_precedes to 1.
* * io/Makefile (routines): Add fstatat, fstatat64, fxstatat, fxstatat64,Ulrich Drepper2005-11-1154-124/+3070
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fchownat, and unlinkat. (static-only-routines): Add fstatat and fstatat64. (tests): Add tst-unlinkat, tst-fstatat, tst-futimesat, tst-renameat, and tst-fchownat. * io/Versions [GLIBC_2.4]: Add fchownat, __fxstatat, __fxstatat64, and unlinkat. * io/fcntl.h: Define AT_FDCWD, AT_SYMLINK_NOFOLLOW, and AT_REMOVEDIR. * io/fstatat.c: New file. * io/fstatat64.c: New file. * io/sys/stat.h: Declare fstatat, fstatat64, __fxstatat, __fxstatat64 and define fstatat and fstatat64 inline functions. * libio/stdio.h: Declare renameat. * misc/Makefile (routines): Add futimesat. * misc/Versions [GLIBC_2.4]: Add futimesat. * posix/unistd.h: Declare fchownat and unlinkat. * stdio-common/Makefile (routines): Add renameat. * stdio-common/Versions [GLIBC_2.4]: Add renameat. * sysdeps/generic/fchownat.c: New file. * sysdeps/generic/futimesat.c: New file. * sysdeps/generic/fxstatat.c: New file. * sysdeps/generic/fxstatat64.c: New file. * sysdeps/generic/renameat.c: New file. * sysdeps/generic/unlinkat.c: New file. * sysdeps/unix/sysv/linux/fchownat.c: New file. * sysdeps/unix/sysv/linux/futimesat.c: New file. * sysdeps/unix/sysv/linux/fxstatat.c: New file. * sysdeps/unix/sysv/linux/fxstatat64.c: New file. * sysdeps/unix/sysv/linux/renameat.c: New file. * sysdeps/unix/sysv/linux/unlinkat.c: New file. * sysdeps/unix/sysv/linux/alpha/fxstatat.c: New file. * sysdeps/unix/sysv/linux/i386/fchownat.c: New file. * sysdeps/unix/sysv/linux/i386/fxstatat.c: New file. * sysdeps/unix/sysv/linux/m68k/fchownat.c: New file. * sysdeps/unix/sysv/linux/m68k/fxstatat.c: New file. * sysdeps/unix/sysv/linux/powerpc/fchownat.c: New file. * sysdeps/unix/sysv/linux/powerpc/powerpc32/fxstatat.c: New file. * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: New file. * sysdeps/unix/sysv/linux/s390/s390-32/fxstatat.c: New file. * sysdeps/unix/sysv/linux/sh/fchownat.c: New file. * sysdeps/unix/sysv/linux/sh/fxstatat.c: New file. * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: New file. * sysdeps/unix/sysv/linux/sparc/sparc32/fxstatat.c: New file. * sysdeps/unix/sysv/linux/sparc/sparc64/fxstatat.c: New file. * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: New file. * sysdeps/unix/sysv/linux/wordsize-64/fxstatat64.c: New file. * time/sys/time.h: Declare futimesat. * include/fcntl.h: Declare __atfct_seterrno. * sysdeps/unix/sysv/linux/openat.c (__atfct_seterrno): New function. Split out from openat code and called. (do_test): Allow openat to fail with ENOSYS. Handle AT_FDCWD. * sysdeps/generic/openat.c: Handle AT_FDCWD. * sysdeps/generic/openat64.c: Likewise. * io/tst-unlinkat.c: New file. * io/tst-fstatat.c: New file. * io/tst-futimesat.c: New file. * io/tst-renameat.c: New file. * io/tst-fchownat.c: New file. * io/tst-openat.c: Don't fail if openat is not implemented. * sysdeps/unix/sysv/linux/powerpc/chown.c: Don't provide backward compatibility code if new kernel is guaranteed. * time/sys/time.h: Add a few nonnull attributes.
* * io/fcntl.h: Declare openat and openat64.Ulrich Drepper2005-11-1011-6/+477
| | | | | | | | | | | | | * io/Makefile (routines): Add openat and openat64. (tests): Add tst-openat. * io/Versions: Add openat and openat64 for GLIBC_2.4. * sysdeps/generic/openat.c: New file. * sysdeps/generic/openat64.c: New file. * sysdeps/unix/sysv/linux/openat.c: New file. * sysdeps/unix/sysv/linux/openat64.c: New file. * io/tst-openat.c: New file. * sysdeps/unix/sysv/linux/device-nrs.h: Add info for /dev/full.
* (__libc_check_standard_fds): Reverse modes so that common operations onUlrich Drepper2005-11-091-1/+1
|
* * sysdeps/generic/check_fds.c (check_one_fd): For writableUlrich Drepper2005-11-091-0/+7
| | | | | | descriptors, use /dev/full. (__libc_check_standard_fds): Revert modes so that common operations on the descriptors fail.
* (check_one_fd): For writable descriptors, use /dev/full. ↵Ulrich Drepper2005-11-091-10/+22
| | | | (__libc_check_standard_fds): Revert modes so that common operations on the descriptors fail.
* * elf/elf.h (R_M32R_REL32): New macro.Roland McGrath2005-11-082-0/+5
|
* * sysdeps/mach/hurd/bits/stat.h (S_IMMAP0): New macro.Roland McGrath2005-11-082-2/+10
| | | | (S_ISPARE): Unset the S_IMMAP0 flag.
* * configure.in: Grok --with-cpu=CPU option. If given, search forRoland McGrath2005-11-085-4/+49
| | | | | | | sysdeps/.../machine/CPU subdirs, and give error if none are found. * configure: Regenerated. * config.make.in (with-cpu): New substituted variable. * Makeconfig (+cflags): Add -mcpu=$(with-cpu) if set.
* * malloc/malloc.c (munmap_chunk): Suppress warnings from last change.Roland McGrath2005-11-074-3/+67
| | | | | * sysdeps/unix/sysv/linux/tcflush.c: Rewritten. * sysdeps/unix/sysv/linux/tcflow.c: Rewritten.
* sysdeps/unix/bsd/sun moved to portsRoland McGrath2005-11-0743-1974/+5
| | | | | | | 2005-11-07 Roland McGrath <roland@redhat.com> * sysdeps/unix/bsd/sun: Directory and all subdirectories removed, saved in ports repository.
* * malloc/malloc.c (munmap_chunk): Add sanity checks.Ulrich Drepper2005-11-066-37/+31
| | | | * sysdeps/pthread/configure: Fix comment.
* * configure.in: Remove gnu_as definition and everything using it.Ulrich Drepper2005-11-064-8/+5
| | | | | * config.make.in: Remove gnu-as. * config.h.in: Remove HAVE_GNU_AS.
* * config.make.in: Remove gnu-ld.Ulrich Drepper2005-11-062-1/+1
|
* * configure.in: Remove gnu_ld definition and everything using it.Ulrich Drepper2005-11-0626-275/+104
| | | | | | | | | | | | | | | | | | | | | | | | | | | * config.h.in: Remove HAVE_GNU_LD. * csu/Makefile: Remove use of gnu-ld. * csu/munch.awk: Removed. * csu/munch-tmpl.c: Removed. * include/libc-symbols.h: Remove use of HAVE_GNU_LD. * posix/execl.c: Likewise. * posix/execv.c: Likewise. * stdio-common/psignal.c: Likewise. * stdlib/exit.c: Likewise. * string/strsignal.c: Likewise. * string/tester.c: Likewise. * sysdeps/generic/errlist.c: Likewise. * sysdeps/generic/getenv.c: Likewise. * sysdeps/generic/getgroups.c: Likewise. * sysdeps/generic/init-posix.c: Likewise. * sysdeps/posix/gettimeofday.c: Likewise. * sysdeps/posix/system.c: Likewise. * sysdeps/unix/bsd/init-posix.c: Likewise. * sysdeps/unix/bsd/ulimit.c: Likewise. * sysdeps/unix/bsd/sun/m68k/brk.S: Likewise. * sysdeps/unix/bsd/sun/m68k/sethostid.S: Likewise. * sysdeps/unix/bsd/sun/sparc/sethostid.S: Likewise. * sysdeps/unix/i386/brk.S: Likewise. * sysdeps/unix/sparc/brk.S: Likewise.
* * config.h.in: Remove HAVE_SUBTRACT_LOCAL_LABELS.Ulrich Drepper2005-11-052-4/+1
|
* * configure.in: Remove test for support for subtracting local labels.Ulrich Drepper2005-11-054-73/+8
| | | | | * stdio-common/vfprintf.c: Remove test of HAVE_SUBTRACT_LOCAL_LABELS.
* * configure.in: If init_array/fini_array support is not available,Ulrich Drepper2005-11-0511-170/+46
| | | | | | | | | | bail out. * config.h.in: Remove trace of optional init_array/fini_array support. * config.make.in: Likewise. * csu/elf-init.c: Likewise. * dlfcn/dlfcn.c: Likewise. * elf/soinit.c: Likewise. * sysdeps/ia64/elf/initfinit.c: Likewise.
* * SUPPORTED (SUPPORTED-LOCALES): Fix typo in si_LK line.Ulrich Drepper2005-11-051-0/+4
|
* (SUPPORTED-LOCALES): Fix typo in si_LK line.Ulrich Drepper2005-11-051-1/+1
|
* * sysdeps/i386/configure.in (libc_mtune_example): Variable removed.Roland McGrath2005-11-053-6/+3
| | | | * sysdeps/i386/configure: Regenerated.
* [BZ #1089]Roland McGrath2005-11-053-34/+55
| | | | | | | | 2005-11-04 Roland McGrath <roland@redhat.com> [BZ #1089] * configure.in: Change order of add-on sysdeps directories, so they are interleaved with main sysdeps directories. * configure: Regenerated.
* * NEWS: Synch with 2.3 branch updates.Roland McGrath2005-11-041-0/+4
|
* 2005-11-03 Roland McGrath <roland@redhat.com>Roland McGrath2005-11-041-2/+20
| | | | * NEWS: Synch with 2.3 branch updates.
* * sunrpc/svc.c (svc_getreq_poll): Fix inefficient loop test.Ulrich Drepper2005-11-041-0/+4
|
* (svc_getreq_poll): Fix inefficient loop test.Ulrich Drepper2005-11-041-5/+7
|
* * sunrpc/svc.c (svc_getreqset): Use ffsl instead of ffs on fd_mask,Roland McGrath2005-11-032-2/+3
| | | | make sure constant is long.
* [BZ #1548]Roland McGrath2005-11-031-0/+6
| | | | | | | 2005-11-03 Roland McGrath <roland@redhat.com> [BZ #1548] * sunrpc/svc.c (svc_getreqset): Use ffsl instead of ffs on fd_mask. From Jay Lan <jlan@engr.sgi.com>.
* [BZ #1548]Roland McGrath2005-11-031-1/+1
| | | | | | | 2005-11-03 Roland McGrath <roland@redhat.com> [BZ #1548] * sunrpc/svc.c (svc_getreqset): Use ffsl instead of ffs on fd_mask. From Jay Lan <jlan@engr.sgi.com>.
* [BZ #1774]Ulrich Drepper2005-11-032-14/+26
| | | | | | | | | | | 2005-11-03 Ulrich Drepper <drepper@redhat.com> [BZ #1774] * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use simple gethostbyname2 lookup if AI_V4MAPPED|AI_ALL is set. * sysdeps/posix/getaddrinfo.c (gaih_inet): Avoid alloca when possible while looking for scope delimiter. Some pretty printing.
* * sysdeps/powerpc/powerpc64/MakefileUlrich Drepper2005-11-015-0/+276
| | | | | | | (sysdep_routines, elide-routines.os): Add hp-timing. * sysdeps/powerpc/powerpc64/hp-timing.c: New file. * sysdeps/powerpc/powerpc64/hp-timing.h: New file. * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: New file.
* * resolv/res_init.c (__res_iclose): New function. Broken out ofUlrich Drepper2005-11-018-58/+65
| | | | | | | | | | | | | | | | | res_nclose. Take addition parameter which determines whether addresses should be freed. (res_nclose): Call __res_iclose. (res_thread_freeres): Likewise. * resolv/res_data.c (res_close): Call __res_iclose. * resolv/res_libc.c (res_init): No need to separately free the addresses. (__res_maybe_init): Likewise. * resolv/res_send.c: Use __res_iclose instead of res_nclose. * resolv/Versions [GLIBC_PRIVATE]: Add __res_iclose. * include/resolv.h: Declare __res_iclose. Add libc_hidden_proto for __res_iclose. * hesiod/hesiod.c (__hesiod_res_set): No need to free name server addresses here again.
* * debug/execinfo.h: Change backtrace_symbols_fd comment.Ulrich Drepper2005-10-311-1/+1
|
* [BZ #1579]Ulrich Drepper2005-10-311-0/+5
| | | | | | 2005-10-31 Ulrich Drepper <drepper@redhat.com> [BZ #1579] * debug/execinfo.h: Change backtrace+symbols_fd comment.
* Change backtrace+symbols_fd comment.Ulrich Drepper2005-10-311-3/+2
|
* * sysdeps/ia64/fpu/libm-symbols.h (WEAK_LIBM_ENTRY): Add "__"Roland McGrath2005-10-312-2/+8
| | | | | prefix to LOCAL_LIBM_ENTRY. (WEAK_LIBM_END): Add "__" prefix to LOCAL_LIBM_END.
* * elf/dl-conflict.c (_dl_resolve_conflicts): Use _dl_debug_printfRoland McGrath2005-10-311-0/+6
| | | | | instead of _dl_printf to print conflict processing debug message. Reported by John Reiser <jreiser@BitWagon.com>.
* 2005-10-26 Jakub Jelinek <jakub@redhat.com>Roland McGrath2005-10-311-3/+3
| | | | | | * elf/dl-conflict.c (_dl_resolve_conflicts): Use _dl_debug_printf instead of _dl_printf to print conflict processing debug message. Reported by John Reiser <jreiser@BitWagon.com>.
* * misc/hsearch_r.c (hsearch_r): Remove duplicate test.Ulrich Drepper2005-10-304-6/+20
| | | | | | | | | Patch by Chris Caputo <ccaputo@alt.net>. 2005-10-28 Kaz Kojima <kkojima@rr.iij4u.or.jp> * sysdeps/unix/sh/sysdep.S: Remove unnecessary weak_alias. * sysdeps/unix/sysv/linux/sh/socket.S: Honor NO_WEAK_ALIAS.
* * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey): Fix offUlrich Drepper2005-10-281-0/+5
| | | | by one error.
* (_nss_nis_getpublickey): Fix off by one error.Ulrich Drepper2005-10-281-2/+2
|
* [BZ #721]Roland McGrath2005-10-242-2/+7
| | | | | | | | 2005-10-24 Roland McGrath <roland@redhat.com> * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove unnecessary versioned_symbol use. [BZ #721]
* [BZ #1534]Roland McGrath2005-10-241-0/+6
| | | | | | | 2005-10-24 Roland McGrath <roland@redhat.com> [BZ #1534] * include/string.h: Use libc_hidden_proto for strnlen, not libc_hidden_builtin_proto.
* [BZ #1534]Roland McGrath2005-10-241-1/+1
| | | | | | | 2005-10-24 Roland McGrath <roland@redhat.com> [BZ #1534] * include/string.h: Use libc_hidden_proto for strnlen, not libc_hidden_builtin_proto.