summaryrefslogtreecommitdiff
path: root/ChangeLog
AgeCommit message (Collapse)Author
1996-02-13Tue Feb 13 05:12:02 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>cvs/libc-960213Roland McGrath
* sysdeps/unix/sysv/linux/syscalls.list: Add ipc syscall. * sysdeps/unix/sysv/linux/i386/syscalls.list: File removed. Tue Feb 13 05:12:02 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu> * sysdeps/unix/sysv/linux/syscalls.list: Add ipc syscall. * sysdeps/unix/sysv/linux/i386/syscalls.list: File removed.
1996-02-13Sat Feb 10 13:09:03 1996 Andreas Schwab ↵Roland McGrath
<schwab@issan.informatik.uni-dortmund.de> * sysdeps/m68k/fpu/isinfl.c, sysdeps/m68k/fpu/isnanl.c, sysdeps/m68k/isinfl.c, sysdeps/m68k/isnanl.c: New files. * sysdeps/m68k/fpu/isinfl.c, sysdeps/m68k/fpu/isnanl.c, sysdeps/m68k/isinfl.c, sysdeps/m68k/isnanl.c: New files.
1996-02-13Sat Feb 10 13:09:03 1996 Andreas Schwab ↵Roland McGrath
<schwab@issan.informatik.uni-dortmund.de> * sysdeps/unix/sysv/linux/sys/mman.h: Define MAP_ANON and MAP_FILE if not already defined. * elf/elf.h: Add m68k reloc definitions. * sysdeps/m68k/dl-machine.h, sysdeps/m68k/elf/start.S: New files. Sat Feb 10 13:09:03 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * sysdeps/unix/sysv/linux/sys/mman.h: Define MAP_ANON and MAP_FILE if not already defined. * elf/elf.h: Add m68k reloc definitions. * sysdeps/m68k/dl-machine.h, sysdeps/m68k/elf/start.S: New files.
1996-02-13Tue Feb 13 00:12:12 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>Roland McGrath
* sysdeps/i386/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE, elf_machine_relplt): New macros. * elf/dl-runtime.c: New file. * sysdeps/i386/dl-runtime.c, sysdeps/stub/dl-runtime.c: Files removed. * sysdeps/i386/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE, elf_machine_relplt): New macros. * elf/dl-runtime.c: New file. * sysdeps/i386/dl-runtime.c, sysdeps/stub/dl-runtime.c: Files removed.
1996-02-13Tue Feb 13 00:12:12 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>Roland McGrath
* gmon/Makefile (headers): Remove machine-gmon.h. * sysdeps/stub/machine-gmon.h, sysdeps/i386/machine-gmon.h: Removed. * gmon/mcount.c [! NO_UNDERSCORES] (_mcount): Specify "mcount" as the asm name. (_mcount): Define normally, taking no args. Use __builtin_return_address to fetch PC values of caller and caller's caller. Tue Feb 13 00:12:12 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu> * gmon/Makefile (headers): Remove machine-gmon.h. * sysdeps/stub/machine-gmon.h, sysdeps/i386/machine-gmon.h: Removed. * gmon/mcount.c [! NO_UNDERSCORES] (_mcount): Specify "mcount" as the asm name. (_mcount): Define normally, taking no args. Use __builtin_return_address to fetch PC values of caller and caller's caller. * Makerules: Rewrote rules to update libc archives of all flavors. Define separate specific rules for each flavor using o-iterator. * sysdeps/unix/Makefile: Include s-proto.d only ifdef subdir. Sat Feb 10 11:35:16 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * Makerules (ar-symtab-name): New macro. Replace all occurences of __.SYMDEF by $(ar-symtab-name). * sysdeps/unix/sysv/Makefile (ar-symtab-name): Define as empty. * Makefile (configure, %/configure): Depend on aclocal.m4. * Make-dist (configure, %/configure): Likewise. * sysdeps/unix/Makefile: Include s-proto.d for its deps. * gmon/sys/gmon.h: Don't include machine-gmon.h; those defns are only needed in the implementation, not for any users. * time/northamerica: Updated from ADO 96c, new rules for Mexico in 1996.
1996-02-12* sunrpc/pm_getport.c: #if 0 out gratuitous inclusion of <net/if.h>.Roland McGrath
* sunrpc/pm_getmaps.c: Likewise.
1996-02-12* sysdeps/unix/sysv/syscalls.list: Add setrlimit and settimeofday,Roland McGrath
so real syscalls override unix/sysv/*.c on sysv-derived systems that have them. * sysdeps/unix/common/syscalls.list: Add settimeofday here, to override unix/sysv/settimeofday.c since that overrides unix/syscalls.list. * Makeconfig (+link): Put $(link-libc) after deps from $^, regardless of where libc.a appears in the deps.
1996-02-12* hurd/hurdfault.c (_hurdsig_fault_init): Set qlimit oncvs/libc-960212Roland McGrath
FORWARD_SIGEXC to one. Uncomment setting of thread exc port, and move it to last thing.
1996-02-12Mon Feb 12 03:10:41 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>Roland McGrath
* sysdeps/unix/sysv/sysv4/syscalls.list: Remove redundancies. Add __waitid. * sysdeps/unix/sysv/linux/syscalls.list: Remove redundancies. Define __ name for sigprocmask. * sysdeps/unix/bsd/ultrix4/syscalls.list: Remove redundancies. Add getsysinfo. * sysdeps/unix/bsd/sun/sunos4/syscalls.list: Remove redundancies. * sysdeps/unix/bsd/sun/syscalls.list: Remove redundancies. * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove redundancies. * sysdeps/unix/bsd/syscalls.list: Remove settimeofday, utimes. Add getdents, wait3, waitpid. * sysdeps/unix/syscalls.list: Add seteuid, setegid, setsid, settimeofday, sigsuspend, sstk, utimes. * sysdeps/unix/bsd/ultrix4/mips/sigvec.S: File removed. * sysdeps/unix/bsd/ultrix4/mips/syscalls.list: New file. * sysdeps/unix/bsd/ultrix4/mips/Makefile (sysdep_routines): Removed sigtramp. * sysdeps/unix/bsd/ultrix4/mips/sigvec.c: Renamed from sigtramp.c. * sysdeps/unix/bsd/bsd4.4/sstk.S: File removed. * sysdeps/unix/bsd/hp/m68k/syscalls.list: File removed. * sysdeps/unix/bsd/osf/alpha/getdents.S: File removed. * sysdeps/unix/bsd/ultrix4/getsysinfo.S: File removed. * sysdeps/unix/bsd/ultrix4/waitpid.S: File removed. * sysdeps/unix/bsd/ultrix4/mips/sigtramp.c: File removed. * sysdeps/unix/bsd/ultrix4/mips/sigvec.S: File removed. * sysdeps/unix/bsd/ultrix4/mips/sigvec.c: New file. * sysdeps/unix/bsd/ultrix4/mips/syscalls.list: New file. * sysdeps/unix/sysv/irix4/wait3.S: File removed. * sysdeps/unix/sysv/sysv4/__waitid.S: File removed. * sysdeps/unix/sysv/sysv4/fchdir.S: File removed. * sysdeps/unix/sysv/sysv4/setegid.S: File removed. * sysdeps/unix/sysv/sysv4/seteuid.S: File removed. * sysdeps/unix/sysv/sysv4/sigaltstack.S: File removed. * sysdeps/unix/sysv/sysv4/solaris2/utimes.S: File removed.
1996-02-11Sat Feb 10 05:57:08 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>cvs/libc-960211Roland McGrath
* sysdeps/generic/make_siglist.c: #undef _SIGNAL_H before defining it. * sysdeps/unix/sysv/linux/syscalls.list: Add sigprocmask, sigsuspend.
1996-02-10Sat Feb 10 04:18:48 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>cvs/libc-960210Roland McGrath
* posix/execvp.c: If execv fails with ENOEXEC, run the shell on the file. Fri Feb 9 11:46:45 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu> * time/Makefile (CFLAGS-zdump.c, CFLAGS-zic.c, CFLAGS-ialloc.c, CFLAGS-scheck.c): Use -DNOID instead of -Wno-unused. * hurd/Makefile (user-interfaces): Added hurd/tioctl.
1996-02-09Thu Feb 8 18:55:27 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>cvs/libc-960209Roland McGrath
* hurd/hurdioctl.c (tiocsctty): Set the terminal's pgrp to our own.
1996-02-08* Makefile (subdirs): Added wcsmbs.cvs/libc-960208Roland McGrath
* wcsmbs: New directory of wide char/multibyte char functions from drepper.
1996-02-08Wed Feb 7 18:48:30 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath
* hurd/hurdmsg.c (_S_msg_report_wait): Function removed. * hurd/report-wait.c: New file. * hurd/Makefile (routines): Added report-wait. * sysdeps/mach/hurd/Makefile (inhibit-unix-syscalls): New variable. * sysdeps/mach/hurd/i386/intr-msg.h (struct mach_msg_trap_args): New type. (SYSCALL_EXAMINE, MSG_EXAMINE): New inline functions. * sysdeps/mach/hurd/i386/trampoline.c (struct mach_msg_trap_args): Structure moved to intr-msg.h; include that. * time/Makefile (CFLAGS-ialloc.c): Add -Wno-unused. (CFLAGS-scheck.c): New variable. * sysdeps/mach/hurd/dl-sysdep.c (__hurd_sigthread_stack_base, __hurd_sigthread_stack_end, __hurd_sigthread_variables, __hurd_threadvar_stack_mask): New variables. * sysdeps/mach/hurd/fork.c: Set the new task's exception port to its new message port. * misc/init-misc.c: Put __init_misc in the __libc_subinit set. * configure.in (uname): Add quoting. * sysdeps/mach/hurd/fchdir.c: Don't consult errno unless lookup fails. * hurd/fchroot.c: Likewise. * posix/sys/types.h [GCC >= 2.7]: Define intN_t/u_intN_t using __attribute__ ((__mode__ (__XX__))). Wed Feb 7 03:24:05 1996 Torbjorn Granlund <tege@tmg.se> * sysdeps/i386/i586/memcopy.h (WORD_COPY_FWD): Manually allocate destination cache lines. (WORD_COPY_BWD): Likewise. Wed Feb 7 14:16:36 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu> * sysdeps/generic/Makefile (make_siglist): Get signum.h absolute file name first thing, before $(native-compile) changes directories. From Gord Matzigkeit <gord@enci.ucalgary.ca>: * sysdeps/unix/make_errlist.c: Use strerror if available. * sysdeps/unix/configure.in: New file * sysdeps/unix/bsd/sun/syscalls.list: Added sigvec. * sysdeps/unix/bsd/sun/sigvec.S: File removed. * sysdeps/stub/sendto.c: Make sockaddr arg pointer to const. * sysdeps/stub/connect.c: Likewise. * sysdeps/stub/bind.c: Likewise. * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): RETRYNAME of "" is only special for FS_RETRY_NORMAL; for FS_RETRY_REAUTH, do another dir_lookup of "".
1996-02-03Fri Feb 2 13:09:18 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>cvs/libc-960207cvs/libc-960206cvs/libc-960205cvs/libc-960204cvs/libc-960203Roland McGrath
* sysdeps/mach/hurd/fork.c: Clear trace flag in child.
1996-02-01Wed Jan 31 20:08:26 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>cvs/libc-960202cvs/libc-960201Roland McGrath
* hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Clear SS->intr_port when cancelled before RPC.
1996-01-31Tue Jan 30 13:32:05 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>cvs/libc-960131Roland McGrath
* dirent/scandir.c: Allocate dirents with correct size for name, and copy with correct size. * hurd/hurdinit.c [! PIC] (map0): New function, on _hurd_preinit_hook. * stdio-common/vfscanf.c (TYPEMOD): New macro of all type modifier flag bits. (__vfscanf): Fix checking of extra type modifiers. * time/asia, time/australasia, time/backward: Updated from ADO 96b. Tue Jan 30 12:17:26 1996 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de> * stdlib/strtod.c: Only negate exponent when there really is one. * stdio-common/vfscanf.c: Accept type modifiers on %n. Fix FP number parsing.
1996-01-30Mon Jan 29 21:53:40 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>cvs/libc-960130Roland McGrath
* sysdeps/stub/msync.c (msync): Declare third arg FLAGS. * resolv/Makefile (+cflags): Append to this instead of CFLAGS. Mon Jan 29 16:29:16 1996 Miles Bader <miles@gnu.ai.mit.edu> * sysdeps/mach/hurd/select.c (__select): Recalculate GOT to include an increment for each operation allowed on each fd. Mon Jan 29 11:44:38 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu> * sysdeps/unix/sysv/linux/configure: Set $inhibit_glue. * Makefile: Use -include for sysd-dirs. * configure.in (uname): Check for uname in syscalls.list files. * sysdeps/unix/sysv/syscalls.list: Remove uname. * sysdeps/unix/syscalls.list: Add uname. * stdlib/strtol.c (weak1): New macro, to get the right name declared weak. * sysdeps/posix/getcwd.c (size_t): Don't define #ifdef __GNU_LIBRARY__. * db/hash/ndbm.c: Change all uses of `errno' struct member to `errnum'. (dbm_open): Use dynamic allocation for file name buffer, instead of limitting its size to MAXPATHLEN. * db/btree/bt_open.c (tmp): Use dynamic allocation for file name buffer, instead of limitting its size to MAXPATHLEN. * db/hash/hash.h (HTAB): Rename member `errno' to `errnum'. * db/hash/hash.c: Change all uses of `errno' struct member to `errnum'.
1996-01-29Sun Jan 28 19:42:04 1996 Andreas Schwab ↵Roland McGrath
<schwab@issan.informatik.uni-dortmund.de> * time/Makefile: Fix check for cross compiling. Sun Jan 28 19:42:04 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * time/Makefile: Fix check for cross compiling.
1996-01-29Thu Jan 25 21:10:39 1996 Andreas Schwab ↵Roland McGrath
<schwab@issan.informatik.uni-dortmund.de> * db/Makefile (subdir-dirs): Renamed from dbdirs. * Makerules (distinfo-vars): Add subdir-dirs. * MakeTAGS: Remove vpath directives. (all-dirs): Prepend $(subdir-dirs). (all-sources, all-headers): Use wildcard to find sources. Thu Jan 25 21:10:39 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * db/Makefile (subdir-dirs): Renamed from dbdirs. * Makerules (distinfo-vars): Add subdir-dirs. * MakeTAGS: Remove vpath directives. (all-dirs): Prepend $(subdir-dirs). (all-sources, all-headers): Use wildcard to find sources. Mon Jan 29 10:44:38 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu> * malloc/Makefile (CFLAGS-vm-limit.c, CFLAGS-ralloc.c): New variables. * mach/msgserver.c: Declare DEMUX arg with prototype.
1996-01-28Sun Jan 28 17:25:38 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>cvs/libc-960129Roland McGrath
* setjmp/setjmp.h (jmp_buf): Give a tag in the struct defn, to make C++ happy. * alpha/jmp_buf.h: Likewise. * m68k/jmp_buf.h: Likewise. * mips/jmp_buf.h: Likewise. * sparc/jmp_buf.h: Likewise. * vax/jmp_buf.h: Likewise. Sun Jan 28 17:25:38 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu> * setjmp/setjmp.h (jmp_buf): Give a tag in the struct defn, to make C++ happy. * alpha/jmp_buf.h: Likewise. * m68k/jmp_buf.h: Likewise. * mips/jmp_buf.h: Likewise. * sparc/jmp_buf.h: Likewise. * vax/jmp_buf.h: Likewise. * sysdeps/generic/memmem.c: Fix return value in case where NEEDLE_LEN==0. * hurd/hurdlookup.c (__file_name_lookup_under, __file_name_lookup): Restrict mode with umask. * sysdeps/mach/hurd/xmknod.c: Restrict mode with umask. * sysdeps/mach/hurd/mkdir.c: Restrict mode with umask.
1996-01-27Fri Jan 26 12:20:45 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>cvs/libc-960128cvs/libc-960127Roland McGrath
* stdlib/strtol.c: Undo last change. ANSI C changed since the draft I checked yesterday. Sigh.
1996-01-26Thu Jan 25 18:58:25 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>cvs/libc-960126Roland McGrath
* stdlib/strtol.c [UNSIGNED]: Don't recognize + or - as sign.
1996-01-25* malloc/mcheck.c (mabort): Declare prototype.cvs/libc-960125Roland McGrath
1996-01-24* sysdeps/unix/sysv/linux/fcntlbits.h: Moved from linux/i386.Roland McGrath
* Makerules: Use -include for generated makefiles. * errno.h: Don't declare errno if it's defined as a macro.
1996-01-24* stdio-common/vfscanf.c: Disallow l flag after ll or L.cvs/libc-960124Roland McGrath
1996-01-24* stdio-common/Makefile (tests): Add scanf[1-9]. Roland McGrath
* stdio-common/scanf[1-9].c: New files. Bug tests from hjl. Wed Jan 24 03:22:07 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu> * stdio-common/Makefile (tests): Add scanf[1-9]. * stdio-common/scanf[1-9].c: New files. Bug tests from hjl.
1996-01-24Wed Jan 24 04:18:36 1996 Paul Eggert <eggert@twinsun.com>Roland McGrath
* strftime.c (strftime): When invoking self, check whether the subsidiary invocation failed. Use "???" (not "") to denote unknown time zone information. Make this source file portable to standalone contexts (e.g. GNU Emacs). <config.h>: Include if HAVE_CONFIG_H is defined. (HAVE_LIMITS_H, HAVE_MBLEN, HAVE_TM_ZONE, STDC_HEADERS): New symbols, defined if _LIBC or if <config.h> defines them. <ansidecl.h>, "../locale/localeinfo.h": Include only if _LIBC. <sys/types.h>: New include; some hosts require it for `time_t'. <ctype.h>: Include only if HAVE_MBLEN (since it's only needed then). <limits.h>: Include only if HAVE_LIMITS_H. <stddef.h, stdlib.h, string.h>: Include only if STDC_HEADERS. (memcpy): Define in terms of bcopy if !STDC_HEADERS. (__P, PTR): Define if not already defined. (__tzname, __daylight, __timezone): Remove macros; no longer needed. (add, strftime): Don't use NULL, for portability to some weird hosts. (fmt): If !_LIBC, don't assume sprintf returns a count. (week, strftime): Use old-style function declarations. (weekday_name, month_name): New constants. (strftime): Use traditional C values if locale support isn't available. Use `const' instead of CONST. For time zones, use tm_zone if possible, then fall back on tzname. Don't check for multibyte characters unless mblen is supported. Use formats like %02d instead of %.2d, for portability to older hosts. Wed Jan 24 04:18:36 1996 Paul Eggert <eggert@twinsun.com> * strftime.c (strftime): When invoking self, check whether the subsidiary invocation failed. Use "???" (not "") to denote unknown time zone information. Make this source file portable to standalone contexts (e.g. GNU Emacs). <config.h>: Include if HAVE_CONFIG_H is defined. (HAVE_LIMITS_H, HAVE_MBLEN, HAVE_TM_ZONE, STDC_HEADERS): New symbols, defined if _LIBC or if <config.h> defines them. <ansidecl.h>, "../locale/localeinfo.h": Include only if _LIBC. <sys/types.h>: New include; some hosts require it for `time_t'. <ctype.h>: Include only if HAVE_MBLEN (since it's only needed then). <limits.h>: Include only if HAVE_LIMITS_H. <stddef.h, stdlib.h, string.h>: Include only if STDC_HEADERS. (memcpy): Define in terms of bcopy if !STDC_HEADERS. (__P, PTR): Define if not already defined. (__tzname, __daylight, __timezone): Remove macros; no longer needed. (add, strftime): Don't use NULL, for portability to some weird hosts. (fmt): If !_LIBC, don't assume sprintf returns a count. (week, strftime): Use old-style function declarations. (weekday_name, month_name): New constants. (strftime): Use traditional C values if locale support isn't available. Use `const' instead of CONST. For time zones, use tm_zone if possible, then fall back on tzname. Don't check for multibyte characters unless mblen is supported. Use formats like %02d instead of %.2d, for portability to older hosts. Wed Jan 24 00:07:52 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu> * stdio-common/vfscanf.c (GROUP, MALLOC): New flag macros. (__vfscanf): Eliminate flag vars that were redundant with FLAGS bits. Fix bug in recognition of %ll flag for long long. Fix overeager checks for conflicting type modifiers. With ' flag, match thousands separators for decimal numbers. Tue Jan 23 22:02:40 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu> * locale/Makefile (CFLAGS-locfile-lex.c): New variable. * resolv/Makefile (CFLAGS): Disable some warnings. * sysdeps/generic/Makefile (elided-routines): Removed hypot. (+gccwarn): Set with override. * stdio-common/Makefile (CFLAGS-tst-printf.c): New variable. * posix/Makefile (CFLAGS-regex.c): New variable. * malloc/Makefile (CFLAGS-obstack.c): New variable. * io/Makefile (CFLAGS-fts.c): New variable. * io/fts.c (fts_open): Use prototypes for COMPAR decl. Tue Jan 23 21:35:32 1996 Miles Bader <miles@gnu.ai.mit.edu> * sysdeps/mach/hurd/bind.c (bind): Ensure NAME for the AF_LOCAL case is '\0'-terminated. Tue Jan 23 19:49:54 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu> * elf/rtld.c (dl_main): Support additional args in --list mode for debugging: look them up as symbol names and print values. * misc/getttyent.c (skip, value): Declare with prototypes in file scope. * csu/initfini.c (_init): Explicitly set a variable that is pointer to volatile with the address of __gmon_start__, to avoid the test being optimized out.
1996-01-23Mon Jan 22 10:40:40 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>cvs/libc-960123Roland McGrath
* 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.
1996-01-22* misc/Makefile (headers): Rename queue.h to sys/queue.h.cvs/libc-960122Roland McGrath
* misc/queue.h: Moved to misc/sys/queue.h.
1996-01-21Sun Jan 21 00:55:25 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>cvs/libc-960121Roland McGrath
* 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.
1996-01-20* sysdeps/unix/sysv/linux/tcdrain.c: Define tcdrain, notcvs/libc-960120Roland McGrath
__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.
1996-01-19Fri Jan 19 13:28:59 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath
* 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.
1996-01-19* io/Makefile (routines): Add mknod, xstat fxstat lxstat xmknod.cvs/libc-960119Roland McGrath
* 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.
1996-01-19Thu Jan 18 00:32:43 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath
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.
1996-01-18Thu Jan 18 00:32:43 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>cvs/libc-960118Roland McGrath
* 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.
1996-01-18* sysdeps/unix/sysv/linux/statbuf.h (_STAT_VER_LINUX,Roland McGrath
_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.
1996-01-18Wed Jan 17 11:04:58 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath
* 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.
1996-01-17* elf/dynamic-link.h [ELF_MACHINE_NO_REL] (ELF_DYNAMIC_DO_REL):Roland McGrath
Define this instead of ELF_DYNAMIC_DO_RELA.
1996-01-17Sun Jan 14 01:01:10 1996 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>Roland McGrath
* 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.
1996-01-17Wed Jan 17 11:04:58 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath
* 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.
1996-01-17* sysdeps/unix/seekdir.c: Don't modify POS before seeking.cvs/libc-960117Roland McGrath
* sysdeps/unix/telldir.c: Fix position calculation to account for buffered data properly.
1996-01-17Sun Jan 14 17:51:09 1996 Andreas Schwab ↵Roland McGrath
<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.
1996-01-17* sysdeps/m68k/Makefile (crypt): Don't define if building a sharedRoland McGrath
library.
1996-01-17* csu/initfini.c (_init): Call __gmon_start__ if defined (weak ref).Roland McGrath
* csu/gmon-start.c (__gmon_start__): Renamed from gmon_start, made global. [! HAVE_INITFINI]: Only make it a constructor in this case.
1996-01-17* gmon/Makefile (CFLAGS-mcount.c): New variable.Roland McGrath
(mcount.po): New target. * Makeconfig (CFLAGS): Append $(CFLAGS-$(<F)).
1996-01-17* misc/efgcvt_r.c (ecvt_r): Handle negative values.Roland McGrath
* 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.
1996-01-17Tue Jan 16 17:37:39 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath
* 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.
1996-01-17Sun Jan 14 01:01:10 1996 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>Roland McGrath
* 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.
1996-01-14.cvs/libc-960115cvs/libc-960114Roland McGrath