aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
AgeCommit message (Collapse)Author
2001-02-10* sysdeps/unix/stime.c: Include <time.h>.Mark Kettenis
* sysdeps/unix/stime.c: Include <time.h>.
2001-02-10* sysdeps/mach/hurd/setitimer.c: Include <time.h>.Mark Kettenis
2001-02-10 Mark Kettenis <kettenis@gnu.org> * sysdeps/mach/hurd/setitimer.c: Include <time.h>.
2001-02-10Update.Ulrich Drepper
* sysdeps/unix/bsd/times.c: Reorder includes and add <time.h>. (timeval_to_clock_t): Add clk_tck argument and use that instead of CLK_TCK. (__times): Use __getclktck to get the number of clock ticks per second and use its return value instead of CLK_TCK. 2001-02-10 Mark Kettenis <kettenis@gnu.org>
2001-02-10(_HAVE_SA_LEN): Define.Ulrich Drepper
2001-02-10* sysdeps/mach/gettimeofday.c: Include <stddef.h>.Mark Kettenis
2001-02-10 Mark Kettenis <kettenis@gnu.org> * sysdeps/mach/gettimeofday.c: Include <stddef.h>.
2001-02-09Update.Ulrich Drepper
2001-02-09 Jakub Jelinek <jakub@redhat.com> * sysdeps/generic/setenv.c (unsetenv): Remove const from len. * sysdeps/sparc/fpu/bits/mathinline.h (sqrt, fdim): Don't define if __NO_MATH_INLINES. * sysdeps/i386/dl-machine.h (elf_machine_rel): Only declare refsym if not RTLD_BOOTSTRAP. * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise. * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
2001-02-09Update.Ulrich Drepper
2001-02-08 Ulrich Drepper <drepper@redhat.com> * sysdeps/alpha/strrchr.S: Little optimization. Patch by Richard Henderson <rth@redhat.com>. * sysdeps/alpha/alphaev67/strrchr.S: New file. Contributed by Rick Gorton <rick.gorton@alpha-processor.com>.. 2001-02-08 kaz Kojima <kkojima@rr.iij4u.or.jp> * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Correct function name in the assembler end directive. pointer in FILE structure before calling _IO_init. correctly. For numbers ending in all zeros eat the zeros even before
2001-02-07Update.Ulrich Drepper
* sysdeps/alpha/alphaev67/strncat.S: Align last write address. Patch by Richard Henderson <rth@redhat.com>. Reported by Claus-Justus Heine <heine@instmath.rwth-aachen.de>.
2001-02-07Update.Ulrich Drepper
2001-02-07 Ulrich Drepper <drepper@redhat.com> * sysdeps/gnu/netinet/tcp.h: Correct values of TCP_ macros. Patch by Pekka.Pietikainen@cern.ch. * posix/regex.c: Correct several problems with 64-bit architectures introduced in the MBS changes. Patch by Isamu Hasegawa <isamu@yamato.ibm.com>. 2001-02-07 Jakub Jelinek <jakub@redhat.com> * math/tgmath.h: Only add l suffixes if __NO_LONG_DOUBLE_MATH is not defined. * sysdeps/alpha/fpu/bits/mathinline.h: Honour __NO_MATH_INLINES.
2001-02-06* sysdeps/unix/sysv/linux/ia64/ioperm.c: Don't include kernelAndreas Schwab
headers. * timezone/Makefile: Don't assume that $(inst_zonedir) is a subdir of $(inst_datadir).
2001-02-05Update.Ulrich Drepper
2001-02-04 Philip Blundell <philb@gnu.org> * configure.in: Distinguish ARM from Thumb. 2001-02-04 Philip Blundell <philb@gnu.org> * sysdeps/arm/dl-machine.h (elf_machine_rel): Correct handling of PC24 relocs with negative value.
2001-02-03Update copyright.Andreas Jaeger
2001-02-03Update.Andreas Jaeger
* sysdeps/i386/elf/start.S (_start): Align stack to 16-byte boundary for SSE/SSE-2 alignment.
2001-02-03Update.Ulrich Drepper
Remove comma at end of enum.
2001-02-03Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/arm/sys/ucontext.h: File was using crlf.
2001-02-02Update.Ulrich Drepper
2001-02-02 Ulrich Drepper <drepper@redhat.com> * string/tst-svc.input: Add two more test cases. * string/tst-svc.expect: Modify to reflect new test cases. 2001-02-01 Jakub Jelinek <jakub@redhat.com> * sysdeps/posix/getaddrinfo.c (gaih_local, gaih_inet): Replace all tp->name tests with tp->name[0] tests. 2001-01-29 Ben Collins <bcollins@debian.org> * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r): Fix check for name == NULL.
2001-01-31Update.Ulrich Drepper
2001-01-29 Ben Collins <bcollins@debian.org> * sysdeps/sparc/fpu/fraiseexcpt.c: Include <float.h>. * sysdeps/hppa/fpu/fraiseexcpt.c: Likewise. * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise. * sysdeps/s390/fpu/fraiseexcpt.c: Likewise. * locale/programs/ld-measurement.c (measurement_finish): Fix a typo. Patch by Marko Myllynen <myllynen@lut.fi>. * string/bits/string2.h (__strpbrk_c2): Correct parameter types (int instead of char). (__strpbrk_c3): Likewise. Reported by GOTO Masanori <gotom@debian.or.jp>. Reported by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
2001-01-31Update.Ulrich Drepper
2001-01-30 Ulrich Drepper <drepper@redhat.com> * sysdeps/generic/bits/sockaddr.h: Remove SA_LEN macro. * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Likewise. * include/sys/socket.h: Add SA_LEN here for internal use.
2001-01-30Update.Ulrich Drepper
* sysdeps/generic/dl-sysdep.c (set_seen): Fix typo.
2001-01-28Update.Ulrich Drepper
* sysdeps/ia64/fpu/fraiseexcpt.c: Include <float.h>. Removed unused variable.
2001-01-28Include <float.h>.Ulrich Drepper
2001-01-28Update.Ulrich Drepper
2001-01-28 Ulrich Drepper <drepper@redhat.com> * posix/sched.h: Define sched_priority as __sched_priority. * sysdeps/generic/bits/sched.h (struct sched_param): Rename element to __sched_priority. * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
2001-01-28Update.Ulrich Drepper
* sysdeps/generic/clock_getcpuclockid.c: Include <time.h> instead of <sys/time.h>.
2001-01-28Update.Ulrich Drepper
* sysdeps/unix/stime.c: Include <stddef.h> for NULL. * sysdeps/unix/time.c: Likewise.
2001-01-28Update.Ulrich Drepper
* conform/data/time.h-data: CLK_TCK is not in XPG6. Fix tzname entry. * sysdeps/mach/hurd/bits/time.h: Don't define CLK_TCK for XPG6. * sysdeps/mach/hurd/i386/bits/time.h: Likewise. * sysdeps/unix/sysv/linux/bits/time.h: Likewise. * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise. * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise. * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise. * time/time.h: Likewise. * conform/conformtest.pl (@headers): Add complex.h and tgmath.h. * conform/data/complex.h-data: New file. * conform/data/tgmath.h-data: New file. * conform/data/wchar.h-data: Add missing functions. * sysdeps/gnu/bits/utmpx.h: Define RUN_LVL only if __USE_GNU. * conform/data/termios.h-data: Add missing const in tcsetattr() prototype. * posix/sys/wait.h: Include <signal.h> and <sys/resource.h>. Don't define pid_t here. * conform/data/sys/utsname.h-data: Don't provide fixed array sizes.
2001-01-28Update.Ulrich Drepper
* conform/data/sys/time.h-data: Allow sys/select.h. * conform/data/sys/un.h-data: Fix typo. * time/sys/time.h: Don't include all of <time.h>, just struct timeval. * sysdeps/posix/clock_getres.c: Include <time.h> instead of <sys/time.h>. * sysdeps/unix/clock_nanosleep.c: Likewise. * sysdeps/unix/i386/clock_getcpuclockid.c: Likewise. * sysdeps/unix/i386/i586/clock_getres.c: Likewise. * sysdeps/unix/clock_gettime.c: Also include <time.h>. * sysdeps/unix/clock_settime.c: Likewise. * sysdeps/generic/pselect.c: Include <stddef.h> for NULL. * login/getutent.c: Likewise. * login/getutid.c: Likewise. * login/getutline.c: Likewise. * socket/sys/un.h: Define SUN_LEN only if __USE_MISC.
2001-01-27Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/bits/statvfs.h: Change type of f_fsid field to unsigned long. Add __f_unused. Define _STATVFSBUF_F_UNUSED. * sysdeps/unix/sysv/linux/internal_statvfs.c: Adjust initialization of f_fsid field after change in struct statvfs. * sysdeps/unix/sysv/linux/alpha/bits/statvfs.h: New file. * sysdeps/unix/sysv/linux/ia64/bits/statvfs.h: New file. * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: New file. * conform/data/sys/stat.h-data: Remove isfdtype. Use optional-macro.
2001-01-27Update.Ulrich Drepper
* conform/data/sys/socket.h-data: Fix typos. Correct getsockopt, recvfrom, send, and socketpair prototypes. Add allow lines. * socket/sys/socket.h: Include <sys/uio.h>. Don't use fancy __SOCKADDR_ARG definition unless __USE_GNU. Fix type of second parameter of listen. Don't declare isfdtype unless __USE_MISC. * sysdeps/generic/listen.c: Fix type of second parameter of listen. * sysdeps/mach/hurd/listen.c: Likewise. * sysdeps/generic/bits/socket.h (struct sockaddr_storage): Define ss_family and __ss_family. * sysdeps/unix/sysv/aix/bits/socket.h: Likewise. * sysdeps/unix/sysv/linux/bits/socket.h: Likewise. (struct msghdr): Change type of msg_iovlen to int and type of msg_controllen to socklen_t. * sysdeps/unix/sysv/linux/alpha/bits/socket.h: New file. * sysdeps/unix/sysv/linux/ia64/bits/socket.h: New file. * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: New file.
2001-01-27Update.Ulrich Drepper
2001-01-27 Ulrich Drepper <drepper@redhat.com> * signal/signal.h: Fix handling of __need_* symbols. * misc/sys/select.c: Define fd_set here. Remove __fd_set. Define fd_mask only if __USE_MISC. Declare pselect for __USE_XOPEN2K. * include/sys/select.h: Use fd_set not __fd_set. * sysdeps/generic/bits/select.h: Likewise. * sysdeps/i386/bits/select.h: Likewise. * sysdeps/generic/bits/types.h: Don't define __fd_mask, __NFDBITS, __FDELT, __FDMASK, and __fd_set here. * sysdeps/unix/sysv/aix/bits/types.h: Likewise. * sysdeps/unix/sysv/hpux/bits/types.h: Likewise. * sysdeps/unix/sysv/linux/bits/types.h: Likewise. * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise. * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise. * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise. * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise. * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise. * time/sys/time.h: Define struct timeval before including <time.h> and <sys/select.h>. * conform/data/sys/time.h-data: fd_set is a typedef. * conform/data/sys/select.h-data: New file. * conform/data/sys/mman.h-data: Make typed mem stuff optional. * conform/conformtest.pl (@headers): Add sys/select.h. (type, optional-type): Unless testing a typedef instantiate object. Implement optional-function. * math/test-misc.c: Include <float.h>.
2001-01-27Update.Ulrich Drepper
* conform/data/stdlib.h-data: Account for XPG6 changes. * stdlib/stdlib.h (__random): Change return value type to long. (posix_memalign): Cleanup parameter names. (setenv, unsetenv): Make available for __USE_XOPEN2K. Change return type of unsetenv to int. (qecvt, qgcvt, qfcvt): Declare only if __USE_MISC. * sysdeps/generic/setenv.c (unsetenv): Change return type to int. Return -1 and set errno if parameter is invalid. * stdlib/random.c (__random): Change return value type to long.
2001-01-27Update.Ulrich Drepper
* conform/conformtest.pl: Define $mustprepend{"signal.h"}. * conform/data/signal.h-data: Fix sigev_notify_function entry. Fix typo (SIGVALRM -> SIGVTALRM). * sysdeps/unix/sysv/linux/bits/siginfo.h: Define sigev_notify_attr with real type. * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise. * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise. * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise. * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
2001-01-27Update.Ulrich Drepper
* io/sys/poll.h: Define nfds_t and use it in poll prototype. * sysdeps/generic/poll.c: Use nfds_t type in function definition. * sysdeps/mach/hurd/poll.c: Likewise. * sysdeps/unix/bsd/poll.c: Likewise. * sysdeps/unix/sysv/linux/poll.c: Likewise. * sysdeps/unix/sysv/aix/poll.c: Likewise. * sysdeps/generic/bits/poll.h: Define NPOLLFILE only if __USE_MISC. * sysdeps/unix/sysv/linux/bits/poll.h: Likewise. * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise. * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise. * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise. * conform/data/poll.h-data: Fix typo in poll prototype.
2001-01-27Update.Ulrich Drepper
* sysdeps/gnu/netinet/tcp.h: Define everything but TCP_ macros only if __USE_MISC. * conform/data/netinet/tcp.h-data: Reserved prefix TCP_.
2001-01-27Update.Ulrich Drepper
* sysdeps/gnu/net/if.h: Cleanup namespace. Define IF_NAMESIZE.
2001-01-26Update.Andreas Jaeger
* string/strcoll.c: Likewise. * string/strxfrm.c: Likewise. * wctype/wcfuncs_l.c: Likewise. * wctype/wctype_l.c: Likewise. * wctype/wctrans_l.c: Likewise.
2001-01-26Update.Ulrich Drepper
2001-01-26 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/sys/param.h (MAXSYMLINKS): Bump to 20. * conform/conformtest.pl (@headers): Add stdint.h. * conform/data/stdint.h-data: New file.
2001-01-26Update.Ulrich Drepper
* posix/wordexp.h: Correct definition of wordexp_t. * posix/wordexp.c: Moved to ... * sysdeps/generic/wordexp.c: ...here. New file. * sysdeps/unix/sysv/linux/alpha/wordexp.c: New file. * sysdeps/unix/sysv/linux/ia64/wordexp.c: New file. * sysdeps/unix/sysv/linux/sparc/sparc64/wordexp.c: New file. * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.2.2): Add wordexp. * sysdeps/unix/sysv/linux/ia64/Versions: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: Likewise.
2001-01-25Update.Ulrich Drepper
* sysdeps/generic/bits/confname.h: Correct names of _SC_PBS constants and add _SC_STREAMS. * sysdeps/posix/sysconf.c (__sysconf): Likewise.
2001-01-25Update.Ulrich Drepper
* include/sys/statvfs.h: New file.
2001-01-25Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/statvfs64.c: Rename to __statvfs64 and make old name weak alias. * sysdeps/generic/statvfs64.c: Likewise. * sysdeps/unix/sysv/linux/fstatvfs64.c: Rename to __fstatvfs64 and make old name weak alias. * sysdeps/generic/fstatvfs64.c: Likewise. * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
2001-01-25Update.Ulrich Drepper
* sysdeps/generic/bits/confname.h: Define _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE, _PC_REC_MIN_XFER_SIZE, and _PC_REC_XFER_ALIGN. * sysdeps/posix/pathconf.c (__pathconf): Implement handling of _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE, _PC_REC_MIN_XFER_SIZE, and _PC_REC_XFER_ALIGN.
2001-01-25Update.Ulrich Drepper
* conform/conformtest.pl: Run Unix tests for XPG6. Implement handling of known namespace violations. Improve printing of results. * posix/unistd.h (usleep): Correct return type. * sysdeps/unix/sysv/linux/usleep.c: Correct return type. * sysdeps/unix/bsd/usleep.c: Correct return type. * sysdeps/mach/usleep.c: Correct return type. * sysdeps/generic/usleep.c: Correct return type. * posix/unistd.h (sync): Correct return type. * sysdeps/generic/sync.c: Likewise. * sysdeps/mach/hurd/sync.c: Likewise. * sysdeps/generic/bits/confname.h (_SC_IOV_MAX): New definition.
2001-01-24Update.Andreas Jaeger
2001-01-24 Andreas Jaeger <aj@suse.de> * sysdeps/unix/sysv/linux/init-first.c: Remove extra __sysctl prototype. * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise. * include/sys/sysctl.h: New. * stdlib/Makefile ($(objpfx)isomac.out): Also pass sysincludes to isomac.
2001-01-22Update.Ulrich Drepper
2001-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correctly mask offset. 2001-01-21 Ulrich Drepper <drepper@redhat.com> * malloc/malloc.c: Remove a few unnecessary initializers of global variables.
2001-01-21Reduce .data size.Ulrich Drepper
2001-01-20Update.Ulrich Drepper
* sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Fix typo preventing optimization from being done. Set the correct type bit in seen. Don't define and use _dl_base_addr unless
2001-01-20Update.Ulrich Drepper
* sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Initialize egid to 1. This helps those installing ld.so SUID (nobody will be that stupid, I hope). Don't define and use _dl_base_addr unless NEED_DL_BASE_ADDR is defined.
2001-01-19* sysdeps/mach/hurd/chroot.c (chroot): Revert 1999-02-27 changes, but change ↵Mark Kettenis
looking up the initial directory port in a similar way as done by _hurd_change_directory_port_from_name. * hurd/fchroot.c (fchroot): Likewise. 2001-01-19 Mark Kettenis <kettenis@gnu.org> * sysdeps/mach/hurd/chroot.c (chroot): Revert 1999-02-27 changes, but change looking up the initial directory port in a similar way as done by _hurd_change_directory_port_from_name. * hurd/fchroot.c (fchroot): Likewise.
2001-01-19Update.Ulrich Drepper
* sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): If HAVE_AUX_XID is defined don't look whether the AT_*ID values were set. If HAVE_AUX_PAGESIZE is defined don't look whether the pagesize is set. (_dl_show_auxv): Rewrite to avoid switch statement. * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_AT_PAGESIZE for kernel >= 2.4.1. * sysdeps/unix/sysv/linux/ldsodefs.h: Define HAVE_AUX_XID. Define HAVE_AUX_PAGESIZE if __ASSUME_AT_PAGESIZE is defined.
2001-01-19Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/fxstat64.c: Add one __builtin_expect. * sysdeps/unix/sysv/linux/lxstat64.c: Likewise. * sysdeps/unix/sysv/linux/xstat64.c: Likewise.