Commit Graph

1228 Commits

Author SHA1 Message Date
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
wiz
38107bb637 Grammar and mdoc fixes from jmc@openbsd. 2003-05-01 13:58:03 +00:00
christos
e8c0c9df50 PR/6156: Stefan Grefen: nlist returns bogus value if symbol is multiply
defined in object
2003-04-20 21:08:11 +00:00
christos
622e897fdb PR/5265: John Buller: ttyflags does not report syntax errors or unknown
tty options in /etc/ttys
Make this use fparseln and use warn and warnx to report problems.
2003-04-20 03:03:18 +00:00
christos
a5b5f849f2 add ident. 2003-04-19 21:56:49 +00:00
wiz
472351e13d Use
.In header.h
instead of
.Fd #include \*[Lt]header.h\*[Gt]
Much easier to read and write, and supported by groff for ages.
Okayed by ross.
2003-04-16 13:34:34 +00:00
wiz
5af328316a Bump date for last. 2003-04-14 12:06:26 +00:00
simonb
4604766a89 Remove CAVEATS section and note that isascii() works on all integer
values.

From PR standards/21179 from Christian Biere.  Verified against SUSv3 too.
2003-04-14 12:04:18 +00:00
dogcow
dc650bfb56 Document ip.checkinterface 2003-04-12 07:41:12 +00:00
salo
f939ebddeb Document HW_CNMAGIC, fix HW_PHYSMEM64 and HW_USERMEM64 format in the table,
describe HW_MACHINE_ARCH and HW_ALIGNBYTES in the same order as listed in the
table.
2003-04-11 08:44:16 +00:00
kleink
27d8588746 Change the strerror() string for ERANGE consistently to "Result too
large or too small" and reword its intro(2) description to reflect
the present use for non-numerical out-of-range errors; resolves
Andrew Brown's PR standards/21004, the discussion of which was
dramatically sped up by repeated whipping from Perry Metzger. :-)
2003-04-09 21:36:28 +00:00
nathanw
cffc057ae2 Oops, make the atfork queues static so they don't pollute the
namespace.
2003-04-07 21:09:57 +00:00
fvdl
42614ed3f3 Add support for UFS2. UFS2 is an enhanced FFS, adding support for
64 bit block pointers, extended attribute storage, and a few
other things.

This commit does not yet include the code to manipulate the extended
storage (for e.g. ACLs), this will be done later.

Originally written by Kirk McKusick and Network Associates Laboratories for
FreeBSD.
2003-04-02 10:39:19 +00:00
wiz
a798d4ff8e Consistent tab usage. 2003-03-17 07:45:04 +00:00