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
deraadt
98afedd6e6
ansification; checked by pval
21 years ago
deraadt
32f62cb8b8
another term 3 & 4 from tholo after permission
21 years ago
millert
6014de925d
Use an ISC-tyle license for all my code; it is simpler and more permissive.
21 years ago
millert
679cd5d050
Remove the advertising clause in the UCB license which Berkeley
rescinded 22 July 1999. Proofed by myself and Theo.
21 years ago
jmc
134f7e2634
- section reorder
- clean up .Xr's
21 years ago
millert
20542d1d50
Remove some lies
21 years ago
millert
9b93b7bc74
Use the getopt() in getopt_long.c which supports some GNU extensions.
getopt.c is no longer compiled and will eventually be removed.
21 years ago
jmc
fdc9cd7b4e
- section reorder
- merge COMPATIBILITY
- kill whitespace at EOL
21 years ago
jmc
edfb378ba7
- section reorder
- whitespace at EOL
21 years ago
jmc
3445741ae0
- section reorder in crypt(3)
- use .An/.Aq for authors
21 years ago
millert
0d36779ed4
typo
21 years ago
millert
46ecf54354
Say POSIX-2001 instead of Single Unix v3. They are the same but we generally
mention POSIX compliance, not Single Unix compliance.
21 years ago
jmc
ecfaa349ba
- typos
- new sentence, new line
21 years ago
ian
3b9490ce8c
New: fmt_scaled() and scan_scaled() convert to and from "human readable"
or scaled numbers. fmt_scaled, and the format, based on Ken Stailey's
code for "df -h"; scan_scaled is new. Significantly commented on
and reworked by pjanzen@; other comments from millert@. OK pjanzen@.
21 years ago
tdeval
2fc00a431b
Unbreak 64-bit archs...
21 years ago
tdeval
0106adef12
Pointer cleaning. ok ian@, tedu@, krw@
21 years ago