Sheldon Hearn
5249bd84d6
Back out rev 1.11, about which bde had concerns, and instead implement
...
appropriate bounds-checking and typecasts based on our knowledge of
the desired conversion format specifier.
Simplify diagnostics and take care to print the correct conversion
format specifier when %l is involved.
2000-01-06 15:37:37 +00:00
Peter Wemm
c3aac50f28
$Id$ -> $FreeBSD$
1999-08-28 01:08:13 +00:00
Sheldon Hearn
d8d41a0985
Don't dump core for a known, documented bug.
...
PR: 12611
Reviewed by: markm
1999-07-22 17:33:11 +00:00
Sheldon Hearn
8db8a33bb9
Improve printf(3) conversion specifier parsing so that silly formats
...
aren't allowed and the right casts can be used for printf() statements.
Document the conversion specifier limitations and the fact that
arithmetic overflow causes a fatal error.
PR: 12611
Reported by: Frode Vatvedt Fjeld <frodef@acm.org>
Reviewed by: bde
1999-07-22 17:11:59 +00:00
Kris Kennaway
4b9cb490c3
Correct an error in a manpage example, add -Wall -W to Makefile (no
...
warnings given) and modify source to use arc4random() instead of random().
Reviewed by: ache
1999-05-13 12:18:24 +00:00
Philippe Charnier
d078aa135c
Mdoc'ify man page.
1997-11-03 07:45:33 +00:00
Philippe Charnier
7bd7ad50aa
Use err(3) instead of local redefinition. Add usage().
1997-07-15 09:59:30 +00:00
Andrey A. Chernov
687ee69a2a
Remove srandomdev fallback code
1997-06-14 00:27:03 +00:00
Andrey A. Chernov
5790155e89
Use srandomdev() now
...
Fix error with begin variable calculation
1997-03-30 23:13:59 +00:00
Andrey A. Chernov
28c4ca5ce6
Fix srandom arg type according to Lite2
1997-03-11 14:06:52 +00:00
Andrey A. Chernov
9d288406f5
Add ^ getpid() to make more random results for subsequent calling.
...
Add proper type casting to random calls
Should go into 2.2
1997-03-08 11:40:15 +00:00
Joerg Wunsch
e29b080f61
>Number: 917
...
>Category: bin
>Synopsis: -s option in jot is broken
1995-12-29 12:18:46 +00:00
Rodney W. Grimes
9b50d90275
BSD 4.4 Lite Usr.bin Sources
1994-05-27 12:33:43 +00:00