fgsch
c03e1ae68d
- Rename index to longindex and explain its use.
- Talk about zeroing the last element of the longopts array.
- Remove '?' from the switch and some KNF to the code.
- Change 0's to NULL where appropriate.
jmc@ ok.
21 years ago
otto
c42a4efa7d
o Do not drop unit when printing -100
o Round negative numbers correctly
o Do not print fractional valus for byte values
ok ian@ henning@
21 years ago
markus
50eece2cbd
alignment fixes (e.g sparc 64); from Daniel Lucq; ok millert, henning
21 years ago
djm
826f436391
Discard first 256 bytes of keystream, as per recommendation in
"Weaknesses in the Key Scheduling Algorithm of RC4", Fluhrer, Mantin and
Shamir. ok itojun@
21 years ago
jmc
532d62d8fc
wording improvements from Brian Poole;
kill a .Pp before a display;
21 years ago
tedu
ab37eb8efb
only whine about recursion once, so we don't get into problems with loops.
21 years ago
jmc
3eae044b12
utilties -> utilities; from Jared Yanovich
21 years ago
tedu
b2f289ed65
by popular demand, malloc guard pages. insert an unreadable/unwriteable
page after each page size allocation to detect overrun. this is
somewhat electric fence like, while attempting to be mostly usable in
production. also, use tdeval's chunk randomization code.
enabled with the G option.
ok deraadt and co.
21 years ago
tedu
a63df3864b
abort on errors by default. workaround so running out of memory isn't
actually an error, A still applies full effect.
suggested by phk. ok deraadt@ tdeval@
21 years ago
jmc
a6a93c29bf
correct hash for EXAMPLES, plus some typos;
from er, Charlie Root (PR 3506)
21 years ago
tedu
60d06f403c
two minor fixes. set errno on recursive calls. ENOMEM suggested by marc@.
lock before setting malloc_func, not after.
ok cloder@ deraadt@
21 years ago
jmc
537eb1521b
updates and corrections to the references in SEE ALSO;
mostly from tjr@freebsd's rev. 1.14 commit.
21 years ago
tedu
df965b6a5c
full stop. reverse course. remove all periods, so as to be aligned
with error messages elsewhere. requested ok deraadt@ henning@
21 years ago
tedu
11a1131014
remove register. end all sentences with periods.
ok deraadt@ henning@ millert@
21 years ago
millert
2a6996bfa4
It is safe to pass free() a NULL pointer since C89; update example to
this effect. OK deraadt@ pvalchev@
21 years ago
deraadt
1d84434b97
improve example even more
21 years ago
millert
6724eaa976
Document the optional argument support and as well as where we differ from
POSIX and/or GNU. deraadt@ and jmc@ OK
21 years ago
millert
a8dc34ac1b
If permutation is disabled (as it is via getopt(3) or when POSIXLY_CORRECT
is set), we can accept an optional arg separated by whitespace. Previously,
the optional arg needed to be adjacent to the option character.
deraadt@ OK
21 years ago
tedu
637ad405c4
expand on the realloc no-no section to include adjusting a length before
the allocation. ok deraadt@ markus@
21 years ago
jmc
4662b6d15f
typos from wiz@netbsd (including one from a PR from Quentin Garnier);
slight sync with NetBSD page;
ok millert@
21 years ago
deraadt
d7d3323277
typo; ianm@cit.uws.edu.au
21 years ago
millert
70693691dd
Zap context correctly, from Juergen Buchmueller <pullmoll at stop1984 dot com>
Same as sys/crypto/sha2.c revision 1.2
21 years ago
jmc
3880dcdbcd
typos from Brian Poole;
ok deraadt@
21 years ago
tedu
55a03b3cd7
standards compliant strxfrm. much simpler too. fixes sorting in glib2.
ok deraadt@ espie@ marcm@
21 years ago
jmc
5d9d9c2154
escape punctuation;
ok deraadt@
21 years ago
markus
54122b6b38
fix use-after-free for expired passwds; ok deraadt, tdeval
21 years ago
jmc
e054129cac
wording improvement from Michael Knudsen;
21 years ago
tedu
682d8b9005
just use sysctl for stirring. thread safe and can't fail.
ok deraadt and co.
21 years ago
deraadt
dd0c426c1c
Split crypto routine sup again, but differently. This should make the
mail floppy parts a fair bit smaller.
21 years ago
deraadt
41645c48e4
unsplice crypt.c and morecrypt.c; start to document some bcrypt and md5crypt
things in crypt.3, and create MLINKS
21 years ago
deraadt
10823bcb7d
ansi
21 years ago
jfb
24eab29db5
ansify function arguments
ok tdeval@
21 years ago
millert
354e03d14f
Rename rootd to needslash and invert its value. This fixes the check
for ENAMETOOLONG, though since we use strlcpy() and strlcat() this
is not a big deal. Problem found by vincent@
21 years ago
deraadt
ad75fc4729
fix a proto
21 years ago
deraadt
e84beffb5d
warn about unsafe APIs at link time. Conditional on libc/Makefile defining
APIWARN; disabled by default. In use by many developers for quite some time,
now they have a common knob to enable/disable this
21 years ago
deraadt
9fdc426d5e
move junk (bad code, terrible APIs) to the only program that uses it;
millert ok
21 years ago
millert
1686685b3e
Remove bogus static; from Hiroki Sato
21 years ago
millert
6afef83497
Compile llabs.c
21 years ago
millert
378610259f
llabs(3) for C99
21 years ago
tdeval
5d2808f6c8
- just warn in case of mmap/brk failure
- extend_pgdir and malloc_make_chunks return int, not void*
ok tedu@
21 years ago
david
38bcda4ede
add missing includes
ok tedu@
21 years ago
jmc
bad23052ea
fix function description in SYNOPSIS;
21 years ago
otto
eb145cfead
Fix two cases where malloc() returns NULL but does not set errno to ENOMEM.
ok tdeval@ henning@ millert@
21 years ago
deraadt
0c743cc175
ansi and protos
21 years ago
deraadt
18e2ca0116
protos
21 years ago
deraadt
b34f7b9403
missing const; millert ok
21 years ago
avsm
0c6b29846c
clarify these functions by changing references from strings to buffers
ok deraadt@, millert@, jmc@, suggested by espie@
21 years ago
millert
4f09d8e4af
Sync with share/misc/license.template and add missing DARPA credit
where applicable.
21 years ago
deraadt
70b6eb2ef0
ansification, pval ok
21 years ago
deraadt
fc6dd72c26
ansification; pval ok
21 years ago