Age | Commit message (Collapse) | Author |
|
ok martijn, beck, deraadt, gsoares
|
|
Convert bzero() to memset() and bcopy() to memcpy()
ok natano@ millert@
|
|
o move some declarations out of hexdump.h
o mark some declarations as __dead or static
from Michal Mazurek, with input from and ok tb@
|
|
ok and with input from tb@
|
|
meanwhile emalloc() has turned into calloc() by doing malloc + memset.
Delete them and Use the libc functions directly instead. I've been
running with this diff for ages and was reminded of it by a similar
suggestion from mmcc@ and by recent diffs from Michal Mazurek.
ok mmcc@
|
|
number of bytes present in a regular file was requested.
Bug reported by a user called "tdm" on the comstyle #openbsd IRC channel.
Patch written by Michal Mazurek <akfaew at jasminek dot net>.
OK jung@ millert@ czarkoff@
|
|
from Michal Mazurek
|
|
|
|
very early on, but next() can open one quite late.
ok doug
|
|
Make it work with decimal offsets and with standard input.
Also fix the documentation; it showed the argument in the wrong place.
According to XSI (and our code), it must come *after* the filename,
and it can be used with at most one single filename.
Remove it from the SYNOPSIS; it only provides a subset of -j,
is less standard and contains lots of traps (i counted 7 distinct traps).
Instead, mention it as an alternative below -j where it belongs.
Also fix some markup quirks (that's what originally made me find this mess).
Feedback and OK sobrado@ jmc@.
|
|
|
|
possible. Annotate <sys/param.h> lines with their current reasons. Switch
to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change
MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where
sensible to avoid pulling in the pollution. These are the files confirmed
through binary verification.
ok guenther, millert, doug (helped with the verification protocol)
|
|
troff displays these as typographic quotes, but nroff implementations
almost always print them literally, which rarely has the intended effect
with modern fonts, even in stock xterm.
These uses of `` '' can be replaced either with more semantic alternatives
or with Dq, which prints typographic quotes in a UTF-8 locale (but will
automatically fall back to `` '' in an ASCII locale).
improvements and ok schwarze@
|
|
ok millert@
|
|
ok jmc@, millert@
|
|
|
|
|
|
remove cross reference to strings(1), it only made sense in the context of
the old 4.3BSD od(1)'s -s flag.
ok jmc@, millert@
|
|
do not mark od(1) as deprecated, and remove language that says it is really
just hexdump(1); do not mention options supported by the old 4.3BSD od(1)
that we no longer provide.
ok jmc@, millert@
|
|
ok millert
|
|
|
|
is no longer needed.
|
|
|
|
|
|
ok jmc@ millert@
|
|
(requested by Michael W. Bombardieri, who also provided the example; otto
provided a better description)
- reword the rest of the descriptions in EXAMPLES to make them a bit clearer
ok otto
|
|
ok phessler nicm mikeb
|
|
anything read from stdin in doskip() may be lost when we change the
buffering. Fixes PR 6492. OK guenther@
|
|
size for fread(). Otherwise, stdio will read as much as it can
(using a very large buffer) which may cause a hang if the input
comes from a blocking device such as /dev/srandom. OK deraadt@
|
|
|
|
ok jmc@
|
|
|
|
|
|
jmc@ and millert@ input and ok.
|
|
issue--od(1) and hexdump(1) behave as expected. From FreeBSD.
|
|
ok deraadt miod
|
|
unmaintainable). these days, people use source. these id's do not provide
any benefit, and do hurt the small install media
(the 33,000 line diff is essentially mechanical)
ok with the idea millert, ok dms
|
|
updates to follow;
|
|
Not sure what's more surprising: how long it took for NetBSD to
catch up to the rest of the BSDs (including UCB), or the amount of
code that NetBSD has claimed for itself without attributing to the
actual authors.
OK deraadt@
|
|
|
|
- consistent text for STANDARDS
- note which options are extensions to POSIX
|
|
ok deraadt millert
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|