Commit Graph

22 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
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
4ed1105b0d WARNS=3 2005-01-12 14:45:26 +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
he
275c432125 Make this compile again. Cast char variable to int before comparing
> 0x7f, so that this gives the same result for machines with signed
and unsigned char.
2003-03-13 20:49:11 +00:00
mjl
79ea3ffca9 Fix handling of control and non-ascii charachters. Print a space
instead of what happens to be at that position (out of bounds)
in the char array. Prompted by OpenBSD PR/3147.
2003-03-13 12:13:43 +00:00
mjl
15e3b4e9bf Correct handling of empty arguments as reported in OpenBSD PR/3146.
While there use strlcpy instead of strncpy and STDOUT_FILENO instead of 1.
2003-03-13 11:57:23 +00:00
grant
b8836fd1a4 New sentence, new line. Some mdoc cleanup. 2002-09-30 09:33:39 +00:00
wiz
aded0d2cce Whitespace cleanup. 2001-12-01 16:43:07 +00:00
garbled
5d095e634b Fix more problems noted in PR 6649 2001-03-07 22:34:35 +00:00
garbled
092307c43c Fix problem noted in PR 6649 (nuke trailing whitespace in .Nm) 2001-03-07 22:32:36 +00:00
cgd
c2bdafab79 use getprogname() 2001-02-20 23:51:59 +00:00
mjl
8f69642d30 getopt(3) returns -1 not EOF.
Add usage().
Un-__P and ANSIfy.
2000-10-04 19:50:52 +00:00
mjl
5200bd03ee Constify tables. Re-fixes PR/6151, whose changes went lost since. 2000-10-04 19:33:16 +00:00
matt
fcd0fb118f Make gcc 2.96 (and maybe earlier) happier. Include <stdlib.h>,<string.>,
etc. as appropriate to get exit,srncmp,abs,abort,etc.
Add -I${.CURDIR} to a few Makefiles
2000-07-03 02:51:12 +00:00
sjg
023a2d6df4 Allow the LPD font to be selected at runtime rather than compile time.
Also added -f fg and -b bg switches to control the fore/back ground
"colors".  One can now do inverse :-)
2000-05-30 12:03:31 +00:00
lukem
8ba07ab0b3 use CPPFLAGS instead of CFLAGS 1997-10-24 09:00:17 +00:00
lukem
80baf83f8c WARNSify, fix .Nm usage 1997-10-18 12:12:38 +00:00
jtc
cbe2365667 Repair broken merge 1995-09-05 18:36:28 +00:00
jtc
48b3014fcb imported from 44lite2 1995-09-02 05:25:56 +00:00
cgd
5d58f7faee clean up RCS Ids, etc. 1995-04-09 06:00:15 +00:00
cgd
b83d704e42 a /usr/bin/banner clone, written by Simon J. Gerraty 1995-04-09 05:53:04 +00:00