Commit Graph

28 Commits

Author SHA1 Message Date
rillig 133e932a29 usr.bin: remove unnecessary lint comment CONSTCOND
Since 2021-01-31, lint no longer warns about 'do ... while (0)'.

No functional change.
2021-09-10 21:52:17 +00:00
christos 0076513c11 Replace col with the FreeBSD version that adds wide char support 2020-11-01 22:27:15 +00:00
christos 0fef28f060 PR/49291: Henning Petersen: Problem with half-line feeds in input stream. 2014-10-18 14:56:14 +00:00
wiz 3957bea1ef Fix whitespace nits. Suggested by Bug Hunting. 2012-03-22 07:58:16 +00:00
plunky 9f61b80465 NULL does not need a cast 2011-08-31 16:24:54 +00:00
joerg 1f81257a3a static + __dead 2011-08-30 21:33:28 +00:00
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
lukem 98e5374ccb Remove the \n and tabs from the __COPYRIGHT() strings.
Tweak to use a consistent format.
2008-07-21 14:19:20 +00:00
xtraeme 6dd2a8ed92 Kill __P(), use ANSI function declarations; WARNS=3. 2005-02-17 17:12:42 +00:00
itojun 4f228a52dc safer use of realloc 2003-10-16 06:45:22 +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 aded0d2cce Whitespace cleanup. 2001-12-01 16:43:07 +00:00
tron 22cf28baac Fix wrong option string in call to getopt(3). Patch supplied by
Geoff C. Wing in PR bin/8475.
1999-09-23 08:47:47 +00:00
kleink 1cfce9cbf5 Add the XPG4.2 -p flag. 1999-02-22 22:16:01 +00:00
lukem 9992ac3ea9 getopt returns -1 not EOF 1997-10-18 12:54:24 +00:00
lukem 18ce25404d WARNSify, fix .Nm usage 1997-10-18 12:52:04 +00:00
mouse 650ee578da alternate -> alternative, per PR 2643 1997-03-08 14:13:54 +00:00
jtc 3e4b73c5a6 Sync with 4.4lite2 1995-09-02 05:45:13 +00:00
glass 282052c7a8 merged with 4.4Lite 1995-03-26 05:25:51 +00:00
glass 4c5b39eb10 import from 4.4Lite 1995-03-26 05:21:04 +00:00
cgd 62f7f268b0 pull in stdlib.h 1994-12-24 16:24:32 +00:00
jtc b9e1a8c55a Use ".At v6" macro instead of spelling out "Version 6 AT&T UNIX". 1993-11-30 00:19:51 +00:00
mycroft a50f6940ae Well, Andrew's message was totally useless, but there was indeed a bug in
the case where no tabs are inserted.  All hail modulus arithmetic.  The real
fix for this is trivial, but I made a couple of stylistic changes also.
1993-09-21 00:44:36 +00:00
mycroft b18d5b69fe Fix entabbing algorithm. (This is not the same patch as in FreeBSD.) 1993-08-03 04:32:16 +00:00
mycroft e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
mycroft dfb9caab49 Add RCS indentifiers. 1993-08-01 07:32:48 +00:00
mycroft 690cae8181 Add RCS indentifiers. 1993-07-31 15:17:49 +00:00
cgd 61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00