Warner Losh
f1bb2cd2aa
remove __P
2002-03-22 01:22:50 +00:00
David Malone
9f5b04e925
Style improvements recommended by Bruce as a follow up to some
...
of the recent WARNS commits. The idea is:
1) FreeBSD id tags should follow vendor tags.
2) Vendor tags should not be compiled (though copyrights probably should).
3) There should be no blank line between including cdefs and __FBSDIF.
2001-12-10 21:13:08 +00:00
Mark Murray
151aa6c35a
Use __FBSDID().
2001-12-03 01:15:28 +00:00
Ruslan Ermilov
1a084f197d
Fixed the race caused by not checking the result of fgets(3):
...
/usr/bin/env MALLOC_OPTIONS=J banner </dev/null
PR: bin/29074
Fixed the problem when banner(6) would eat last character:
echo -n a | banner
MFC after: 1 week
2001-07-19 08:07:09 +00:00
Mike Heffner
f332550d02
Fix overflowing on nul character.
...
PR: bin/16926
MFC after: 1 week
2001-05-28 03:49:23 +00:00
Kris Kennaway
81d50432af
Silence WARNS=2 and BDECFLAGS on alpha and i386
...
MFC After: 1 week
2001-05-20 06:16:53 +00:00
Bill Fumerola
f5db5b7fcd
BDECFLAGS.
...
while I'm here, fix bitrotted debug code generating template.
2001-03-04 12:28:57 +00:00
Philippe Charnier
eb257e6ec5
Add -d and -t flags to usage. Add usage().
2000-03-26 14:30:51 +00:00
Kris Kennaway
1b2fef9f1e
Fix buffer overflow & add $FreeBSD$
...
Reviewed by: imp
1999-12-04 02:11:51 +00:00
Steve Price
c91f5974b9
Use const where appropriate.
...
PR: 10739
Submitted by: Stephen J. Rosnowski <sjr@home.net>
Obtained from: NetBSD PR 6151
1999-04-19 04:05:25 +00:00
Archie Cobbs
fa146c5335
Tweaks to allow compiling -Wall (mostly adding "const" to char rcsid[]).
1998-12-06 22:58:23 +00:00
Bruce Evans
c55d6c087d
Merge from Lite2 (reject widths <= 0 instead of pretending that they are 80).
1997-07-06 03:39:37 +00:00
Warner Losh
1c8af87873
compare return value from getopt against -1 rather than EOF, per the final
...
posix standard on the topic.
1997-03-29 04:34:07 +00:00
Rodney W. Grimes
7799f52a32
Remove trailing whitespace.
1995-05-30 06:41:30 +00:00
Rodney W. Grimes
9b50d90275
BSD 4.4 Lite Usr.bin Sources
1994-05-27 12:33:43 +00:00