Commit Graph

1241 Commits

Author SHA1 Message Date
wiz
0e9a92473d Fix Nd; use In instead of Fd; grammar fixes. 2003-09-10 09:16:45 +00:00
tls
ef0a2c06dc Another gcc3 problem: "exp" shadows a builtin. Rename it to "expo". 2003-09-10 07:20:13 +00:00
tls
732fa344d5 This didn't build with gcc3 because it was missing <string.h> for memset. 2003-09-10 07:12:33 +00:00
wiz
89d02ff30e Use In instead of Fd for header files. 2003-09-10 05:51:06 +00:00
itojun
00552ebbd7 add randomid(3). 2003-09-09 22:10:33 +00:00
itojun
24a3a1d964 have pw_dup(3). from openbsd 2003-09-09 22:01:56 +00:00
wiz
47190e80b8 Consistently use 'RFC 1234' instead of 'RFC1234' or 'RFC-1234'.
From jmc@openbsd.
2003-09-07 16:22:20 +00:00
kleink
9f18c21c61 Add Xref to dirname(1). 2003-09-06 20:58:39 +00:00
kleink
d27a834c8e Add Xref to basename(1). 2003-09-06 20:58:11 +00:00
wiz
4bfb9a4429 Add __warn_references for deprecated lastlogxname. Okayed by christos. 2003-09-06 16:42:10 +00:00
wiz
7666801285 Add man page for getlastlogx and friends. 2003-08-26 17:37:48 +00:00
wiz
31fd31ccf7 Make getlastlogx have the pathname to the lastlogx database as first
argument, to be consistent with updlastlogx.

Approved by christos, reviewed by kleink.

[The lastlogxname function should not be used any longer.]
2003-08-26 16:48:32 +00:00
matt
f847c1a7f3 When updating wtmpx, if the write fails make sure to close the file (to
release the lock held on it).  Use O_SHLOCK when adding just one record
since O_APPEND will enforce the atomicity that is required.
2003-08-25 23:09:37 +00:00
kleink
45cc3e349e Need namespace.h to generate references to internal names. 2003-08-24 15:14:18 +00:00
dsl
79b2073eea Significantly reduce the non-monotonicity of this function.
The way time is apportioned to interrupt/system/user makes it impossible
to guarantee monotonicity except by saving the previous value!
2003-08-19 08:31:18 +00:00
wiz
51471a0f3b Be more explicit about the difference between the err and errx (and
similar) functions. Based on wording from Jeremy C. Reed.
Closes PR 22424.
2003-08-10 10:45:33 +00:00
mrg
151375e124 avoid some lint errors in the previous 2003-08-10 08:24:52 +00:00
martin
eaa9779f55 Split into a 64 bit version (straight forward shifting and masking) and
a 32 bit one with two 32 bit operations with two temporaries later
combined.

This avoids the strict alias violating magic used before, thereby
probably fixing PR bin/22313.
2003-08-09 22:37:49 +00:00
agc
eb7c1594f1 Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22280, verified by myself.
2003-08-07 16:42:00 +00:00
itojun
2e48312004 be more pedantic to strlcpy/strcat errors 2003-08-03 04:35:50 +00:00
itojun
785d6ef678 use strlcat for safety 2003-08-03 04:14:00 +00:00
itojun
d6220d9ca5 fix off-by-one error in realpath() 2003-08-03 04:12:01 +00:00
salo
99410184e7 netbsd.org->NetBSD.org 2003-07-26 19:24:24 +00:00
dsl
5dbcc1e019 If VIS_CSTYLE is specified, use \ to escape any printable characters
(especially \ itself, and anything else in 'extra').
Fix strvis() and strvisx() to pass 0..255 to isgraph() etc.
2003-07-16 22:34:34 +00:00
kleink
4e043afc74 Fix pasto in 1.26; spotted by Thomas Klausner. 2003-07-09 15:38:20 +00:00
wiz
60c9febddd Drop trailing spaces. 2003-07-09 14:12:31 +00:00
kleink
9789cc2d45 Mention related kernel options where applicable. 2003-07-09 13:35:08 +00:00
wiz
1fabdcd1fb Drop whitespace. 2003-07-04 08:20:31 +00:00
wiz
b93a29cdaa Fixes to make these man page look nice with groff-1.19. 2003-06-30 19:12:31 +00:00
wiz
b50ca43043 Pa Aq -> Aq Pa; Sy Pa -> Sy. 2003-06-27 17:59:33 +00:00
wiz
2b8b2a8b6f Quote question mark and brace. 2003-06-27 14:24:16 +00:00
wiz
2e906114a3 Remove superfluous "". 2003-06-27 14:23:24 +00:00
wiz
2a0c101d51 Remove superfluous semicolon. 2003-06-27 13:23:11 +00:00
christos
d695477b73 PR/21963: MAEKAWA Masahide: Don't free(dirp) before its last use. 2003-06-23 14:35:38 +00:00
simonb
dbf00ebd13 Use the date I committed this, not the date I originally came up with
the changes.
2003-05-30 02:22:23 +00:00
simonb
20a5af5edd Allow either parameter to the getbsize(3) function to be a NULL, in
which case it is ignored.
2003-05-30 00:12:09 +00:00
nathanw
4ee0df68f2 Allocate and initialize dirp->dd_lock before calling telldir(), which
will try to lock it.

Addresses PR lib/21712.
2003-05-29 18:29:59 +00:00
kleink
45586dc2f9 Need <string.h> for memcpy(). 2003-05-28 21:08:23 +00:00
kleink
9a398ec067 Add restrict qualifiers to previous. 2003-05-28 20:28:37 +00:00
christos
9af7135771 add mutex locking for directories and readdir_r(3). Influenced by FreeBSD. 2003-05-28 20:03:37 +00:00
christos
c8042cb209 no need to declare __isthreaded. 2003-05-28 19:57:22 +00:00
kleink
9d85c4a5f8 Add ETIME, per POSIX-2001. 2003-05-27 22:37:33 +00:00
thorpej
f9345ff71e Add _isinfl() and _isnanl() routines, currently for internal use only. 2003-05-17 14:51:24 +00:00
nathanw
59520b66cd Fix a comment delimeter 2003-05-12 20:10:22 +00:00
kleink
db907cb577 Rename ieee754_function.c to function_ieee754.c, following the convention
used in exec_format.c, loadfile_format.c, subsys_machdep.c etc.
Per discussion with Christos.
2003-05-12 15:15:11 +00:00
christos
2f0d746849 make this compile again. 2003-05-11 20:56:51 +00:00
ragge
f28d8c841a Teach nlist to retrieve symbols from /dev/ksyms (using the quick-search
ioctl's).
2003-05-11 12:47:42 +00:00
wiz
fade7b55f5 New sentence, new line. 2003-05-06 08:28:38 +00:00
wiz
737de9f803 Misc. fixes from jmc@openbsd. 2003-05-03 19:43:00 +00:00
gmcgarry
1f3b9df049 Clarify output. From PR#14290. 2003-05-02 08:26:46 +00:00