Ed Schouten
ef636796f6
ANSIfy various tools in usr.bin/.
...
Most of these tools properly build at WARNS=6, except for their K&R
function declarations. Fix this, so we can bump WARNS as well.
2010-01-02 10:09:20 +00:00
Maxim Konovalov
0d4d06c9d7
o Check that -w width is not above maximum. Use DWIDTH instead of
...
hardcoded constant.
Reported by: Gruzicki Wlodek on BugTraq
Obtained from: NetBSD, OpenBSD
MFC after: 1 week
2006-11-22 21:05:17 +00:00
Tim J. Robbins
a7a223c342
Document message length limit.
2005-01-25 22:24:04 +00:00
Ruslan Ermilov
6c7216df78
Sort sections.
2005-01-18 13:43:56 +00:00
Warner Losh
f1bb2cd2aa
remove __P
2002-03-22 01:22:50 +00:00
Mark Murray
91bd71d206
Remove leaf node WARNS?=2 (that mainly I added). This should
...
help the GCC3 transition and CURRENT in general.
2002-02-08 22:31:43 +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
Mark Murray
863475aa48
Reorder Makefile for style.
2001-12-03 01:09:17 +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
Dima Dorfman
f247324df7
Remove whitespace at EOL.
2001-07-15 08:06:20 +00:00
Dima Dorfman
982f5d88ff
WARNS= -> WARNS?=
...
Submitted by: Mike Barcroft <mike@q9media.com>
2001-06-22 21:38:30 +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
Ruslan Ermilov
dc12be5258
MAN[1-9] -> MAN.
2001-03-27 10:52:19 +00:00
Bill Fumerola
f5db5b7fcd
BDECFLAGS.
...
while I'm here, fix bitrotted debug code generating template.
2001-03-04 12:28:57 +00:00
Ruslan Ermilov
8fe908ef0c
mdoc(7) police: use the new features of the Nm macro.
2000-11-20 19:21:22 +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
Peter Wemm
c3aac50f28
$Id$ -> $FreeBSD$
1999-08-28 01:08:13 +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
Philippe Charnier
306005e78c
.Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq.
1998-03-23 07:48:45 +00:00
Joerg Wunsch
1b659bfe0b
Fix the .Dd line.
...
PR: docs/3275
1997-08-23 15:49:52 +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
Bruce Evans
e2457a1d79
This commit was generated by cvs2svn to compensate for changes in r27224,
...
which included commits to RCS files with non-trunk default branches.
1997-07-06 03:28:40 +00:00
Bruce Evans
630d2a93ba
Import Lite2's src/usr.bin/banner. The man page is still on the vendor
...
branch and this import converts it to mdoc format.
1997-07-06 03:28:40 +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
Garrett Wollman
b35bdc400c
More merry makefile munging for man page compatability.
1994-08-05 19:00:04 +00:00
Rodney W. Grimes
9b50d90275
BSD 4.4 Lite Usr.bin Sources
1994-05-27 12:33:43 +00:00