Roland McGrath [Wed, 24 Jan 1996 03:02:14 +0000 (03:02 +0000)]
(fts_open): Use prototypes for COMPAR decl.
Miles Bader [Wed, 24 Jan 1996 02:39:26 +0000 (02:39 +0000)]
(bind): Ensure NAME for the AF_LOCAL case is '\0'-terminated.
Roland McGrath [Wed, 24 Jan 1996 01:34:10 +0000 (01:34 +0000)]
(dl_main): Support additional args in --list mode for debugging: look them up as symbol names and print values.
Roland McGrath [Tue, 23 Jan 1996 10:00:23 +0000 (10:00 +0000)]
Mon Jan 22 10:40:40 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* 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.
Roland McGrath [Mon, 22 Jan 1996 10:00:24 +0000 (10:00 +0000)]
* misc/Makefile (headers): Rename queue.h to sys/queue.h.
* misc/queue.h: Moved to misc/sys/queue.h.
Roland McGrath [Sun, 21 Jan 1996 10:01:05 +0000 (10:01 +0000)]
Sun Jan 21 00:55:25 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* 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.
Roland McGrath [Sat, 20 Jan 1996 10:00:23 +0000 (10:00 +0000)]
* sysdeps/unix/sysv/linux/tcdrain.c: Define tcdrain, not
__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.
Roland McGrath [Fri, 19 Jan 1996 18:43:03 +0000 (18:43 +0000)]
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.
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.
Roland McGrath [Fri, 19 Jan 1996 10:00:23 +0000 (10:00 +0000)]
* io/Makefile (routines): Add mknod, xstat fxstat lxstat xmknod.
* 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.
Roland McGrath [Fri, 19 Jan 1996 00:42:21 +0000 (00:42 +0000)]
Thu Jan 18 00:32:43 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
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.
Roland McGrath [Thu, 18 Jan 1996 10:00:52 +0000 (10:00 +0000)]
Thu Jan 18 00:32:43 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* 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.
Roland McGrath [Thu, 18 Jan 1996 00:50:52 +0000 (00:50 +0000)]
* sysdeps/unix/sysv/linux/statbuf.h (_STAT_VER_LINUX,
_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.
Roland McGrath [Thu, 18 Jan 1996 00:35:55 +0000 (00:35 +0000)]
Wed Jan 17 11:04:58 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* 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.
Roland McGrath [Thu, 18 Jan 1996 00:10:56 +0000 (00:10 +0000)]
(_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.
Doug Evans [Wed, 17 Jan 1996 23:54:58 +0000 (23:54 +0000)]
Recognize go32* as an os.
Richard M. Stallman [Wed, 17 Jan 1996 22:40:42 +0000 (22:40 +0000)]
Default OS to nextstep if machine vendor is Next. -ns2 is an alias for -nextstep.
Roland McGrath [Wed, 17 Jan 1996 22:33:48 +0000 (22:33 +0000)]
(union ieee854_long_double.ieee_nan): Add missing ; in little-endian case.
Roland McGrath [Wed, 17 Jan 1996 17:42:14 +0000 (17:42 +0000)]
* elf/dynamic-link.h [ELF_MACHINE_NO_REL] (ELF_DYNAMIC_DO_REL):
Define this instead of ELF_DYNAMIC_DO_RELA.
Roland McGrath [Wed, 17 Jan 1996 17:13:48 +0000 (17:13 +0000)]
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.
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.
Roland McGrath [Wed, 17 Jan 1996 16:17:58 +0000 (16:17 +0000)]
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.
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.
Roland McGrath [Wed, 17 Jan 1996 10:00:23 +0000 (10:00 +0000)]
* sysdeps/unix/seekdir.c: Don't modify POS before seeking.
* sysdeps/unix/telldir.c: Fix position calculation to account for
buffered data properly.
Roland McGrath [Wed, 17 Jan 1996 02:41:04 +0000 (02:41 +0000)]
Sun Jan 14 17:51:09 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* MakeTAGS (all-sources, all-headers): Always search the
current directory first.
* db/btree/bt_seq.c (__bt_first): Return RET_SPECIAL when key not
found.
* MakeTAGS (all-sources, all-headers): Always search the
current directory first.
* db/btree/bt_seq.c (__bt_first): Return RET_SPECIAL when key not
found.
Roland McGrath [Wed, 17 Jan 1996 02:33:33 +0000 (02:33 +0000)]
* sysdeps/m68k/Makefile (crypt): Don't define if building a shared
library.
Roland McGrath [Wed, 17 Jan 1996 02:29:57 +0000 (02:29 +0000)]
* csu/initfini.c (_init): Call __gmon_start__ if defined (weak ref).
* csu/gmon-start.c (__gmon_start__): Renamed from gmon_start, made
global.
[! HAVE_INITFINI]: Only make it a constructor in this case.
Roland McGrath [Wed, 17 Jan 1996 02:11:06 +0000 (02:11 +0000)]
* gmon/Makefile (CFLAGS-mcount.c): New variable.
(mcount.po): New target.
* Makeconfig (CFLAGS): Append $(CFLAGS-$(<F)).
Roland McGrath [Wed, 17 Jan 1996 02:03:00 +0000 (02:03 +0000)]
* misc/efgcvt_r.c (ecvt_r): Handle negative values.
* 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.
Roland McGrath [Wed, 17 Jan 1996 01:46:13 +0000 (01:46 +0000)]
Tue Jan 16 17:37:39 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* csu/Makefile [have-initfini=yes] (CPPFLAGS): Append -DHAVE_INITFINI.
(initfini): Compile initfini.c with -fPIC.
Sun Jan 14 17:51:09 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* stdio-common/vfscanf.c (inchar, conv_error, input_error,
memory_error): Add cast to void to avoid gcc warning.
(vfscanf): Rewrite character class parsing to make it more efficient.
Roland McGrath [Wed, 17 Jan 1996 00:46:59 +0000 (00:46 +0000)]
Sun Jan 14 01:01:10 1996 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>
* stdlib/strtol.c: Return correct pointer for strings
like "0xyz" and base 0 or 16.
* string/strxfrm.c: Handle case for LENGTH == 0 correct.
* sunrpc/etc.rpc: Add some more known protocols.
Sun Jan 14 01:01:10 1996 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>
* stdlib/strtol.c: Return correct pointer for strings
like "0xyz" and base 0 or 16.
* string/strxfrm.c: Handle case for LENGTH == 0 correct.
* sunrpc/etc.rpc: Add some more known protocols.
Roland McGrath [Tue, 16 Jan 1996 22:37:27 +0000 (22:37 +0000)]
[have-initfini=yes] (CPPFLAGS): Append -DHAVE_INITFINI. (initfini): Compile initfini.c with -fPIC.
Richard Kenner [Tue, 16 Jan 1996 01:58:43 +0000 (01:58 +0000)]
(sco5): New case.
Roland McGrath [Sun, 14 Jan 1996 10:00:22 +0000 (10:00 +0000)]
.
Roland McGrath [Sat, 13 Jan 1996 00:46:48 +0000 (00:46 +0000)]
Fri Jan 12 13:40:01 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* 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.
Roland McGrath [Thu, 11 Jan 1996 18:09:50 +0000 (18:09 +0000)]
Thu Jan 11 13:09:20 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* elf/do-rel.h (elf_dynamic_do_rel): Use referring symbol as
referent for STB_LOCAL.
Roland McGrath [Thu, 11 Jan 1996 10:00:22 +0000 (10:00 +0000)]
Wed Jan 10 10:11:39 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* time/africa, time/antarctica, time/asia, time/australasia,
time/europe, time/northamerica, time/pacificnew, time/solar87,
time/solar88, time/solar89, time/southamerica: Updated from ADO 96a.
Roland McGrath [Wed, 10 Jan 1996 10:00:22 +0000 (10:00 +0000)]
Tue Jan 9 16:10:26 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* 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.
Roland McGrath [Tue, 9 Jan 1996 10:00:21 +0000 (10:00 +0000)]
Mon Jan 8 17:43:23 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* locale/Makefile (lib-modules): Renamed hash to locfile-hash.
* locale/hash.c: Renamed to locale/locfile-hash.c.
Roland McGrath [Mon, 8 Jan 1996 22:44:45 +0000 (22:44 +0000)]
Thu Dec 14 02:28:22 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* posix/glob.c (glob_in_dir): Cast result of opendir to __ptr_t,
and cast STREAM to DIR * before passing to readdir and closedir.
Roland McGrath [Sun, 7 Jan 1996 10:00:21 +0000 (10:00 +0000)]
Sat Jan 6 16:39:14 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* 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.
Roland McGrath [Sat, 6 Jan 1996 21:39:03 +0000 (21:39 +0000)]
Fixed ELFMAG check to work for either byte order. Align end of load segment only to page size, not to segment alignment.
Jim Meyering [Thu, 4 Jan 1996 23:21:47 +0000 (23:21 +0000)]
Reverse order of arguments in getgroups call (in example) to match prototype.
Roland McGrath [Thu, 4 Jan 1996 17:00:45 +0000 (17:00 +0000)]
Thu Jan 4 11:35:18 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* 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.
Roland McGrath [Thu, 4 Jan 1996 10:00:22 +0000 (10:00 +0000)]
Wed Jan 3 20:23:42 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* hurd/catch-signal.c: New file.
* hurd/intr-msg.c: When restarting RPC, fetch a new reply port.
* hurd/hurdsig.c: Use new hurdfault.h interface.
(abort_all_rpcs): Mutate return value to EINTR in threads whose
replies we will wait for.
* hurd/hurdkill.c (_hurd_sig_post): When doing pgrp, make sure we
do ourselves last.
Wed Jan 3 19:17:10 1996 Miles Bader <miles@gnu.ai.mit.edu>
* sysdeps/mach/hurd/access.c (__access): Put the uid/gid arguments
to auth_makeauth() in the right order.
Wed Jan 3 17:19:04 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* sysdeps/generic/strsep.c: Rewritten.
* sysdeps/mach/hurd/fork.c: Use a different workaround for the
suspended page fault deadlock kernel bug: thread_abort our signal
thread first thing after proc_dostop.
* sysdeps/mach/hurd/setgid.c: Rewrote gid frobnication to
recognize rootness properly.
* hurd/hurdsig.c: Use new signal preemption interface.
Roland McGrath [Thu, 4 Jan 1996 01:23:21 +0000 (01:23 +0000)]
(_hurd_sig_post): When doing pgrp, make sure we do ourselves last.
Miles Bader [Thu, 4 Jan 1996 00:18:53 +0000 (00:18 +0000)]
(__access): Put the uid/gid arguments to auth_makeauth() in the right order.
Roland McGrath [Thu, 4 Jan 1996 00:06:01 +0000 (00:06 +0000)]
Rewritten.
Roland McGrath [Tue, 2 Jan 1996 08:57:42 +0000 (08:57 +0000)]
* hurd/hurd/signal.h (struct hurd_sigstate): New member `preempters'.
(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.
Roland McGrath [Tue, 2 Jan 1996 06:19:15 +0000 (06:19 +0000)]
Tue Jan 2 00:50:10 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* misc/queue.h: New file, incorporated from 4.4BSD.
* misc/Makefile (headers): Add queue.h.
* posix/sys/types.h [__USE_BSD]: Include endian.h.
* io/sys/stat.h (DEFFILEMODE, ALLPERMS, ACCESSPERMS, S_BLKSIZE):
New macros.
Roland McGrath [Fri, 29 Dec 1995 10:00:22 +0000 (10:00 +0000)]
Thu Dec 28 10:21:35 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* 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].
Roland McGrath [Tue, 26 Dec 1995 10:00:22 +0000 (10:00 +0000)]
Mon Dec 25 20:56:39 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* 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.
Roland McGrath [Sat, 23 Dec 1995 01:16:45 +0000 (01:16 +0000)]
* sysdeps/mach/hurd/setgid.c: In root case, store into NEWAUX, not
old vector.
* sysdeps/mach/hurd/setuid.c: Likewise.
Roland McGrath [Sat, 23 Dec 1995 01:14:10 +0000 (01:14 +0000)]
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: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.
Roland McGrath [Fri, 22 Dec 1995 10:00:21 +0000 (10:00 +0000)]
Fri Dec 22 00:57:38 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* 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.
Roland McGrath [Fri, 22 Dec 1995 05:57:24 +0000 (05:57 +0000)]
Peek __mach_task_self_ value before proc_dostop call to work around kernel paging bug.
Miles Bader [Thu, 21 Dec 1995 17:43:59 +0000 (17:43 +0000)]
(__setuid): Actually add the new uid instead of putting it (and other uids) in the gids and leaving the old uids as is.
Roland McGrath [Thu, 21 Dec 1995 10:00:22 +0000 (10:00 +0000)]
Wed Dec 20 18:23:10 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* stdio/internals.c (flushbuf): If the target is -1, always
discard the buffer of read data.
Only set TWIDDLED flag in !ALIGNED case.
Never increment target or offset when old value is -1.
Roland McGrath [Wed, 20 Dec 1995 10:00:22 +0000 (10:00 +0000)]
Tue Dec 19 17:00:42 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* hurd/hurdpid.c (_S_msg_proc_newids): Only run the hook when the
pgrp changes.
Roland McGrath [Tue, 19 Dec 1995 10:00:22 +0000 (10:00 +0000)]
Mon Dec 18 13:40:37 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* 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.
Roland McGrath [Mon, 18 Dec 1995 10:00:20 +0000 (10:00 +0000)]
Sun Dec 17 15:56:35 1995 Miles Bader <miles@gnu.ai.mit.edu>
* misc/getpass.c (getpass): Don't barf if getline returns a null BUF.
Miles Bader [Sun, 17 Dec 1995 20:58:55 +0000 (20:58 +0000)]
(getpass): Don't barf if getline returns a null BUF.
Roland McGrath [Sun, 17 Dec 1995 10:00:23 +0000 (10:00 +0000)]
Sat Dec 16 10:33:11 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* Makerules: Use $(do-install-so) for installing shared objects.
(do-install-so): New canned sequence. Make a symlink LIB.so after
installing LIB.so.VERSION.
* inet/netinet/in.h: Fixed typo in IPPORT_WHOIS.
Roland McGrath [Sat, 16 Dec 1995 15:32:59 +0000 (15:32 +0000)]
Fixed typo in IPPORT_WHOIS.
Stan Cox [Sat, 16 Dec 1995 03:32:35 +0000 (03:32 +0000)]
(AViiON): Add ix86-dg-dgux
Stan Cox [Fri, 15 Dec 1995 15:43:33 +0000 (15:43 +0000)]
(i*86*) Change [345] to [3456]
Roland McGrath [Fri, 15 Dec 1995 05:22:35 +0000 (05:22 +0000)]
Fri Dec 15 04:41:22 1995 Ulrich Drepper <drepper@gnu.ai.mit.edu>
* stdio-common/Makefile (tests): Add bug10.
* stdio-common/bug10.c: New file. From HJ Lu.
* stdio-common/tstdiomisc.c: Make more test-suite like: exit
status tells about successful run.
* stdio-common/vfscanf.c [!USE_IN_LIBIO]: Use `flags' to check
format correctness.
Correct handling of trailing white spaces in format + EOF.
Fri Dec 15 01:31:56 1995 Ulrich Drepper <drepper@gnu.ai.mit.edu>
* stdio-common/Makefile (tests): Add bug8 and bug9.
* stdio-common/bug8.c, stdio-common/bug9.c: New tests.
* stdio-common/vfscanf.c: Fix bug in dynamic buffer handling.
* stdlib/strtod.c: Correct spelling: nominator -> numerator.
Thanks to Jim Meyering.
Sat Nov 25 06:05:12 1995 H.J. Lu <hjl@nynexst.com>
* stdio-common/vfscanf.c: Always check width !=0.
Correctly handle %%.
Roland McGrath [Thu, 14 Dec 1995 10:00:22 +0000 (10:00 +0000)]
Thu Dec 14 02:28:22 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* posix/glob.c (glob_in_dir): Cast result of opendir to __ptr_t,
and cast STREAM to DIR * before passing to readdir and closedir.
Wed Dec 13 22:06:07 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* hurd/hurdsig.c (_hurd_internal_post_signal: suspend): Reply
after aborting RPCs but before calling proc_mark_stop.
Roland McGrath [Thu, 14 Dec 1995 03:05:50 +0000 (03:05 +0000)]
(_hurd_internal_post_signal: suspend): Reply after aborting RPCs but before calling proc_mark_stop.
Ian [Wed, 13 Dec 1995 21:43:08 +0000 (21:43 +0000)]
Accept *-*-ieee*.
Roland McGrath [Tue, 12 Dec 1995 04:32:33 +0000 (04:32 +0000)]
Regenerated
Mon Dec 11 20:07:54 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* posix/glob.c [! STDC_HEADERS]: Declare getenv.
(glob): Avoid using function as value.
Roland McGrath [Tue, 12 Dec 1995 04:29:09 +0000 (04:29 +0000)]
Mon Dec 11 20:07:54 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* posix/glob.c [! STDC_HEADERS]: Declare getenv.
(glob): Avoid using function as value.
* elf/rtld.c (dl_main): When mapping argument executable, set
l_name to "", not l_libname.
After loading DT_NEEDED library, set its l_type to lt_library.
* sysdeps/mach/hurd/mmap.c: Don't interpret MAP_INHERIT to mean
VM_INHERIT. We can't handle MAP_INHERIT easily.
Handle non-page-aligned addresses if congruent to offset.
* elf/dl-init.c: Skip the initializer for l_type lt_executable
with l_name "". Start at _dl_loaded; don't skip the first element.
* elf/dl-load.c (MAP_FILE): Define to zero if undefined.
(MAP_COPY): Define to MAP_PRIVATE if undefined.
(_dl_map_object_from_fd): Don't use MAP_INHERIT in mmap calls.
If file it ET_EXEC, set its l_type to lt_executable.
Roland McGrath [Tue, 12 Dec 1995 02:42:14 +0000 (02:42 +0000)]
Regenerated
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.
Roland McGrath [Tue, 12 Dec 1995 01:07:35 +0000 (01:07 +0000)]
(MAP_FILE): Define to zero if undefined. (MAP_COPY): Define to MAP_PRIVATE if undefined. (_dl_map_object_from_fd): Don't use MAP_INHERIT in mmap calls. If file it ET_EXEC, set its l_type to lt_executable.
Per Bothner [Tue, 12 Dec 1995 00:47:21 +0000 (00:47 +0000)]
(powerpc-harris-powerunix): Add guess for port to new target.
Roland McGrath [Mon, 11 Dec 1995 10:00:21 +0000 (10:00 +0000)]
Sun Dec 10 09:56:06 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* elf/dl-minimal.c (malloc): Use MAP_PRIVATE in mmap call.
Roland McGrath [Sat, 9 Dec 1995 10:00:22 +0000 (10:00 +0000)]
Fri Dec 8 13:04:51 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* 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.
Roland McGrath [Fri, 8 Dec 1995 10:00:22 +0000 (10:00 +0000)]
Thu Dec 7 02:27:56 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* resolv/res_comp.c, resolv/res_debug.c, resolv/res_send.c:
Updated from BIND 4.9.3-BETA27.
Wed Dec 6 18:44:01 1995 Miles Bader <miles@gnu.ai.mit.edu>
* sysdeps/mach/hurd/select.c (__select): Swap size args to mach_msg.
* sysdeps/mach/hurd/select.c (__select): Frob TYPES correctly when
we get a delayed reply.
Only grab values out of entries in TYPES that have SELECT_RETURNED
turned on, and turn it on whenever an rpc returns.
Only clear bits in the user's fdsets -- those needing to be set
should be already.
Use SELECT_ALL in appropiate places.
(SELECT_RETURNED, SELECT_ALL): New macros.
Wed Dec 6 09:10:39 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* sysdeps/mach/hurd/sys/param.h (NBBY): New macro.
* gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): New macro.
Roland McGrath [Thu, 7 Dec 1995 19:37:55 +0000 (19:37 +0000)]
Updated from BIND-4.9.3-BETA27.
Miles Bader [Thu, 7 Dec 1995 03:03:31 +0000 (03:03 +0000)]
(__select): Still clear the user's bits for an fd when SELECT_RETURNED 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.
Miles Bader [Wed, 6 Dec 1995 23:45:07 +0000 (23:45 +0000)]
(__select): Swap size args to mach_msg.
Roland McGrath [Wed, 6 Dec 1995 14:13:00 +0000 (14:13 +0000)]
(NBBY): New macro.
Roland McGrath [Wed, 6 Dec 1995 14:10:23 +0000 (14:10 +0000)]
(_GNU_GLOB_INTERFACE_VERSION): New macro.
erich [Wed, 6 Dec 1995 11:57:46 +0000 (11:57 +0000)]
Recognize aof in the OS field.
Roland McGrath [Wed, 6 Dec 1995 10:00:22 +0000 (10:00 +0000)]
Tue Dec 5 14:00:17 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* misc/Makefile (headers): Add error.h, err.h.
(routines): Add error, err.
(gpl2lgpl): New variable.
* misc/err.c: New file.
* misc/err.h: New file.
* misc/error.c, misc/error.h: New files.
* sysdeps/mach/hurd/ioctl.c: Fix typo in last change.
* Makeconfig (+link): Translate libc% from $^, not just libc.a.
(link-libc): Append $(libc.so-version) to libc.so.
(built-program-cmd): Fix comma usage.
* Makerules [libc.so-version] (libc.so$(libc.so-version)): Make a
symlink to libc.so in the build directory.
* Rules ($(others) $(tests)): Depend on the library that appears
in $(link-libc).
(%.out): Use $(built-program-cmd) in commands.
* posix/unistd.h [__USE_MISC]: Declare brk, sbrk.
* sysdeps/generic/setenv.c: Added canonical portability cruft.
(setenv): Use realloc on LAST_ENVIRON instead of always copying.
(unsetenv): New function.
* stdlib/stdlib.h [__USE_BSD]: Declare unsetenv.
* sysdeps/generic/putenv.c: Rewritten using setenv and unsetenv.
* libio/Makefile (routines): Remove iofscanf, add iopopen, pclose.
Paul Eggert [Wed, 6 Dec 1995 09:44:53 +0000 (09:44 +0000)]
(transformbasename): Fix misspelling in initialization.
Roland McGrath [Wed, 6 Dec 1995 00:14:32 +0000 (00:14 +0000)]
Updated from ../gpl2lgpl.sed /home/gd/gnu/lib/error.c
Roland McGrath [Tue, 5 Dec 1995 03:35:55 +0000 (03:35 +0000)]
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.
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.
Roland McGrath [Mon, 4 Dec 1995 19:00:50 +0000 (19:00 +0000)]
Mon Dec 4 12:10:28 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* stdlib/gen-mpn-copy (translations): Updated for new layout in
GMP 1.910.
* malloc/malloc.c (__malloc_initialize): Renamed from initialize;
made global.
(malloc): Caller changed.
* malloc/realloc.c (realloc): Call __malloc_initialize if
necessary, before checking hook.
* malloc/malloc.h: Declare __malloc_initialize.
* sysdeps/mach/hurd/ioctl.c: For IOC_VOID request, send ARG itself
as integer_t arg in RPC.
Roland McGrath [Mon, 4 Dec 1995 18:37:56 +0000 (18:37 +0000)]
Updated from ../=mpn/gmp-1.910
Linda A. Walsh [Mon, 4 Dec 1995 18:22:22 +0000 (18:22 +0000)]
* config.guess: Recognize HP model 816 machines as having a PA1.1 processor.
Roland McGrath [Mon, 4 Dec 1995 17:10:03 +0000 (17:10 +0000)]
For IOC_VOID request, send ARG itself as integer_t arg in RPC.
Roland McGrath [Sun, 3 Dec 1995 10:00:22 +0000 (10:00 +0000)]
* sysdeps/mach/hurd/brk.c (DATA_SIZE): Bump to 128MB.
(_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.
Roland McGrath [Sat, 2 Dec 1995 10:00:20 +0000 (10:00 +0000)]
Sat Dec 2 03:47:27 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* 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.
Roland McGrath [Sat, 2 Dec 1995 09:03:14 +0000 (09:03 +0000)]
(_dl_sysdep_start) [DL_SYSDEP_INIT]: Invoke this macro before calling DL_MAIN.
Per Bothner [Thu, 30 Nov 1995 21:59:48 +0000 (21:59 +0000)]
* config.guess: Recognize Pentium under SCO.
Roland McGrath [Thu, 30 Nov 1995 04:49:04 +0000 (04:49 +0000)]
Wed Nov 29 12:30:50 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* 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.
Roland McGrath [Tue, 28 Nov 1995 10:00:22 +0000 (10:00 +0000)]
Mon Nov 27 19:24:18 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* 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.
Roland McGrath [Mon, 27 Nov 1995 10:00:22 +0000 (10:00 +0000)]
* sysdeps/unix/sysv/linux/sys/mman.h: Add prototypes for new functions
Roland McGrath [Sun, 26 Nov 1995 17:45:08 +0000 (17:45 +0000)]
Sun Nov 26 12:44:38 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* libc-symbols.h (N_): New macro.
Roland McGrath [Sun, 26 Nov 1995 17:37:11 +0000 (17:37 +0000)]
Sat Nov 25 02:48:47 1995 Ulrich Drepper <drepper@gnu.ai.mit.edu>
* assert/assert-perr.c, assert/assert.c, inet/rcmd.c,
malloc/mcheck.c, malloc/vm-limit.c, posix/getconf.c, posix/id.c,
resolv/herror.c, sunrpc/auth_unix.c, sunrpc/clnt_perr.c,
sunrpc/clnt_raw.c, sunrpc/get_myaddr.c, sunrpc/pmap_clnt.c,
sunrpc/pmap_rmt.c, sunrpc/portmap.c, sunrpc/rpc_main.c,
sunrpc/rpc_parse.c, sunrpc/rpc_scan.c, sunrpc/rpc_util.c,
sunrpc/rpcinfo.c, sunrpc/svc_simple.c, sunrpc/svc_tcp.c,
sunrpc/svc_udp.c, time/zdump.c, time/zic.c: Mark translatable
strings.
Sat Nov 25 02:48:47 1995 Ulrich Drepper <drepper@gnu.ai.mit.edu>
* assert/assert-perr.c, assert/assert.c, inet/rcmd.c,
malloc/mcheck.c, malloc/vm-limit.c, posix/getconf.c, posix/id.c,
resolv/herror.c, sunrpc/auth_unix.c, sunrpc/clnt_perr.c,
sunrpc/clnt_raw.c, sunrpc/get_myaddr.c, sunrpc/pmap_clnt.c,
sunrpc/pmap_rmt.c, sunrpc/portmap.c, sunrpc/rpc_main.c,
sunrpc/rpc_parse.c, sunrpc/rpc_scan.c, sunrpc/rpc_util.c,
sunrpc/rpcinfo.c, sunrpc/svc_simple.c, sunrpc/svc_tcp.c,
sunrpc/svc_udp.c, time/zdump.c, time/zic.c: Mark translatable
strings.
Roland McGrath [Sun, 26 Nov 1995 17:32:10 +0000 (17:32 +0000)]
Sun Nov 26 02:00:02 1995 Ulrich Drepper <drepper@gnu.ai.mit.edu>
* 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.
Roland McGrath [Fri, 24 Nov 1995 10:00:21 +0000 (10:00 +0000)]
Thu Nov 23 18:26:52 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* configure.in (--enable-libio): Set $stdio based on $enableval,
not always to libio.
Thu Nov 23 18:06:48 1995 Richard Stallman <rms@gnu.ai.mit.edu>
* malloc/malloc.c (_malloc_internal): Can't use
get_contiguous_space when the heap info table
will be growing. Account for new contiguous space in _heaplimit.