Commit Graph

1289 Commits

Author SHA1 Message Date
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
mycroft d8f841190c .s -> .S 1994-12-16 10:01:23 +00:00
jtc 600d3f84d5 Add volatile qualifier to huge and tiny, so that huge*huge and tiny*tiny
are performed at run-time.
1994-12-16 08:38:20 +00:00
mycroft 201fac6e3d More underscores... 1994-12-15 17:24:44 +00:00
mycroft c32023e792 More underscores... 1994-12-15 17:02:08 +00:00
jtc 37d79a5d9d Fixed cross reference: sysctl(1) -> sysctl(8). 1994-12-15 08:44:35 +00:00
jtc c2cf556f97 Fix cross references: sysctl(2) -> sysctl(3) (PR #643). 1994-12-15 08:43:29 +00:00
cgd 3c5606e4ea fix for bug 638 1994-12-14 07:24:12 +00:00
glass b55416a4b2 bug fix from sun. version # doesn't change. major lame 1994-12-13 16:19:46 +00:00
jtc 92737ece73 Rework indirect reference support as outlined by my recent message to
the tech-userlevel mailing list.
1994-12-12 22:42:20 +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
dean a51d5c8eef underscore changes 1994-12-12 19:31:22 +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
cgd fee4815efc fix pr 594, pointed out by Chuck Silvers. fix taken from 4.4-Lite, rather
than his patch.  (functionally identical, though...)
1994-12-08 22:58:47 +00:00
jtc debb742e2f Changed type of struct rlimit from quad_t to rlim_t.
Changed RLIM_INFINITY to 64 bit quantity.
1994-12-08 06:49:43 +00:00
deraadt 3dffaf5ef4 remove duplicate infinity.c 1994-12-07 14:52:59 +00:00
phil eb5168e5dc RCS id format. 1994-12-07 04:47:59 +00:00
phil 6adbfc3390 Adding sigsetjmp.S for ns32k. 1994-12-07 04:47:23 +00:00
jtc 47b200fa5c Changed <sys/signal.h> to <signal.h>.
Most BSD derived OS's now document these legacy functions with a <signal.h>
API.  This is especially appropriate for NetBSD, since their prototypes are
in <signal.h>, not <sys/signal.h>.
1994-12-05 18:51:47 +00:00
christos 876c50bcb3 Added code to handle netgroups in user authorization. 1994-12-04 18:13:11 +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
cgd 2e2a3a256a be much more careful with types, and add prototype everything. 1994-12-04 01:12:39 +00:00
dean 820aec410e more underscore changes. 1994-11-28 18:56:40 +00:00
mycroft fcc40a849d If len == 0, then the result must be 0 regardless of the other arguments. 1994-11-24 16:36:35 +00:00
jtc 1bd8c27e8b Private versions of cat*() functions now have only one leading underscore. 1994-11-18 15:38:32 +00:00
jtc 6dca60107b XPG3 says that catclose returns an int.
Changed manpages to note that cat*() functions conform to XPG3.
Changed "private" versions of functions to have only one leading
underscore.
1994-11-18 15:36:11 +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
jtc a8bfd3d17a Merged with 4.4lite
Changed to conform to NetBSD's new RCS Id conventions.
1994-11-17 07:17:53 +00:00
dean 705ee976cf Prepended underscores 1994-11-14 23:48:58 +00:00
dean 6ffb5ee299 Include files for pmax 1994-11-14 23:48:22 +00:00
dean 6cd6f202d5 Include code for pmax 1994-11-14 23:48:02 +00:00
dean a7d9360c57 Include files for pmax 1994-11-14 23:46:52 +00:00
dean add2031dcf Prepended underscores 1994-11-14 23:33:46 +00:00
deraadt 283e16a22b ptrace(2) by der mouse; not checked for accuracy 1994-11-14 06:26:44 +00:00
deraadt 65609b558b another type change 1994-11-02 09:17:27 +00:00
deraadt 41614869d6 one more u_long -> u_int32_t change 1994-11-02 07:19:51 +00:00
deraadt 12e0db7fb1 make this work (with a horrible hack for determining the cputyp) 1994-11-02 04:51:38 +00:00
glass 2999135c5d link inet.3 for inet_aton() 1994-10-31 06:53:48 +00:00
deraadt ce0ad41a78 man page from Jason Thorpe 1994-10-28 23:03:02 +00:00
mycroft 0aeeefdc23 Fix typo in previous. 1994-10-28 17:59:47 +00:00
mycroft 6f553ba1a3 Properly document what iruserok(3) does. 1994-10-28 17:56:40 +00:00
cgd b7d1866d65 fix bug 535, reported by Brian Moore. 1994-10-28 17:30:22 +00:00
deraadt 17595b3407 man page from Jason Thorpe 1994-10-28 16:46:57 +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
mycroft 2db41a19e7 Use trap gate to enter kernel. 1994-10-26 19:49:42 +00:00
cgd 08ef3b378e typo 1994-10-25 03:41:32 +00:00
phil c0356ed2a6 New file from Matthias. 1994-10-21 07:28:44 +00:00
phil db01d4c84a fix code for PIC. 1994-10-21 07:13:21 +00:00
cgd 04a4b7684b make the sysv functions real syscalls. 1994-10-20 04:17:05 +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
jtc 14c8a82a15 Fix zero padding when using the # format modifier. 1994-10-20 03:56:56 +00:00
cgd bf8067b9da maybe they should actually... WORK! 1994-10-19 03:27:52 +00:00
cgd 9230a088b3 cast 1994-10-19 03:21:41 +00:00
cgd f546ad9c8a casts for happiness. 1994-10-19 03:21:15 +00:00
cgd f5e2eec480 get return type right. 1994-10-19 03:20:30 +00:00
cgd 685a1b9fa2 beware pointer casts. 1994-10-19 03:19:42 +00:00
cgd a1388b1815 be a bit nicer with the return value 1994-10-19 03:19:01 +00:00
cgd 4d09105f58 needs string.h 1994-10-19 03:18:47 +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 3e853c8028 constants are normally ints, remember! 1994-10-19 03:09:47 +00:00
cgd 517cf49336 case to quiet compiler. 1994-10-19 03:09:00 +00:00
cgd d2b0e8d86d be a bit more careful with types. 1994-10-19 03:07:18 +00:00
cgd ce7850d53d cast type 1994-10-19 03:06:51 +00:00
cgd 5eca8fd521 casting types. 1994-10-19 03:06:34 +00:00
cgd b1f5b80b6a relative path to libkerm 1994-10-19 03:05:22 +00:00
cgd 8c814fd78b fix type of variables, add headers, protos, where necessary. 1994-10-19 03:03:39 +00:00
cgd 73de321a73 needs string.h 1994-10-19 03:01:39 +00:00
cgd adf7c9df14 cast for quiet. 1994-10-19 03:01:18 +00:00
cgd b1faf8936d need string.h 1994-10-19 02:57:11 +00:00
cgd 32e7357c0f either change or update references to sigvec(), as appropriate 1994-10-17 23:49:08 +00:00
deraadt 2343dc8f90 u_int_{16,32}_t stuff 1994-10-15 07:56:51 +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
deraadt 5b951fb823 fix typo 1994-10-12 02:35:26 +00:00
jtc 8f2c7fd229 Don't bother checking if errno is in range --- strerror() already does
that.
1994-10-10 04:56:01 +00:00
jtc d5f2bfb17a Use __sys_siglist[]. 1994-10-10 04:53:01 +00:00
jtc afdcfb9eeb Use __sys_errlist[] & __sys_nerr. 1994-10-10 04:52:13 +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
mycroft e94c4d1ac4 Fix typo. 1994-10-07 11:40:53 +00:00
jtc 76cf6eaace Call internal NLS interfaces: __catopen(), __catgets(), and __catclose(). 1994-10-06 18:17:52 +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 e19f10c79b Change size of array passed to __strerror() from 128 to NL_TEXTMAX. 1994-10-06 18:14:53 +00:00
jtc f5e46c89f4 Call __strsignal() instead of accessing sys_siglist[] directly. 1994-10-06 18:07:45 +00:00
jtc f81cf24ac7 It looks like most people were in favor of enabling NLS in the C library. 1994-10-06 05:47:57 +00:00