about summary refs log tree commit diff
path: root/sysdeps
Commit message (Collapse)AuthorAgeFilesLines
* (bind): Ensure NAME for the AF_LOCAL case is '\0'-terminated.Miles Bader1996-01-241-2/+5
|
* Mon Jan 22 10:40:40 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu> cvs/libc-960123Roland McGrath1996-01-232-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * sysdeps/posix/getcwd.c [__GNU_LIBRARY__]: Include unistd.h. * io/fts.h (FTSENT): Define fts_compar member with prototype. * hurd/hurd.h: Use prototype in getcttyid decl. * stdlib/l64a.c: Fix typo in last change. * stdlib/drand48-iter.c: Test limits.h macros instead of sizeof for determining size of types. * stdlib/srand48_r.c: Likewise. * misc/utmp.h: Declare login, logout, logwtmp. * misc/logout.c: Declare argument as pointer to const. * misc/login.c: Likewise. * misc/logwtmp.c: Likewise. Include time.h, string.h. * misc/efgcvt_r.c: Include stdlib.h. * io/mknod.c: Include sys/types.h. * gmon/sys/gmon.h: Declare monstartup, _mcleanup. * csu/gmon-start.c (_start, etext): Declare with prototypes. * stdio-common/vfscanf.c (%[): Fix range handling.
* Sun Jan 21 00:55:25 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu> cvs/libc-960121Roland McGrath1996-01-214-43/+22
| | | | | | | | | | | | | | | | | | | | | | | | * sysdeps/unix/sysv/linux/shmat.c: Include sys/shm.h instead of sys/sem.h. * stdlib/stdlib.h [__USE_SVID]: Declare a64l, l64a. * stdlib/l64a.c: Use 6-bit numbers as indices in CONV_TABLE, not literal byte values. * misc/bsd-compat.c (getpgrp): Define with prototype. * misc/init-misc.c (__progname_full): New variable. (program_invocation_name, program_invocation_short_name): New aliases. (__init_misc): Define with prototype. Set __progname_full. * misc/progname.c: File removed. * misc/Makefile (aux): Remove progname. * misc/hsearch_r.c (isprime): Define with prototype. * sysdeps/unix/sysv/linux/seteuid.c: Just include unix/bsd version. * sysdeps/unix/bsd/seteuid.c: Disallow arg of -1. * sysdeps/unix/bsd/setegid.c: Likewise.
* * sysdeps/unix/sysv/linux/tcdrain.c: Define tcdrain, not cvs/libc-960120Roland McGrath1996-01-202-9/+6
| | | | | | | | | | | | | | __tcdrain. * posix/glob.c (glob): Use prototype in getlogin decl. * db/ndbm.h: Declare dbm_error, dbm_clearerr. * db/db/db.c (__dberr): Define with prototype. (__dbpanic): Use prototypes in casts. * db/hash/hash_log2.c: Add prototype decl. * sysdeps/generic/_strerror.c (_strerror_internal): Define with prototype.
* Fri Jan 19 13:28:59 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath1996-01-193-2/+2
| | | | | | | | | | | | | | * sysdeps/unix/mkdir.c, syspdep/unix/rmdir.c: Moved from unix/sysv. They will be overridden with syscalls if extant by unix/syscalls.list. Fri Jan 19 13:28:59 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu> * sysdeps/unix/mkdir.c, syspdep/unix/rmdir.c: Moved from unix/sysv. They will be overridden with syscalls if extant by unix/syscalls.list. * Makeconfig (+gccwarn): Add -Wstrict-prototypes. * stdio-common/printf_fp.c (__printf_fp): Define with prototype. * stdio-common/vfprintf.c (_IO_helper_overflow): Likewise.
* * io/Makefile (routines): Add mknod, xstat fxstat lxstat xmknod. cvs/libc-960119Roland McGrath1996-01-191-7/+19
| | | | | | | | | * sysdeps/unix/sysv/linux/ptrace.c: Use ... decl, and stdarg.h to get args. * posix/glob.c (_GNU_SOURCE): Define if undefined, so glob.h defines GNU extensions. * posix/fnmatch.c: Likewise.
* Thu Jan 18 00:32:43 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath1996-01-19202-3895/+230
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Replaced all simple system call files *.S throughout sysdeps/unix with syscalls.list files to be processed by make-syscalls.sh. * sysdeps/unix/s-proto.S: New file. * sysdeps/unix/syscalls.list: New file. * sysdeps/unix/bsd/syscalls.list: New file. * sysdeps/unix/bsd/bsd4.4/syscalls.list: New file. * sysdeps/unix/bsd/hp/m68k/syscalls.list: New file. * sysdeps/unix/bsd/osf/syscalls.list: New file. * sysdeps/unix/bsd/osf/alpha/syscalls.list: New file. * sysdeps/unix/bsd/sony/newsos4/syscalls.list: New file. * sysdeps/unix/bsd/sun/syscalls.list: New file. * sysdeps/unix/bsd/sun/sunos4/syscalls.list: New file. * sysdeps/unix/bsd/ultrix4/syscalls.list: New file. * sysdeps/unix/common/syscalls.list: New file. * sysdeps/unix/inet/syscalls.list: New file. * sysdeps/unix/mman/syscalls.list: New file. * sysdeps/unix/sysv/syscalls.list: New file. * sysdeps/unix/sysv/irix4/syscalls.list: New file. * sysdeps/unix/sysv/isc2.2/syscalls.list: New file. * sysdeps/unix/sysv/linux/syscalls.list: New file. * sysdeps/unix/sysv/linux/i386/syscalls.list: New file. * sysdeps/unix/sysv/sco3.2.4/syscalls.list: New file. * sysdeps/unix/sysv/sysv4/syscalls.list: New file. * sysdeps/unix/sysv/sysv4/i386/syscalls.list: New file. * sysdeps/unix/sysv/sysv4/solaris2/sparc/syscalls.list: New file. * sysdeps/unix/acct.S: File removed. * sysdeps/unix/chdir.S: File removed. * sysdeps/unix/chmod.S: File removed. * sysdeps/unix/chown.S: File removed. * sysdeps/unix/chroot.S: File removed. * sysdeps/unix/close.S: File removed. * sysdeps/unix/configure: File removed. * sysdeps/unix/configure.in: File removed. * sysdeps/unix/dup.S: File removed. * sysdeps/unix/fcntl.S: File removed. * sysdeps/unix/fsync.S: File removed. * sysdeps/unix/getgid.S: File removed. * sysdeps/unix/getpid.S: File removed. * sysdeps/unix/getuid.S: File removed. * sysdeps/unix/ioctl.S: File removed. * sysdeps/unix/kill.S: File removed. * sysdeps/unix/link.S: File removed. * sysdeps/unix/lseek.S: File removed. * sysdeps/unix/open.S: File removed. * sysdeps/unix/ptrace.S: File removed. * sysdeps/unix/read.S: File removed. * sysdeps/unix/reboot.S: File removed. * sysdeps/unix/setgid.S: File removed. * sysdeps/unix/setuid.S: File removed. * sysdeps/unix/sync.S: File removed. * sysdeps/unix/umask.S: File removed. * sysdeps/unix/unlink.S: File removed. * sysdeps/unix/write.S: File removed. * sysdeps/unix/bsd/flock.S: File removed. * sysdeps/unix/bsd/getdtsz.S: File removed. * sysdeps/unix/bsd/getpagesize.S: File removed. * sysdeps/unix/bsd/killpg.S: File removed. * sysdeps/unix/bsd/profil.S: File removed. * sysdeps/unix/bsd/readv.S: File removed. * sysdeps/unix/bsd/settimeofday.S: File removed. * sysdeps/unix/bsd/sigblock.S: File removed. * sysdeps/unix/bsd/sigpause.S: File removed. * sysdeps/unix/bsd/sigsetmask.S: File removed. * sysdeps/unix/bsd/sigstack.S: File removed. * sysdeps/unix/bsd/sigvec.S: File removed. * sysdeps/unix/bsd/utimes.S: File removed. * sysdeps/unix/bsd/writev.S: File removed. * sysdeps/unix/bsd/bsd4.4/chflags.S: File removed. * sysdeps/unix/bsd/bsd4.4/fchdir.S: File removed. * sysdeps/unix/bsd/bsd4.4/fchflags.S: File removed. * sysdeps/unix/bsd/bsd4.4/getdents.S: File removed. * sysdeps/unix/bsd/bsd4.4/getdomain.S: File removed. * sysdeps/unix/bsd/bsd4.4/revoke.S: File removed. * sysdeps/unix/bsd/bsd4.4/setdomain.S: File removed. * sysdeps/unix/bsd/bsd4.4/setegid.S: File removed. * sysdeps/unix/bsd/bsd4.4/seteuid.S: File removed. * sysdeps/unix/bsd/bsd4.4/setlogin.S: File removed. * sysdeps/unix/bsd/bsd4.4/setsid.S: File removed. * sysdeps/unix/bsd/bsd4.4/sigaltstack.S: File removed. * sysdeps/unix/bsd/bsd4.4/wait4.S: File removed. * sysdeps/unix/bsd/hp/m68k/getdents.S: File removed. * sysdeps/unix/bsd/osf/msync.S: File removed. * sysdeps/unix/bsd/osf/alpha/wait4.S: File removed. * sysdeps/unix/bsd/sony/newsos4/fchdir.S: File removed. * sysdeps/unix/bsd/sony/newsos4/sys_wait4.S: File removed. * sysdeps/unix/bsd/sun/getdents.S: File removed. * sysdeps/unix/bsd/sun/sunos3/m68k/wait.S: File removed. * sysdeps/unix/bsd/sun/sunos4/msync.S: File removed. * sysdeps/unix/bsd/sun/sunos4/poll.S: File removed. * sysdeps/unix/bsd/sun/sunos4/setsid.S: File removed. * sysdeps/unix/bsd/sun/sunos4/sys_mmap.S: File removed. * sysdeps/unix/bsd/sun/sunos4/sys_wait4.S: File removed. * sysdeps/unix/bsd/sun/sunos4/uname.S: File removed. * sysdeps/unix/bsd/ultrix4/getdents.S: File removed. * sysdeps/unix/bsd/ultrix4/setsid.S: File removed. * sysdeps/unix/bsd/ultrix4/uname.S: File removed. * sysdeps/unix/common/access.S: File removed. * sysdeps/unix/common/adjtime.S: File removed. * sysdeps/unix/common/dup2.S: File removed. * sysdeps/unix/common/fchmod.S: File removed. * sysdeps/unix/common/fchown.S: File removed. * sysdeps/unix/common/ftruncate.S: File removed. * sysdeps/unix/common/getgroups.S: File removed. * sysdeps/unix/common/getitimer.S: File removed. * sysdeps/unix/common/getpgid.S: File removed. * sysdeps/unix/common/getpriority.S: File removed. * sysdeps/unix/common/getrlimit.S: File removed. * sysdeps/unix/common/getrusage.S: File removed. * sysdeps/unix/common/gettimeofday.S: File removed. * sysdeps/unix/common/mkdir.S: File removed. * sysdeps/unix/common/readlink.S: File removed. * sysdeps/unix/common/rename.S: File removed. * sysdeps/unix/common/rmdir.S: File removed. * sysdeps/unix/common/select.S: File removed. * sysdeps/unix/common/setgroups.S: File removed. * sysdeps/unix/common/setitimer.S: File removed. * sysdeps/unix/common/setpgid.S: File removed. * sysdeps/unix/common/setpriority.S: File removed. * sysdeps/unix/common/setregid.S: File removed. * sysdeps/unix/common/setreuid.S: File removed. * sysdeps/unix/common/setrlimit.S: File removed. * sysdeps/unix/common/swapon.S: File removed. * sysdeps/unix/common/symlink.S: File removed. * sysdeps/unix/common/truncate.S: File removed. * sysdeps/unix/common/vhangup.S: File removed. * sysdeps/unix/inet/accept.S: File removed. * sysdeps/unix/inet/bind.S: File removed. * sysdeps/unix/inet/connect.S: File removed. * sysdeps/unix/inet/gethostid.S: File removed. * sysdeps/unix/inet/gethostname.S: File removed. * sysdeps/unix/inet/getpeername.S: File removed. * sysdeps/unix/inet/getsockname.S: File removed. * sysdeps/unix/inet/getsockopt.S: File removed. * sysdeps/unix/inet/listen.S: File removed. * sysdeps/unix/inet/recv.S: File removed. * sysdeps/unix/inet/recvfrom.S: File removed. * sysdeps/unix/inet/recvmsg.S: File removed. * sysdeps/unix/inet/send.S: File removed. * sysdeps/unix/inet/sendmsg.S: File removed. * sysdeps/unix/inet/sendto.S: File removed. * sysdeps/unix/inet/sethostid.S: File removed. * sysdeps/unix/inet/sethostname.S: File removed. * sysdeps/unix/inet/setsockopt.S: File removed. * sysdeps/unix/inet/shutdown.S: File removed. * sysdeps/unix/inet/socket.S: File removed. * sysdeps/unix/inet/socketpair.S: File removed. * sysdeps/unix/mman/madvise.S: File removed. * sysdeps/unix/mman/mmap.S: File removed. * sysdeps/unix/mman/mprotect.S: File removed. * sysdeps/unix/mman/msync.S: File removed. * sysdeps/unix/mman/munmap.S: File removed. * sysdeps/unix/sysv/alarm.S: File removed. * sysdeps/unix/sysv/ftime.S: File removed. * sysdeps/unix/sysv/nice.S: File removed. * sysdeps/unix/sysv/pause.S: File removed. * sysdeps/unix/sysv/poll.S: File removed. * sysdeps/unix/sysv/s_getdents.S: File removed. * sysdeps/unix/sysv/signal.S: File removed. * sysdeps/unix/sysv/stime.S: File removed. * sysdeps/unix/sysv/time.S: File removed. * sysdeps/unix/sysv/times.S: File removed. * sysdeps/unix/sysv/ulimit.S: File removed. * sysdeps/unix/sysv/uname.S: File removed. * sysdeps/unix/sysv/utime.S: File removed. * sysdeps/unix/sysv/irix4/getpgid.S: File removed. * sysdeps/unix/sysv/irix4/msync.S: File removed. * sysdeps/unix/sysv/irix4/setpgid.S: File removed. * sysdeps/unix/sysv/irix4/signal.S: File removed. * sysdeps/unix/sysv/irix4/sysmp.S: File removed. * sysdeps/unix/sysv/irix4/syssgi.S: File removed. * sysdeps/unix/sysv/isc2.2/rename.S: File removed. * sysdeps/unix/sysv/linux/adjtimex.S: File removed. * sysdeps/unix/sysv/linux/fork.S: File removed. * sysdeps/unix/sysv/linux/getpgid.S: File removed. * sysdeps/unix/sysv/linux/getpgrp.S: File removed. * sysdeps/unix/sysv/linux/getsid.S: File removed. * sysdeps/unix/sysv/linux/gtty.S: File removed. * sysdeps/unix/sysv/linux/mlock.S: File removed. * sysdeps/unix/sysv/linux/mlockall.S: File removed. * sysdeps/unix/sysv/linux/mount.S: File removed. * sysdeps/unix/sysv/linux/munlock.S: File removed. * sysdeps/unix/sysv/linux/munlockall.S: File removed. * sysdeps/unix/sysv/linux/pipe.S: File removed. * sysdeps/unix/sysv/linux/s_ptrace.S: File removed. * sysdeps/unix/sysv/linux/setpgid.S: File removed. * sysdeps/unix/sysv/linux/setsid.S: File removed. * sysdeps/unix/sysv/linux/settimeofday.S: File removed. * sysdeps/unix/sysv/linux/sigpending.S: File removed. * sysdeps/unix/sysv/linux/stty.S: File removed. * sysdeps/unix/sysv/linux/umount.S: File removed. * sysdeps/unix/sysv/linux/wait4.S: File removed. * sysdeps/unix/sysv/linux/i386/ipc.S: File removed. * sysdeps/unix/sysv/sco3.2.4/pathconf.S: File removed. * sysdeps/unix/sysv/sco3.2.4/pgrpsys.S: File removed. * sysdeps/unix/sysv/sco3.2.4/sco_getgrp.S: File removed. * sysdeps/unix/sysv/sco3.2.4/sigpending.S: File removed. * sysdeps/unix/sysv/sco3.2.4/sigprocmask.S: File removed. * sysdeps/unix/sysv/sco3.2.4/sigsuspend.S: File removed. * sysdeps/unix/sysv/sysv4/pgrpsys.S: File removed. * sysdeps/unix/sysv/sysv4/sigprocmask.S: File removed. * sysdeps/unix/sysv/sysv4/sigsuspend.S: File removed. * sysdeps/unix/sysv/sysv4/sysconfig.S: File removed. * sysdeps/unix/sysv/sysv4/sysinfo.S: File removed. * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys-sig.S: File removed. Replaced all simple system call files *.S throughout sysdeps/unix with syscalls.list files to be processed by make-syscalls.sh. * sysdeps/unix/s-proto.S: New file. * sysdeps/unix/syscalls.list: New file. * sysdeps/unix/bsd/syscalls.list: New file. * sysdeps/unix/bsd/bsd4.4/syscalls.list: New file. * sysdeps/unix/bsd/hp/m68k/syscalls.list: New file. * sysdeps/unix/bsd/osf/syscalls.list: New file. * sysdeps/unix/bsd/osf/alpha/syscalls.list: New file. * sysdeps/unix/bsd/sony/newsos4/syscalls.list: New file. * sysdeps/unix/bsd/sun/syscalls.list: New file. * sysdeps/unix/bsd/sun/sunos4/syscalls.list: New file. * sysdeps/unix/bsd/ultrix4/syscalls.list: New file. * sysdeps/unix/common/syscalls.list: New file. * sysdeps/unix/inet/syscalls.list: New file. * sysdeps/unix/mman/syscalls.list: New file. * sysdeps/unix/sysv/syscalls.list: New file. * sysdeps/unix/sysv/irix4/syscalls.list: New file. * sysdeps/unix/sysv/isc2.2/syscalls.list: New file. * sysdeps/unix/sysv/linux/syscalls.list: New file. * sysdeps/unix/sysv/linux/i386/syscalls.list: New file. * sysdeps/unix/sysv/sco3.2.4/syscalls.list: New file. * sysdeps/unix/sysv/sysv4/syscalls.list: New file. * sysdeps/unix/sysv/sysv4/i386/syscalls.list: New file. * sysdeps/unix/sysv/sysv4/solaris2/sparc/syscalls.list: New file. * sysdeps/unix/acct.S: File removed. * sysdeps/unix/chdir.S: File removed. * sysdeps/unix/chmod.S: File removed. * sysdeps/unix/chown.S: File removed. * sysdeps/unix/chroot.S: File removed. * sysdeps/unix/close.S: File removed. * sysdeps/unix/configure: File removed. * sysdeps/unix/configure.in: File removed. * sysdeps/unix/dup.S: File removed. * sysdeps/unix/fcntl.S: File removed. * sysdeps/unix/fsync.S: File removed. * sysdeps/unix/getgid.S: File removed. * sysdeps/unix/getpid.S: File removed. * sysdeps/unix/getuid.S: File removed. * sysdeps/unix/ioctl.S: File removed. * sysdeps/unix/kill.S: File removed. * sysdeps/unix/link.S: File removed. * sysdeps/unix/lseek.S: File removed. * sysdeps/unix/open.S: File removed. * sysdeps/unix/ptrace.S: File removed. * sysdeps/unix/read.S: File removed. * sysdeps/unix/reboot.S: File removed. * sysdeps/unix/setgid.S: File removed. * sysdeps/unix/setuid.S: File removed. * sysdeps/unix/sync.S: File removed. * sysdeps/unix/umask.S: File removed. * sysdeps/unix/unlink.S: File removed. * sysdeps/unix/write.S: File removed. * sysdeps/unix/bsd/flock.S: File removed. * sysdeps/unix/bsd/getdtsz.S: File removed. * sysdeps/unix/bsd/getpagesize.S: File removed. * sysdeps/unix/bsd/killpg.S: File removed. * sysdeps/unix/bsd/profil.S: File removed. * sysdeps/unix/bsd/readv.S: File removed. * sysdeps/unix/bsd/settimeofday.S: File removed. * sysdeps/unix/bsd/sigblock.S: File removed. * sysdeps/unix/bsd/sigpause.S: File removed. * sysdeps/unix/bsd/sigsetmask.S: File removed. * sysdeps/unix/bsd/sigstack.S: File removed. * sysdeps/unix/bsd/sigvec.S: File removed. * sysdeps/unix/bsd/utimes.S: File removed. * sysdeps/unix/bsd/writev.S: File removed. * sysdeps/unix/bsd/bsd4.4/chflags.S: File removed. * sysdeps/unix/bsd/bsd4.4/fchdir.S: File removed. * sysdeps/unix/bsd/bsd4.4/fchflags.S: File removed. * sysdeps/unix/bsd/bsd4.4/getdents.S: File removed. * sysdeps/unix/bsd/bsd4.4/getdomain.S: File removed. * sysdeps/unix/bsd/bsd4.4/revoke.S: File removed. * sysdeps/unix/bsd/bsd4.4/setdomain.S: File removed. * sysdeps/unix/bsd/bsd4.4/setegid.S: File removed. * sysdeps/unix/bsd/bsd4.4/seteuid.S: File removed. * sysdeps/unix/bsd/bsd4.4/setlogin.S: File removed. * sysdeps/unix/bsd/bsd4.4/setsid.S: File removed. * sysdeps/unix/bsd/bsd4.4/sigaltstack.S: File removed. * sysdeps/unix/bsd/bsd4.4/wait4.S: File removed. * sysdeps/unix/bsd/hp/m68k/getdents.S: File removed. * sysdeps/unix/bsd/osf/msync.S: File removed. * sysdeps/unix/bsd/osf/alpha/wait4.S: File removed. * sysdeps/unix/bsd/sony/newsos4/fchdir.S: File removed. * sysdeps/unix/bsd/sony/newsos4/sys_wait4.S: File removed. * sysdeps/unix/bsd/sun/getdents.S: File removed. * sysdeps/unix/bsd/sun/sunos3/m68k/wait.S: File removed. * sysdeps/unix/bsd/sun/sunos4/msync.S: File removed. * sysdeps/unix/bsd/sun/sunos4/poll.S: File removed. * sysdeps/unix/bsd/sun/sunos4/setsid.S: File removed. * sysdeps/unix/bsd/sun/sunos4/sys_mmap.S: File removed. * sysdeps/unix/bsd/sun/sunos4/sys_wait4.S: File removed. * sysdeps/unix/bsd/sun/sunos4/uname.S: File removed. * sysdeps/unix/bsd/ultrix4/getdents.S: File removed. * sysdeps/unix/bsd/ultrix4/setsid.S: File removed. * sysdeps/unix/bsd/ultrix4/uname.S: File removed. * sysdeps/unix/common/access.S: File removed. * sysdeps/unix/common/adjtime.S: File removed. * sysdeps/unix/common/dup2.S: File removed. * sysdeps/unix/common/fchmod.S: File removed. * sysdeps/unix/common/fchown.S: File removed. * sysdeps/unix/common/ftruncate.S: File removed. * sysdeps/unix/common/getgroups.S: File removed. * sysdeps/unix/common/getitimer.S: File removed. * sysdeps/unix/common/getpgid.S: File removed. * sysdeps/unix/common/getpriority.S: File removed. * sysdeps/unix/common/getrlimit.S: File removed. * sysdeps/unix/common/getrusage.S: File removed. * sysdeps/unix/common/gettimeofday.S: File removed. * sysdeps/unix/common/mkdir.S: File removed. * sysdeps/unix/common/readlink.S: File removed. * sysdeps/unix/common/rename.S: File removed. * sysdeps/unix/common/rmdir.S: File removed. * sysdeps/unix/common/select.S: File removed. * sysdeps/unix/common/setgroups.S: File removed. * sysdeps/unix/common/setitimer.S: File removed. * sysdeps/unix/common/setpgid.S: File removed. * sysdeps/unix/common/setpriority.S: File removed. * sysdeps/unix/common/setregid.S: File removed. * sysdeps/unix/common/setreuid.S: File removed. * sysdeps/unix/common/setrlimit.S: File removed. * sysdeps/unix/common/swapon.S: File removed. * sysdeps/unix/common/symlink.S: File removed. * sysdeps/unix/common/truncate.S: File removed. * sysdeps/unix/common/vhangup.S: File removed. * sysdeps/unix/inet/accept.S: File removed. * sysdeps/unix/inet/bind.S: File removed. * sysdeps/unix/inet/connect.S: File removed. * sysdeps/unix/inet/gethostid.S: File removed. * sysdeps/unix/inet/gethostname.S: File removed. * sysdeps/unix/inet/getpeername.S: File removed. * sysdeps/unix/inet/getsockname.S: File removed. * sysdeps/unix/inet/getsockopt.S: File removed. * sysdeps/unix/inet/listen.S: File removed. * sysdeps/unix/inet/recv.S: File removed. * sysdeps/unix/inet/recvfrom.S: File removed. * sysdeps/unix/inet/recvmsg.S: File removed. * sysdeps/unix/inet/send.S: File removed. * sysdeps/unix/inet/sendmsg.S: File removed. * sysdeps/unix/inet/sendto.S: File removed. * sysdeps/unix/inet/sethostid.S: File removed. * sysdeps/unix/inet/sethostname.S: File removed. * sysdeps/unix/inet/setsockopt.S: File removed. * sysdeps/unix/inet/shutdown.S: File removed. * sysdeps/unix/inet/socket.S: File removed. * sysdeps/unix/inet/socketpair.S: File removed. * sysdeps/unix/mman/madvise.S: File removed. * sysdeps/unix/mman/mmap.S: File removed. * sysdeps/unix/mman/mprotect.S: File removed. * sysdeps/unix/mman/msync.S: File removed. * sysdeps/unix/mman/munmap.S: File removed. * sysdeps/unix/sysv/alarm.S: File removed. * sysdeps/unix/sysv/ftime.S: File removed. * sysdeps/unix/sysv/nice.S: File removed. * sysdeps/unix/sysv/pause.S: File removed. * sysdeps/unix/sysv/poll.S: File removed. * sysdeps/unix/sysv/s_getdents.S: File removed. * sysdeps/unix/sysv/signal.S: File removed. * sysdeps/unix/sysv/stime.S: File removed. * sysdeps/unix/sysv/time.S: File removed. * sysdeps/unix/sysv/times.S: File removed. * sysdeps/unix/sysv/ulimit.S: File removed. * sysdeps/unix/sysv/uname.S: File removed. * sysdeps/unix/sysv/utime.S: File removed. * sysdeps/unix/sysv/irix4/getpgid.S: File removed. * sysdeps/unix/sysv/irix4/msync.S: File removed. * sysdeps/unix/sysv/irix4/setpgid.S: File removed. * sysdeps/unix/sysv/irix4/signal.S: File removed. * sysdeps/unix/sysv/irix4/sysmp.S: File removed. * sysdeps/unix/sysv/irix4/syssgi.S: File removed. * sysdeps/unix/sysv/isc2.2/rename.S: File removed. * sysdeps/unix/sysv/linux/adjtimex.S: File removed. * sysdeps/unix/sysv/linux/fork.S: File removed. * sysdeps/unix/sysv/linux/getpgid.S: File removed. * sysdeps/unix/sysv/linux/getpgrp.S: File removed. * sysdeps/unix/sysv/linux/getsid.S: File removed. * sysdeps/unix/sysv/linux/gtty.S: File removed. * sysdeps/unix/sysv/linux/mlock.S: File removed. * sysdeps/unix/sysv/linux/mlockall.S: File removed. * sysdeps/unix/sysv/linux/mount.S: File removed. * sysdeps/unix/sysv/linux/munlock.S: File removed. * sysdeps/unix/sysv/linux/munlockall.S: File removed. * sysdeps/unix/sysv/linux/pipe.S: File removed. * sysdeps/unix/sysv/linux/s_ptrace.S: File removed. * sysdeps/unix/sysv/linux/setpgid.S: File removed. * sysdeps/unix/sysv/linux/setsid.S: File removed. * sysdeps/unix/sysv/linux/settimeofday.S: File removed. * sysdeps/unix/sysv/linux/sigpending.S: File removed. * sysdeps/unix/sysv/linux/stty.S: File removed. * sysdeps/unix/sysv/linux/umount.S: File removed. * sysdeps/unix/sysv/linux/wait4.S: File removed. * sysdeps/unix/sysv/linux/i386/ipc.S: File removed. * sysdeps/unix/sysv/sco3.2.4/pathconf.S: File removed. * sysdeps/unix/sysv/sco3.2.4/pgrpsys.S: File removed. * sysdeps/unix/sysv/sco3.2.4/sco_getgrp.S: File removed. * sysdeps/unix/sysv/sco3.2.4/sigpending.S: File removed. * sysdeps/unix/sysv/sco3.2.4/sigprocmask.S: File removed. * sysdeps/unix/sysv/sco3.2.4/sigsuspend.S: File removed. * sysdeps/unix/sysv/sysv4/pgrpsys.S: File removed. * sysdeps/unix/sysv/sysv4/sigprocmask.S: File removed. * sysdeps/unix/sysv/sysv4/sigsuspend.S: File removed. * sysdeps/unix/sysv/sysv4/sysconfig.S: File removed. * sysdeps/unix/sysv/sysv4/sysinfo.S: File removed. * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys-sig.S: File removed. * io/mknod.c: New file.
* Thu Jan 18 00:32:43 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu> cvs/libc-960118Roland McGrath1996-01-182-3/+106
| | | | | | | | | | | | * Makerules (COMPILE.s): New variable. * sysdeps/unix/Makefile (sysd-syscalls): New target; generate with make-syscalls.sh and include it. [$(subdir)=misc] (sysdep_routines): Append extra syscalls from sysd-syscalls. * sysdeps/unix/make-syscalls.sh: New file. * Makerules (COMPILE.S): New variable.
* * sysdeps/unix/sysv/linux/statbuf.h (_STAT_VER_LINUX,Roland McGrath1996-01-182-5/+17
| | | | | | | | _STAT_VER_SVR4, _STAT_VER): New macros. (_MKNOD_VER_LINUX, _MKNOD_VER_SVR4, _MKNOD_VER): New macros. * sysdeps/unix/sysv/sysv4/i386/statbuf.h (_STAT_VER, _MKNOD_VER): New macros.
* Wed Jan 17 11:04:58 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath1996-01-1829-510/+204
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * io/sys/stat.h (_STAT_VER, _MKNOD_VER): New macros. (__xstat, __fxstat, __lxstat, __xmknod): Declare new functions. [__GNUC__] (stat, fstat, lstat, mknod): Define these (and __ names) as `extern inline's calling the `x' functions. * io/fstat.c: New file. * io/lstat.c: New file. * io/stat.c: New file. * sysdeps/generic/lstat.c: File removed. * sysdeps/generic/lxstat.c: New file. * sysdeps/mach/hurd/fstat.c: File removed. * sysdeps/mach/hurd/fxstat.c: New file. * sysdeps/mach/hurd/lstat.c: File removed. * sysdeps/mach/hurd/lxstat.c: New file. * sysdeps/mach/hurd/mknod.c: File removed. * sysdeps/mach/hurd/stat.c: File removed. * sysdeps/mach/hurd/xmknod.c: New file. * sysdeps/mach/hurd/xstat.c: New file. * sysdeps/stub/fstat.c: File removed. * sysdeps/stub/fxstat.c: New file. * sysdeps/stub/lstat.c: File removed. * sysdeps/stub/lxstat.c: New file. * sysdeps/stub/mknod.c: File removed. * sysdeps/stub/stat.c: File removed. * sysdeps/stub/xmknod.c: New file. * sysdeps/stub/xstat.c: New file. * sysdeps/unix/common/lstat.S: File removed. * sysdeps/unix/common/lxstat.c: New file. * sysdeps/unix/fstat.S: File removed. * sysdeps/unix/fxstat.c: New file. * sysdeps/unix/mknod.S: File removed. * sysdeps/unix/stat.S: File removed. * sysdeps/unix/sysv/linux/fstat.c: File removed. * sysdeps/unix/sysv/linux/i386/fxstat.S: File removed. * sysdeps/unix/sysv/linux/i386/lxstat.S: File removed. * sysdeps/unix/sysv/linux/i386/xmknod.S: File removed. * sysdeps/unix/sysv/linux/i386/xstat.S: File removed. * sysdeps/unix/sysv/linux/lstat.c: File removed. * sysdeps/unix/sysv/linux/mknod.c: File removed. * sysdeps/unix/sysv/linux/stat.c: File removed. * sysdeps/unix/sysv/sysv4/i386/fstat.S: File removed. * sysdeps/unix/sysv/sysv4/i386/lstat.S: File removed. * sysdeps/unix/sysv/sysv4/i386/mknod.S: File removed. * sysdeps/unix/sysv/sysv4/i386/stat.S: File removed. * sysdeps/unix/xmknod.c: New file. * sysdeps/unix/xstat.c: New file. * sysdeps/unix/mkfifo.c: Use __xmknod instead of __mknod. * misc/Makefile (routines): Remove mknod. * io/sys/stat.h (_STAT_VER, _MKNOD_VER): New macros. (__xstat, __fxstat, __lxstat, __xmknod): Declare new functions. [__GNUC__] (stat, fstat, lstat, mknod): Define these (and __ names) as `extern inline's calling the `x' functions. * io/fstat.c: New file. * io/lstat.c: New file. * io/stat.c: New file. * sysdeps/generic/lstat.c: File removed. * sysdeps/generic/lxstat.c: New file. * sysdeps/mach/hurd/fstat.c: File removed. * sysdeps/mach/hurd/fxstat.c: New file. * sysdeps/mach/hurd/lstat.c: File removed. * sysdeps/mach/hurd/lxstat.c: New file. * sysdeps/mach/hurd/mknod.c: File removed. * sysdeps/mach/hurd/stat.c: File removed. * sysdeps/mach/hurd/xmknod.c: New file. * sysdeps/mach/hurd/xstat.c: New file. * sysdeps/stub/fstat.c: File removed. * sysdeps/stub/fxstat.c: New file. * sysdeps/stub/lstat.c: File removed. * sysdeps/stub/lxstat.c: New file. * sysdeps/stub/mknod.c: File removed. * sysdeps/stub/stat.c: File removed. * sysdeps/stub/xmknod.c: New file. * sysdeps/stub/xstat.c: New file. * sysdeps/unix/common/lstat.S: File removed. * sysdeps/unix/common/lxstat.c: New file. * sysdeps/unix/fstat.S: File removed. * sysdeps/unix/fxstat.c: New file. * sysdeps/unix/mknod.S: File removed. * sysdeps/unix/stat.S: File removed. * sysdeps/unix/sysv/linux/fstat.c: File removed. * sysdeps/unix/sysv/linux/i386/fxstat.S: File removed. * sysdeps/unix/sysv/linux/i386/lxstat.S: File removed. * sysdeps/unix/sysv/linux/i386/xmknod.S: File removed. * sysdeps/unix/sysv/linux/i386/xstat.S: File removed. * sysdeps/unix/sysv/linux/lstat.c: File removed. * sysdeps/unix/sysv/linux/mknod.c: File removed. * sysdeps/unix/sysv/linux/stat.c: File removed. * sysdeps/unix/sysv/sysv4/i386/fstat.S: File removed. * sysdeps/unix/sysv/sysv4/i386/lstat.S: File removed. * sysdeps/unix/sysv/sysv4/i386/mknod.S: File removed. * sysdeps/unix/sysv/sysv4/i386/stat.S: File removed. * sysdeps/unix/xmknod.c: New file. * sysdeps/unix/xstat.c: New file. * sysdeps/unix/mkfifo.c: Use __xmknod instead of __mknod. * misc/Makefile (routines): Remove mknod. * sysdeps/ieee754/ieee754.h (union ieee854_long_double.ieee_nan): Add missing ; in little-endian case.
* (union ieee854_long_double.ieee_nan): Add missing ; in little-endian case.Roland McGrath1996-01-171-6/+6
|
* Sun Jan 14 01:01:10 1996 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>Roland McGrath1996-01-1710-21/+267
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * sysdeps/mips/bytesex.h: Add default byte sex. By Ralf Baechle. * sysdeps/unix/sysv/linux/adjtime.c [! MOD_OFFSET]: Use `mode' member of `struct timex' instead of `modes'. From Andreas Schwab. * sysdeps/unix/sysv/linux/mknod.c: New file. Generic C version. * sysdeps/unix/sysv/linux/i386/mknod.S: Remove assembler version. * sysdeps/unix/sysv/linux/Makefile (inhibit-glue): New variable. [$(subdir) = misc] (sysdep_routines): Add mount, umount, and s_ptrace. [$(subdir) = misc] (headers): Append sys/mount.h. * sysdeps/unix/sysv/linux/mount.S, sysdeps/unix/sysv/linux/umount.S: New files. Implement system calls. * sysdeps/unix/sysv/linux/sys/mount.h: New header file. * sysdeps/unix/sysv/linux/ptrace.c: New file. Wrapper around ptrace system call. * sysdeps/unix/sysv/linux/s_ptrace.S: New file: ptrace system call. * sysdeps/unix/sysv/linux/i386/gnu/types.h: New file with correct types for i386/Linux. Sun Jan 14 01:01:10 1996 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de> * sysdeps/mips/bytesex.h: Add default byte sex. By Ralf Baechle. * sysdeps/unix/sysv/linux/adjtime.c [! MOD_OFFSET]: Use `mode' member of `struct timex' instead of `modes'. From Andreas Schwab. * sysdeps/unix/sysv/linux/mknod.c: New file. Generic C version. * sysdeps/unix/sysv/linux/i386/mknod.S: Remove assembler version. * sysdeps/unix/sysv/linux/Makefile (inhibit-glue): New variable. [$(subdir) = misc] (sysdep_routines): Add mount, umount, and s_ptrace. [$(subdir) = misc] (headers): Append sys/mount.h. * sysdeps/unix/sysv/linux/mount.S, sysdeps/unix/sysv/linux/umount.S: New files. Implement system calls. * sysdeps/unix/sysv/linux/sys/mount.h: New header file. * sysdeps/unix/sysv/linux/ptrace.c: New file. Wrapper around ptrace system call. * sysdeps/unix/sysv/linux/s_ptrace.S: New file: ptrace system call. * sysdeps/unix/sysv/linux/i386/gnu/types.h: New file with correct types for i386/Linux.
* Wed Jan 17 11:04:58 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath1996-01-173-8/+7
| | | | | | | | | | | | | | | | | * sysdeps/unix/sysv/time.S: Moved from sysv4. * sysdeps/unix/sysv/irix4/time.S: File removed. * sysdeps/unix/sysv/linux/signum.h: Moved from sysdeps/unix/sysv/linux/i386. (_NSIG): Move inside #ifdef _SIGNAL_H. Wed Jan 17 11:04:58 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu> * sysdeps/unix/sysv/time.S: Moved from sysv4. * sysdeps/unix/sysv/irix4/time.S: File removed. * sysdeps/unix/sysv/linux/signum.h: Moved from sysdeps/unix/sysv/linux/i386. (_NSIG): Move inside #ifdef _SIGNAL_H.
* * sysdeps/unix/seekdir.c: Don't modify POS before seeking. cvs/libc-960117Roland McGrath1996-01-172-4/+3
| | | | | * sysdeps/unix/telldir.c: Fix position calculation to account for buffered data properly.
* * sysdeps/m68k/Makefile (crypt): Don't define if building a sharedRoland McGrath1996-01-171-3/+6
| | | | library.
* * misc/efgcvt_r.c (ecvt_r): Handle negative values.Roland McGrath1996-01-1722-50/+347
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * stdlib/stdlib.h: Replace __CONSTVALUE by attribute. * stdlib/abs.c, stdlib/div.c, stdlib/labs.c, stdlib/ldiv.c, sysdeps/generic/hypot.c: Remove obsolete __CONSTVALUE. * stdio-common/printf_fp.c (__printf_fp): Fix parameter declaration. * sysdeps/generic/putenv.c (putenv): Fix second argument of setenv. * sysdeps/ieee754/hypot.c: New file, extracted out of cabs.c. * sysdeps/ieee754/cabs.c: Don't define hypot here. * sysdeps/ieee754/ieee754.h (union ieee854_long_double): Fix definition of ieee_nan alternative. * sysdeps/m68k/__longjmp.c, sysdeps/m68k/setjmp.c: Add register prefix spec. * sysdeps/m68k/ffs.c (ffs): Fix register constraint. * sysdeps/m68k/fpu/__math.h: Include <errno.h>. Replace obsolete __CONSTVALUE by attribute. (floor): Round to negative infinity. (rint, expm1) [__NO_MATH_INLINES]: Don't define, to avoid type clash when compiling source. (pow): Handle x == 0 and x < 0. (ceil, __isinf, __isnan): Fix register constraints. (__isinfl, __isnanl): Added. * sysdeps/m68k/fpu/acos.c, sysdeps/m68k/fpu/atan2.c, sysdeps/m68k/fpu/fmod.c, sysdeps/m68k/fpu/ldexp.c, sysdeps/m68k/fpu/pow.c: Remove obsolete __CONSTVALUE. * sysdeps/m68k/bsd-_setjmp.S, sysdeps/m68k/bsd-setjmp.S: Fix assembler syntax. * sysdeps/unix/bsd/bsd4.4/fchdir.S (fchdir): Take only one argument. * sysdeps/unix/bsd/clock.c (timeval_to_clock_t): Fix timeval to clock_t conversion. (clock): Don't multiply by CLOCKS_PER_SEC. * sysdeps/unix/bsd/poll.c (poll): Fix msec to timeval conversion. * sysdeps/unix/bsd/sun/m68k/brk.S (brk): Compare with address of __end. * sysdeps/unix/bsd/sun/m68k/vfork.S: Fix assembler syntax. * sysdeps/unix/bsd/ualarm.c (ualarm): Fix timeval calculation. * sysdeps/unix/bsd/vax/vfork.S: Remove duplicate label.
* Fri Jan 12 13:40:01 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu> cvs/libc-960113Roland McGrath1996-01-131-0/+84
| | | | | | | | | | | | * posix/gnu/types.h: Moved to sysdeps/generic/gnu/types.h. * posix/glob.c (glob): Add parens in glob call flags arg for GLOB_BRACE case. * string/string.h (strdupa): New macro. * stdio-common/vfscanf.c (%[): Grok ] as first char in set, not terminator on empty set. From drepper.
* Tue Jan 9 16:10:26 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu> cvs/libc-960110Roland McGrath1996-01-101-1/+17
| | | | | | | | | * elf/dl-load.c (_dl_map_object_from_fd): After mapping first segment to find location, mprotect excess region to no access, don't munmap it. * sysdeps/mach/hurd/dl-sysdep.c (mmap): If vm_map returns KERN_NO_SPACE for fixed location, deallocate it and try again.
* Sat Jan 6 16:39:14 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu> cvs/libc-960108 cvs/libc-960107Roland McGrath1996-01-071-11/+14
| | | | | | | | | | | | | | | | | | | | | | | * Makefile (subdirs): Added db. * resolv/Makefile (routines): Add res_data. * resolv/res_data.c, resolv/res_debug.c, resolv/resolv.h: Updated from BIND 4.9.3 final release. * elf/dynamic-link.h (elf_get_dynamic_info): Handle processor-specific tags. (ELF_DYNAMIC_DO_REL, ELF_DYNAMIC_DO_RELA): Handle absent DT_PLTREL tag. * elf/elf.h (DT_MIPS_NUM, DT_PROCNUM): New macros. * elf/link.h (struct link_map): Extend `l_info' by DT_PROCNUM. * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Take new arg LAZY. Only do our work if LAZY and there is a DT_JMPREL record. * elf/dl-reloc.c (_dl_relocate_object): Call elf_machine_runtime_setup unconditionally, and pass it LAZY flag. * elf/dl-load.c: Fixed ELFMAG check to work for either byte order. Align end of load segment only to page size, not to segment alignment.
* Thu Jan 4 11:35:18 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath1996-01-042-44/+47
| | | | | | | | | | | | | | | | * sysdeps/mach/hurd/setitimer.c: Code rearranged a bit to use new preemption interface. * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use _hurdsig_catch_memory_fault. * hurd/Makefile (headers): Add hurd/sigpreempt.h. (sig): Add catch-signal. * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise): Rewritten using a preempter in new interface. * hurd/hurdfault.h (_hurdsig_catch_fault): Likewise. (_hurdsig_catch_memory_fault): New macro.
* (__access): Put the uid/gid arguments to auth_makeauth() in the right order.Miles Bader1996-01-041-1/+1
|
* Rewritten. cvs/libc-960103Roland McGrath1996-01-044-31/+50
|
* * hurd/hurd/signal.h (struct hurd_sigstate): New member `preempters'. cvs/libc-960102Roland McGrath1996-01-022-16/+42
| | | | | | | | | | | | | | (hurd_preempt_signals, hurd_unpreempt_signals): Decls removed. * hurd/hurd/sigpreempt.h: New file. * hurd/preempt-sig.c: Rewritten with new interface. * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Remove local signal preempters being unwound past. * db: New directory, 4.4 BSD db package incorporated from BSD db-1.85 release. * sysdeps/unix/sysv/linux/sys/param.h: Several new macros for BSD compatibility.
* Thu Dec 28 10:21:35 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> cvs/libc-960101 cvs/libc-951231 cvs/libc-951230 cvs/libc-951229Roland McGrath1995-12-291-1/+35
| | | | | | | | * sysdeps/generic/confname.h: Define all names as self-referential macros so #ifdef works. * hurd/preempt-sig.c (hurd_unpreempt_signals): Remove bogus asgnmt of _hurd_signal_preempters[SIGNO].
* Mon Dec 25 20:56:39 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> cvs/libc-951228 cvs/libc-951227 cvs/libc-951226Roland McGrath1995-12-263-24/+33
| | | | | | | | | | | | | | | | | | | | * sysdeps/mach/hurd/bind.c: Translate EEXIST from dir_link into EADDRINUSE. If translated node doesn't grok ifsock protocol, return EADDRINUSE. * sysdeps/mach/hurd/connect.c: Make address arg `const struct sockaddr_un *'. The redecl is kosher and avoids another variable for AF_LOCAL case. * sysdeps/mach/hurd/sendto.c: Likewise. * sysdeps/mach/hurd/bind.c: Likewise. * socket/sys/socket.h (__SOCKADDR_ARG): Enable transparent_union code for GCC >= 2.7; use __transparent_union__ for name safety; add several sockaddr flavors. (__SOCKADDR_ALLTYPES, __SOCKADDR_ONETYPE): New macros used in constructing the transparent union declarations. (__CONST_SOCKADDR_ARG): New type (or macro if not GCC 2.7). (bind, connect, sendto): Make the sockaddr argument use that.
* Fri Dec 22 00:38:00 1995 H.J. Lu <hjl@nynexst.com>Roland McGrath1995-12-232-2/+2
| | | | | | | | | | | * stdio-common/vfscanf.c: Correctly handle white space skipping. * stdio-common/Makefile (tests): Add bug11. * stdio-common/bug11.c: New file. Fri Dec 22 00:38:00 1995 H.J. Lu <hjl@nynexst.com> * stdio-common/vfscanf.c: Correctly handle white space skipping. * stdio-common/Makefile (tests): Add bug11. * stdio-common/bug11.c: New file.
* Fri Dec 22 00:57:38 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> cvs/libc-951222Roland McGrath1995-12-226-58/+158
| | | | | | | | | | | | | | | | | | | * sysdeps/mach/hurd/setuid.c: Rewrote ID frobnication to do the right thing. * sysdeps/mach/hurd/setgid.c: Likewise. * sysdeps/mach/hurd/setreuid.c: Likewise. * sysdeps/mach/hurd/setregid.c: Likewise. * sysdeps/mach/hurd/setegid.c: Likewise. * sysdeps/mach/hurd/seteuid.c: Likewise. * sysdeps/mach/hurd/fork.c: Peek __mach_task_self_ value before proc_dostop call to work around kernel paging bug. Thu Dec 21 12:19:32 1995 Miles Bader <miles@gnu.ai.mit.edu> * sysdeps/mach/hurd/setuid.c (__setuid): Actually add the new uid instead of putting it (and other uids) in the gids and leaving the old uids as is.
* Peek __mach_task_self_ value before proc_dostop call to work around kernel ↵Roland McGrath1995-12-221-4/+6
| | | | paging bug.
* (__setuid): Actually add the new uid instead of putting it (and other uids) ↵ cvs/libc-951221Miles Bader1995-12-211-3/+3
| | | | in the gids and leaving the old uids as is.
* Mon Dec 18 13:40:37 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> cvs/libc-951219Roland McGrath1995-12-191-1/+1
| | | | | | | | | | | | * stdio/fread.c: Don't increment __offset when it's -1. * elf/rtld.c (dl_main): Prepend tab to "statically linked". Exit 0 in that case. * misc/err.c (vwarnx, vwarn): Fix major brainos. * sysdeps/mach/hurd/dl-sysdep.c (mmap): Fix setting of inheritance.
* RegeneratedRoland McGrath1995-12-121-6/+28
| | | | | | | | | | | | | Fri Dec 8 13:04:51 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> * posix/glob.c: Implement new options GLOB_ALTDIRFUNC, GLOB_BRACE, GLOB_TILDE, GLOB_NOMAGIC. (glob): Use stat instead of lstat to determine directoriness. * posix/glob.h (GLOB_ALTDIRFUNC, GLOB_BRACE, GLOB_NOMAGIC, GLOB_TILDE): New flag bits. (__GLOB_FLAGS): Include them. (glob_t): New members gl_closedir, gl_readdir, gl_opendir, gl_lstat, gl_stat.
* Fri Dec 8 13:04:51 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> cvs/libc-951210 cvs/libc-951209Roland McGrath1995-12-092-44/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | * locale/error.c, locale/error.h: Files removed. * locale/Makefile (distribute): Remove error.h. (lib-modules): Remove error. * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): For "tty" magic, return ENXIO if no ctty. * sysdeps/mach/hurd/mmap.c: For MAP_FIXED, deallocate a previous mapping if vm_map fails for that reason. * posix/glob.c: Implement new options GLOB_ALTDIRFUNC, GLOB_BRACE, GLOB_TILDE, GLOB_NOMAGIC. (glob): Use stat instead of lstat to determine directoriness. * posix/glob.h (GLOB_ALTDIRFUNC, GLOB_BRACE, GLOB_NOMAGIC, GLOB_TILDE): New flag bits. (__GLOB_FLAGS): Include them. (glob_t): New members gl_closedir, gl_readdir, gl_opendir, gl_lstat, gl_stat. * elf/elf.h (ET_NUM, SHT_NUM, STB_NUM, STT_NUM, PT_NUM): New macros. * sysdeps/unix/sysv/linux/sys/mman.h: Include <linux/mman.h> to define all the bit values. (MAP_*, MCL_*): Macros removed.
* (__select): Still clear the user's bits for an fd when SELECT_RETURNED ↵Miles Bader1995-12-071-25/+25
| | | | isn't set. Only clear bits in the user's fdsets -- those needing to be set should be already. Use SELECT_ALL in appropiate places. (SELECT_ALL): New macro.
* (__select): Swap size args to mach_msg.Miles Bader1995-12-061-1/+1
|
* (NBBY): New macro.Roland McGrath1995-12-061-1/+2
|
* Updated from ../gpl2lgpl.sed /home/gd/gnu/lib/error.cRoland McGrath1995-12-063-77/+84
|
* Tue Dec 5 02:27:32 1995 Ulrich Drepper <drepper@gnu.ai.mit.edu>Roland McGrath1995-12-052-84/+84
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * libio/Makefile [routines]: Remove iofscanf, add iopopen, pclose. * libio/iofscanf.c: Remove file. * libio/iogetdelim.c (_IO_getdelim): Correct stupid bug at string termination. * libio/iopopen.c: New file from GNU libio. * libio/memstream.c: Fixed bug in fclose handling. Instead of providing a close callback we need a finish callback. * libio/pclose.c: New file. Derived from popen.c in GNU libio. * posix/gnu/types.h: Fixed typo. * stdio-common/errnobug.c: fputs returns EOF in error case. Do not test for != 0. * stdio-common/printf-parse.h (parse_one_spec): Do not force padding with ' ' if precision is given. Fix by HJ Lu. * stdio-common/printf_fp.c: Fix comment. * stdio-common/tfformat.c, stdio-common/tiformat.c, stdio-common/tstdiomisc.c: New files from GNU libio test suite. * stdio-common/tstgetln.c: Provide ssize_t type when testing libio. * stdio-common/vfprintf.c (outchar): Use PUTC instead of putc. (vfprintf): Cleasr args_type array before using it. When printing 0 as an integer with precision 0 nothing must be written for the number. Based on patch by HJ Lu. * stdio-common/vfscanf.c: Remove fixed input buffer. Now we have a dynamically extended buffer. * stdlib/strtod.c: Merge with version in Linux libc. This fixes some bugs with handling of very small numbers and has different solution for formaer patches. * sysdeps/i386/i586/add_n.S, sysdeps/i386/i586/sub_n.S: Rename macros r1 and r2 to t1, and t2 resp. This is necessary because glibc headers also define r1. Tue Dec 5 02:27:32 1995 Ulrich Drepper <drepper@gnu.ai.mit.edu> * libio/Makefile [routines]: Remove iofscanf, add iopopen, pclose. * libio/iofscanf.c: Remove file. * libio/iogetdelim.c (_IO_getdelim): Correct stupid bug at string termination. * libio/iopopen.c: New file from GNU libio. * libio/memstream.c: Fixed bug in fclose handling. Instead of providing a close callback we need a finish callback. * libio/pclose.c: New file. Derived from popen.c in GNU libio. * posix/gnu/types.h: Fixed typo. * stdio-common/errnobug.c: fputs returns EOF in error case. Do not test for != 0. * stdio-common/printf-parse.h (parse_one_spec): Do not force padding with ' ' if precision is given. Fix by HJ Lu. * stdio-common/printf_fp.c: Fix comment. * stdio-common/tfformat.c, stdio-common/tiformat.c, stdio-common/tstdiomisc.c: New files from GNU libio test suite. * stdio-common/tstgetln.c: Provide ssize_t type when testing libio. * stdio-common/vfprintf.c (outchar): Use PUTC instead of putc. (vfprintf): Cleasr args_type array before using it. When printing 0 as an integer with precision 0 nothing must be written for the number. Based on patch by HJ Lu. * stdio-common/vfscanf.c: Remove fixed input buffer. Now we have a dynamically extended buffer. * stdlib/strtod.c: Merge with version in Linux libc. This fixes some bugs with handling of very small numbers and has different solution for formaer patches. * sysdeps/i386/i586/add_n.S, sysdeps/i386/i586/sub_n.S: Rename macros r1 and r2 to t1, and t2 resp. This is necessary because glibc headers also define r1.
* Updated from ../=mpn/gmp-1.910Roland McGrath1995-12-0414-248/+1165
|
* For IOC_VOID request, send ARG itself as integer_t arg in RPC.Roland McGrath1995-12-041-0/+7
|
* * sysdeps/mach/hurd/brk.c (DATA_SIZE): Bump to 128MB. cvs/libc-951204 cvs/libc-951203Roland McGrath1995-12-034-16/+120
| | | | | | | | | | (_hurd_set_brk): Try to allocate more space when we run out. * sysdeps/generic/sbrk.c: If __curbrk is zero, call __brk with zero and examine it again. * sysdeps/unix/sysv/linux/i386/brk.c: New file. * sysdeps/unix/sysv/linux/i386/brk.S: File removed. * sysdeps/unix/sysv/linux/i386/sbrk.S: File removed. * sysdeps/unix/sysv/linux/dl-sysdep.c: New file.
* Sat Dec 2 03:47:27 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> cvs/libc-951202Roland McGrath1995-12-022-134/+0
| | | | | | | | | | | * sysdeps/unix/sysv/linux/i386/sbrk.S: File removed. * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start) [DL_SYSDEP_INIT]: Invoke this macro before calling DL_MAIN. * malloc/malloc.c (malloc): Do initialization here, before checking the hook. (_malloc_internal): Don't do it here.
* (_dl_sysdep_start) [DL_SYSDEP_INIT]: Invoke this macro before calling DL_MAIN.Roland McGrath1995-12-021-0/+4
|
* Wed Nov 29 12:30:50 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> cvs/libc-951130Roland McGrath1995-11-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | * libio/vsnprintf.c (__vsnprintf): Define as alias. * libio/iovsscanf.c (__vsscanf): Define as alias. * asprintf.c: Remove libio adaptation code added by drepper. * dprintf.c: Likewise. * printf.c: Likewise. * scanf.c: Likewise. * snprintf.c: Likewise. * sprintf.c: Likewise. * sscanf.c: Likewise. * vprintf.c: Likewise. * stdio-common/vfscanf.c [USE_IN_LIBIO] (__vfscanf): New wrapper function. (vfscanf): Define unconditionally. * sysdeps/i386/dl-machine.h (elf_machine_rel): If SYM is null, use zero for value. * misc/getpass.c: Write a newline after reading the unechoed password.
* Mon Nov 27 19:24:18 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> cvs/libc-951129 cvs/libc-951128Roland McGrath1995-11-283-0/+87
| | | | | | | | * posix/Makefile (routines): Add getsid. * sysdeps/unix/sysv/linux/getsid.S: New file. * sysdeps/mach/hurd/getsid.c: New file. * sysdeps/stub/getsid.c: New file. * posix/unistd.h [__USE_GNU]: Declare getsid.
* Sun Nov 26 02:00:02 1995 Ulrich Drepper <drepper@gnu.ai.mit.edu>Roland McGrath1995-11-265-4/+116
| | | | | | | | | | | * misc/syslog.c (vsyslog) [USE_IN_LIBIO]: Adapted for libio. Thu Nov 23 02:21:55 1995 Ulrich Drepper <drepper@gnu.ai.mit.edu> * sysdeps/unix/sysv/linux/{mlock,munlock,mlockall,munlockall}.S: New files. * sysdeps/unix/sysv/linux/mman.h: Add prototypes for new functions mlock, munlock, mlockall, and munlockall.
* Wed Nov 22 12:37:39 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> cvs/libc-951123Roland McGrath1995-11-238-109/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * sysdeps/unix/sysv/linux/i386/sysdep.S (_errno): Define as alias for errno. * stdio-common/vfprintf.c [USE_IN_LIBIO] (vfprintf): Define as alias for _IO_vfprintf. * sysdeps/unix/sysv/linux/sockaddrcom.h: File removed. * sysdeps/unix/sysv/linux/i386/init-first.c (init): Use __fpu_control instead of ___fpu_control. * sysdeps/unix/sysv/linux/i386/ieee_fpu.c (___fpu_control): Renamed to __fpu_control. * sysdeps/unix/sysv/linux/i386/fpu_control.h: Likewise. * sysdeps/unix/sysv/linux/i386/fpu_control.c: Likewise. * elf/dl-minimal.c: New file. * elf/Makefile (rtld-routines): Add dl-minimal. * elf/rtld.c (__dgettext, __assert_fail, __assert_perror_fail): Functions moved to dl-minimal.c. * sysdeps/mach/hurd/dl-sysdep.c (malloc, free, realloc, sigjmp_save, longjmp): Likewise. * sysdeps/unix/sysv/linux/i386/brk.S (__curbrk): Always initialize to &_end, regardless of PIC. * stdio-common/vfscanf.c (__vfscanf): Fix arg name in defn.
* Tue Nov 21 14:12:13 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> cvs/libc-951122Roland McGrath1995-11-221-6/+19
| | | | | | | | | | | | | | | | | * malloc/malloc.c (align): Don't check contiguity and call abort. * hurd/hurdsig.c (post_reply): Function removed. (abort_thread, abort_all_rpcs, _hurdsig_abort_rpcs): Don't call it. Take single callback fn arg instead of reply port and type. (_hurd_internal_post_signal): Callers changed. Cache reply stub fn ptr in local var before UNTRACED might be changed. * sysdeps/mach/hurd/mmap.c: Cope with a null write memobj for PROT_READ|PROT_WRITE copy mapping. Pass a proper vm_inherit_t to vm_map. * elf/rtld.c (_dl_start): For --list, do output and exit before relocating.
* Sat Nov 18 16:46:01 1995 Ulrich Drepper <drepper@gnu.ai.mit.edu>Roland McGrath1995-11-202-0/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * libio/Makefile, libio/cleanup.c, libio/clearerr.c, libio/feof.c, libio/ferror.c, libio/fgetc.c, libio/filedoalloc.c, libio/fileno.c, libio/fileops.c, libio/fputc.c, libio/freopen.c, libio/fseek.c, libio/genops.c, libio/getc.c, libio/getchar.c, libio/iofclose.c, libio/iofdopen.c, libio/iofflush.c, libio/iofgetpos.c, libio/iofgets.c, libio/iofopen.c, libio/iofprintf.c, libio/iofputs.c, libio/iofread.c, libio/iofscanf.c, libio/iofsetpos.c, libio/ioftell.c, libio/iofwrite.c, libio/iogetdelim.c, libio/iogetline.c, libio/iogets.c, libio/iolibio.h, libio/iopadn.c, libio/ioprims.c, libio/ioputs.c, libio/ioseekoff.c, libio/ioseekpos.c, libio/iosetbuffer.c, libio/iosetvbuf.c, libio/iosprintf.c, libio/ioungetc.c, libio/iovsprintf.c, libio/iovsscanf.c, libio/libio.h, libio/libioP.h, libio/putc.c, libio/putchar.c, libio/rewind.c, libio/setbuf.c, libio/setlinebuf.c, libio/stdfiles.c, libio/stdio.c, libio/stdio.h, libio/strfile.h, libio/strops.c, libio/vasprintf.c, libio/vscanf.c, libio/vsnprintf.c: New files. Slightly modified version from Linux libc. * libio/memstream.c, libio/vdprintf.c: New files for functions not (yet) part of GNU libio. * libio/iofopncook.c: Implementation of `fopencookie', mainly written by Per Bothner. * stdio-common/getline.c: Adapted to libio. * stdio-common/snprintf.c: Adapted to libio. * stdio-common/vfprintf.c: Adapted to libio. * stdio-common/vfscanf.c: Adapted to libio. * sysdeps/posix/tempname.c: Adapted to libio.
* Fri Nov 17 17:57:00 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> cvs/libc-951119 cvs/libc-951118Roland McGrath1995-11-183-10/+16
| | | | | | | | | | | | | | | | * sysdeps/generic/Makefile (make_siglist): Add missing backslash. * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): New function. * hurd/hurdfault.c: Replace __libc_fatal calls with assert_perror. (_hurdsig_fault_init): Remove #if 0 from setting exception port. Insert send right for SIGEXC before thread_set_special_port. * hurd/hurdsig.c: Replace __libc_fatal calls with assert_perror. (_hurdsig_init): Remove #if 0 from setting exception port. * sysdeps/mach/hurd/ptrace.c (ptrace: PTRACE_CONT): Use HURD_MSGPORT_RPC macro.
* Thu Nov 16 06:07:49 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> cvs/libc-951117Roland McGrath1995-11-173-12/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): New function. (_dl_sysdep_start): Move cleanup code there. * Makeconfig (default-rpath): New variable. (link-libc): Use it. * elf/Makefile (ld.so): Pass -rpath=$(default-rpath). * elf/rtld.c (_dl_rpath): New variable. (_dl_start): Set it from rtld_map's DT_RPATH. Call _dl_setup_hash on rtld_map. (dl_main): Cache address of _exit in variable before relocating, and use that in later calls. Call _dl_sysdep_start_cleanup before relocating. Keep track of dependency order while loading; remove rtld_map from chain, and reinsert in proper order if there is a dependency on it. * sysdeps/generic/Makefile (make_siglist): Pass -DSIGNUM_H=... with config's signum.h location. * sysdeps/generic/make_siglist.c: Include SIGNUM_H to define signal numbers. (HAVE_STRSIGNAL, HAVE_PSIGNAL): Define these before including signame.c (main): Deansideclize output. * elf/dl-load.c (_dl_map_object): Use _dl_rpath variable in place of DEFAULT_RPATH macro. * elf/Makefile: Undo last change. * sysdeps/mach/hurd/dl-sysdep.c (free): Don't abort, just nop.