Commit Graph

25 Commits

Author SHA1 Message Date
lukem c1ceae17f0 Enable WARNS=4 by default for usr.bin, except for:
awk  bdes  checknr  compile_et  error  gss  hxtool  kgetcred  kinit
	klist  ldd  less  lex  locale  login  m4  man  menuc  mk_cmds
	mklocale  msgc  openssl  rpcgen  rpcinfo  sdiff  spell  ssh
	string2key  telnet  tn3270  verify_krb5_conf  xlint
2009-04-14 22:15:16 +00:00
christos a8a21bf00e lint patches from Anon-Ymous 2008-03-08 03:35:53 +00:00
wiz e76d290058 Fix example; from sat@freebsd via jmc@openbsd. 2006-12-24 10:07:18 +00:00
matt 7ee69fc344 Avoid casting an lvalue. 2005-05-08 19:53:57 +00:00
xtraeme 691a36f2ea whitespace, remove main() prototype. 2005-01-20 15:44:59 +00:00
xtraeme 1ac55ee68a Kill __P(), ANSIfy, WARNS=3 2005-01-12 14:35:56 +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
itojun d5250e4ec9 safer use of realloc 2003-10-16 06:34:19 +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 990562bfef .Nm does not need a dummy argument ("") before punctuation or
for correct formatting of the SYNOPSIS any longer.
2003-02-25 10:34:36 +00:00
wiz 797e4e51c3 Fix section names, sort sections, remove a space. 2001-10-17 22:02:30 +00:00
cgd a8ec668ddf convert to use getprogname() 2001-02-19 23:03:42 +00:00
christos ffa8eefe34 fix nested extern
rename system to shell_system so that it does not conflict with libc
2001-02-05 01:20:12 +00:00
mjl 9dff294326 Fix off by one error in string length calculation (from OpenBSD rev 1.6) 2000-01-14 06:21:25 +00:00
garbled 9e44e9b578 More and more .Os cleanups. .Os is defined in the tmac.doc-common file,
so we shouldn't override it with versions in the manpages.  Many more to
come.
1999-03-22 18:16:34 +00:00
christos 2de3ba714e - Don't understand why use union wait pstat.w_status...
Change it to just int status...
- char -> unsigned char
1998-11-06 22:28:15 +00:00
fair c46ab392dc Principally, change foo(N) to .Xr foo N
Also, do some other mdoc tagging.
1998-04-28 04:07:04 +00:00
thorpej d32f706973 Change an err() to a warn()/_exit(), so that it's safe for vfork(), and
fix the error message that's displayed if the vfork() fails.
1997-12-31 05:53:45 +00:00
lukem 8ebe3a25b5 getopt returns -1 not EOF 1997-10-18 12:23:21 +00:00
lukem 10a4ee85e0 WARNSify, fix .Nm usage 1997-10-18 11:47:18 +00:00
mikel d9c33548ae Fix quote description; PR misc/2781. 1996-11-07 07:24:08 +00:00
jtc e6ec329595 Fix typo. From Masanobu Saitoh in PR #2197. 1996-03-18 23:16:57 +00:00
glass f0dbf5d4fb cleaned up old import 1995-03-25 03:38:16 +00:00
glass f511532ab3 rcsids 1994-09-21 03:17:34 +00:00
glass 581df8a2ac initial import 1994-09-21 03:07:20 +00:00