Commit Graph

19 Commits

Author SHA1 Message Date
christos 4d5030b7d4 Coverity CID 2969: Check for negative stack in the 'P' case like we do in
the 0 case.
2006-04-25 19:25:19 +00:00
christos 095e4da292 Coverity CID 1204: Prevent negative index. 2006-04-02 03:29:17 +00:00
xtraeme 5ca972d91b This needs <err.h> for err() and errx() (hi wiz) 2005-03-30 18:01:32 +00:00
wiz bd02b4a3e5 v1.14 from OpenBSD (jaredy):
- fix overflow when too many -a arguments are given
 - properly NUL-terminate -a arguments when copying
 - check strdup for error failure
2005-03-30 14:18:41 +00:00
wiz ec34356a9c Add .In to known commands. 2005-02-02 17:14:29 +00:00
wiz 55759098b9 Standardize usage: print it to stderr, add brackets around all optional
arguments, sort, add missing file argument. From Kouichirou Hiratsuka
in PR 26194.
2004-07-09 11:41:26 +00:00
jmmv b635f565e7 Homogenize usage messages: make the 'usage' word all lowercase, as this seems
to be the most common practice in our tree.
2004-01-05 23:23:32 +00:00
agc 89aaa1bb64 Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22365, verified by myself.
2003-08-07 11:13:06 +00:00
wiz de2f2d8752 Only fclose file if it is open. From Tim Robbins (tjr@freebsd). 2003-05-09 08:44:57 +00:00
wiz 9cf6e5c45d Teach checknr about mdoc.
Also, close files when we're finished with them.
2002-01-21 18:28:00 +00:00
wiz 1bbe14d82a Make compile with WARNS=2, indent some #ifdef DEBUG stuff correctly. 2002-01-21 16:46:37 +00:00
wiz 105896cdc1 KNF. 2002-01-21 16:40:19 +00:00
cgd d594ce939b comment or delete text after CPP directives. 2001-01-16 02:50:27 +00:00
christos bd5b624c4c char -> unsigned char 1998-11-06 22:57:55 +00:00
lukem 5c1befb6a9 WARNSify, fix .Nm usage, deprecate register 1997-10-18 12:38:05 +00:00
glass e91ed1746e merged with 4.4 lite 1995-03-26 04:10:08 +00:00
cgd 0b92310510 pull in string.h 1994-12-24 15:57:02 +00:00
mycroft e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
cgd 61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00