Commit Graph

393 Commits

Author SHA1 Message Date
jtc 3ba2c075cf #include appropriate header files to bring prototypes into scope 1995-05-13 06:58:18 +00:00
jtc 9ae90685f2 Winning Strategies has placed this code in the public domain. 1995-05-11 23:03:44 +00:00
mycroft aff3578b36 Explicitly unblock SIGALRM while waiting. 1995-05-03 12:52:43 +00:00
mycroft 66f0c16f14 Use POSIX tty semantics. 1995-05-02 01:40:14 +00:00
jtc 02788519a9 termios code has been moved to new libc/termios directory. 1995-04-25 00:06:17 +00:00
ragge db0c9cd300 Removed VAX specific definitions. 1995-04-17 12:28:29 +00:00
cgd 76a6b7c3b3 fix operator precedence error (pr 951 from Ted Lemon) 1995-04-11 02:57:52 +00:00
jtc f86410093b Changed name of __weak_reference() to __indr_reference(). They really
are indirect references, and I want to add a real __weak_reference()
macro to <machine/cdefs.h> soon.
1995-03-23 19:58:48 +00:00
jtc 7870f9f542 removed unnecessary #include <stddef.h> 1995-03-23 19:51:13 +00:00
mycroft 62648a14f0 Clone from sleep(), with the logic for returning a value removed. 1995-03-21 13:50:32 +00:00
mycroft d53dfd3d3c Minor changes. 1995-03-21 13:44:40 +00:00
mycroft f75ba16b09 Update to use timer{add,sub}(). 1995-03-21 13:33:34 +00:00
pk a63744d63c Speed up getgrnam() and getgrpid() by using yp_match(). 1995-03-16 11:48:01 +00:00
jtc 016bb710d9 ctime.3 and tzset.3 manpages have been moved to libc/time. 1995-03-10 06:29:15 +00:00
jtc 20d50456cc Removed references to ctime.3 and tzset.3 manpages and associated manpage
links (they have been moved to libc/time).
1995-03-10 06:15:10 +00:00
jtc 57274dc48e date and time functions have been moved 1995-03-09 23:31:07 +00:00
cgd ee38224d2e fix up some RCS Id's i botched. 1995-03-04 01:55:49 +00:00
mycroft 4c34be6b52 Clean up deleted files. 1995-03-01 00:00:00 +00:00
jtc 88ba3f858c Changed <sys/signal.h> to <signal.h> 1995-02-28 01:13:50 +00:00
cgd 1e1bba23c7 make lint/SCCS Id if more standard. 1995-02-27 15:47:03 +00:00
cgd c18290a117 delete wordexp reference 1995-02-27 06:25:38 +00:00
cgd fecf194677 oops; we do need errno.h 1995-02-27 06:21:23 +00:00
cgd 9060ff0dc7 merge with 4.4-Lite, keeping local changes. clean up Ids 1995-02-27 05:50:11 +00:00
cgd f9f97c4fab merge with Lite, keeping local changes. Fix up Id format, etc. 1995-02-27 04:34:47 +00:00
cgd 5a21812615 oops; since i kept the writev() trick, still need uio.h 1995-02-27 04:34:44 +00:00
cgd d7ab506f38 merge with Lite, keeping local changes. Fix up Id format, etc. 1995-02-27 04:34:25 +00:00
cgd b585e843ca update from Lite, with local changes. fix Ids, etc. 1995-02-27 04:12:15 +00:00
cgd 72c46b1cdc merge with Lite, keeping local changes. Also use new Id format. 1995-02-27 03:42:42 +00:00
cgd 516f67f7c9 re-order things the way they'd like to be ordered 1995-02-25 17:19:26 +00:00
cgd 714c54bd02 fix prototype that i botched. 1995-02-25 17:18:31 +00:00
cgd db638fe19d typo 1995-02-25 17:17:33 +00:00
cgd 4145a97c7f oops; biffed path 1995-02-25 17:08:29 +00:00
cgd a87693f257 update from Lite, clean up a bit, seperate arch-specific file list. 1995-02-25 17:05:19 +00:00
cgd 63de9506bf merge with Lite, keep local changes. clean up id usage 1995-02-25 15:39:01 +00:00
cgd 5d6d569765 update to 4.4-Lite and/or clean up Id 1995-02-25 14:09:35 +00:00
cgd 6e6a4e85b0 update to 4.4-Lite where appropriate, clean up Id format, etc. 1995-02-25 13:40:51 +00:00
cgd 97d9d67a27 from lite, with minor name rearrangement to fit. 1995-02-25 09:11:37 +00:00
cgd 2c4d3c4c4a clean up Id's on files previously imported... 1995-02-25 08:50:56 +00:00
cgd b380b015d1 make this 64-bit-safe. 1995-02-10 18:15:05 +00:00
cgd b42e80ba75 list the files needed on the alpha. 1995-02-10 17:46:48 +00:00
mycroft 44525cd591 Clean up deleted files. 1995-02-05 06:09:30 +00:00
jtc 94da0b5da5 Merged with 4.4lite, with hopes that it would fix the bug where mktime()
would spin in an infinate loop when passed a tm struct with all fields
set to INT_MIN.  It isn't a complete fix, the loop now terminates but
mktime() does not return (time_t) -1.

I sent mail to bostic about this, who replied that the changes in 4.4BSD
were to fix this exact problem.  My next step is to send mail to Arthur
David Olson, the original author and maintainer of this code.
1995-02-01 18:09:39 +00:00
cgd dc70e3ae1b document sysctl variable kern.maxpartitions 1995-01-25 06:09:12 +00:00
cgd 26099b453e note KERN_DOMAINNAME, the addition of tickadj to KERN_CLOCKINFO. 1995-01-24 23:55:48 +00:00
pk a64c43edd8 Add sigsetjmp() for sparc. 1995-01-11 20:23:59 +00:00
jtc f34d1ed7d1 Password databases live in /etc, not /var/db. (PR #685) 1995-01-03 15:57:32 +00:00
mycroft 31146ca7e8 Format police, and a small patch for 64-bitness. 1994-12-28 03:34:37 +00:00
mycroft 0121eacdc1 Repair a couple of things. 1994-12-28 03:22:37 +00:00
mycroft 05fe3ff1f7 Mostly sync with CSRG. 1994-12-28 03:06:05 +00:00
jtc 7141eb20ba 4.4lite's C language sigsetjmp() implementation is bogus, restore
machine dependant versions.
1994-12-23 22:25:48 +00:00
cgd ae9172d6cd specify man pages the new way. 1994-12-22 09:57:51 +00:00
cgd 2eed827e82 make libc work again, on systems that don't support __warn_reference 1994-12-18 11:32:37 +00:00
cgd b70de87ec8 make type-size safe. 1994-12-18 09:09:48 +00:00
cgd 02ae34d854 add #include description, from Jim Jegers 1994-12-18 04:26:06 +00:00
pk 26a352d1dd Provide backwards compatibility with previous "doubly-underscored"
symbols. Avoids updating libc's major version number for this internal change.
1994-12-17 16:27:03 +00:00
pk 7c93bbccb8 Refer to _sys_siglist with just one underscore. 1994-12-17 16:18:10 +00:00
pk c0aee44a2f Correct number of underscores on internal function calls. 1994-12-17 16:16:00 +00:00
jtc 37d79a5d9d Fixed cross reference: sysctl(1) -> sysctl(8). 1994-12-15 08:44:35 +00:00
mycroft e4db9f8bda Clean up deleted files. 1994-12-12 22:42:14 +00:00
jtc 3c98cdcd84 Rework indirect reference support as outlined by my recent message to
the tech-userlevel mailing list.
1994-12-12 22:41:50 +00:00
christos cc23e692fb Return null for empty strings in triplets, not the empty string.
Fix memory corruption with double-freeing ng_copy. (From Jason Downs)
1994-12-12 19:05:31 +00:00
christos b69aa4831d NIS -> YP changes and other typos fixed (From Jason Thorpe) 1994-12-11 22:47:06 +00:00
christos 9cc12a55d4 - Changed all internal libc references of {v,}err{x,} and {v,}warn{x,} to
__{v,}err{x,} and __{v,}warn{x,}
- moved err.c to __err.c and added err.c which contains weak references for
  the above functions.
- Reordered the functions in __err.c to avoid redeclarations and changed
  the varargs declarations to conform with the K&R style.
1994-12-11 20:43:48 +00:00
mycroft f6a8ef8452 Fix spelling error. 1994-12-11 17:50:52 +00:00
mycroft 9440ca7539 Clean this up a little. No functional changes. 1994-12-11 17:34:10 +00:00
jtc 912b8b6429 Use 44lite's clever sigsetjmp()/siglongjmp() implementation I just imported. 1994-12-10 11:29:03 +00:00
jtc cb010fc468 Changed to conform to NetBSD's new RCS Id convention. 1994-12-10 11:23:43 +00:00
jtc 362fb60ac0 imported from 4.4lite 1994-12-10 11:20:54 +00:00
deraadt 3dffaf5ef4 remove duplicate infinity.c 1994-12-07 14:52:59 +00:00
phil 6adbfc3390 Adding sigsetjmp.S for ns32k. 1994-12-07 04:47:23 +00:00
christos 4f0c59b986 New netgroup implementation; replaces Rick's old one that did not
expand recursively or handle YP.
1994-12-04 18:12:12 +00:00
jtc 8e2c0fe739 Unconditionally call tzset() in internal function localsub(), so that
localtime() and mktime() conform to POSIX.1.
1994-11-17 08:47:21 +00:00
dean a7d9360c57 Include files for pmax 1994-11-14 23:46:52 +00:00
mycroft 18ff56020d Avoid extra stat()s if a link count of 1 is returned for directories but the
d_type field is filled in.
1994-10-26 20:25:50 +00:00
cgd 08ef3b378e typo 1994-10-25 03:41:32 +00:00
mycroft e7a6fa4989 Clean up deleted files. 1994-10-20 04:17:01 +00:00
cgd ac8938c341 make the sysv functions real syscalls. 1994-10-20 04:16:58 +00:00
cgd cab251d528 beware cast & variable types. 1994-10-19 03:14:12 +00:00
cgd 09349637c8 beware cast type. 1994-10-19 03:13:42 +00:00
cgd a71924beb6 needs stdlib.h 1994-10-19 03:13:22 +00:00
cgd fb0e5b3009 pointer type. 1994-10-19 03:13:09 +00:00
cgd 32e7357c0f either change or update references to sigvec(), as appropriate 1994-10-17 23:49:08 +00:00
cgd 078237de11 oops; fix that. 1994-10-13 19:55:27 +00:00
cgd 2c979dcde5 check bounds properly. 1994-10-13 19:47:10 +00:00
mycroft 54e2c82954 Clean up deleted files. 1994-10-10 04:46:46 +00:00
jtc c50384799a Renamed sys_errlist[] and sys_nerr to __sys_errlist[] and __sys_nerr.
The traditional API of sys_errlist[] and sys_nerr is provided by weak
references if they are supported.  Otherwise, we're forced to have to
have two copies of the error message string table in the library.
Fortunately, unless a program uses both sys_errlist[] and strerror(),
only one of the copies will be linked into the executable.

This is all to provide an clean namespace as required by ANSI.  I've
done the same for sys_siglist[], even though it is not required, to
be consistant.
1994-10-10 04:46:39 +00:00
jtc d9c2e7b590 Change size of array passed to __strsignal() from 128 to NL_TEXTMAX. 1994-10-06 18:16:18 +00:00
jtc f5e46c89f4 Call __strsignal() instead of accessing sys_siglist[] directly. 1994-10-06 18:07:45 +00:00
mycroft 1ac05a7acc Fix oversight in last change. 1994-09-19 23:46:29 +00:00
mycroft fedcc257c7 Update to 4.4-Lite version. 1994-09-19 07:50:52 +00:00
mycroft 2c009d6038 Remove the #define KERNEL, now that we don't need it. Too bad we need FREAD and
FWRITE at all.  Sigh.
1994-09-19 07:38:27 +00:00
mycroft 485773b00a Fix null pointer dereference, per Rolf Grossman. 1994-09-19 04:32:45 +00:00
mycroft 3270e71a99 Stylistic changes. 1994-09-18 04:32:35 +00:00
pk 9c216a1fb2 Cache pagesize. 1994-09-15 10:49:53 +00:00
pk 07dce62879 Use getpagesize() in stead of CLBYTES. 1994-09-15 10:48:51 +00:00
mycroft 9116e142b9 Clean up deleted files. 1994-08-29 04:47:33 +00:00
mycroft 4bdad03539 Fix broken import of Lite directory code. 1994-08-29 04:47:31 +00:00
mycroft a295767a9e Correct first arg in synopsis. 1994-08-29 03:27:36 +00:00
cgd bcf72fa869 frexp.? is machine-dependent, as suggested by phil. 1994-08-19 20:57:43 +00:00
mycroft f8ee12b11b Use writev(2) when reporting errors. 1994-08-13 09:41:50 +00:00