Commit Graph

32 Commits

Author SHA1 Message Date
mrg 684b182f81 compare pointers with NULL not '\0'. 2019-02-01 08:29:03 +00:00
wiz 01869ca4d2 Remove workaround for ancient HTML generation code. 2017-07-03 21:28:48 +00:00
joerg 7e47a1209f Use __dead 2011-08-29 14:24:03 +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
peter e257b1a30b Clean up by using basename(3) from libc. 2005-04-04 16:47:54 +00:00
xtraeme 971b39df9c Kill __P(), use ANSI function declarations. 2005-02-17 16:53:45 +00:00
xtraeme 4ed1105b0d WARNS=3 2005-01-12 14:45:26 +00:00
kleink cf0446b4df Add Xrefs to basename(3), dirname(3). 2003-09-06 20:56:40 +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
ross 2a76afae02 Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-08 01:36:18 +00:00
wiz 5d2a72968c Sort sections. 2001-12-01 17:18:38 +00:00
wiz aded0d2cce Whitespace cleanup. 2001-12-01 16:43:07 +00:00
kleink 4918722a89 For commands and utilities, use EXIT STATUS rather than RETURN VALUES or
DIAGNOSTICS as appropriate (and documented in mdoc(7)).
2000-09-04 07:35:15 +00:00
msaitoh 6783bd9fb9 Add ".Sh DIAGNOSTICS" 1997-11-15 20:16:16 +00:00
lukem 80baf83f8c WARNSify, fix .Nm usage 1997-10-18 12:12:38 +00:00
jtc f8c5f00b42 Sync with 4.4lite2 1995-09-02 05:29:46 +00:00
glass 82c5b89eb1 new rcsid format 1995-03-25 18:17:38 +00:00
jtc 756e728be0 Remove description of old, pre-POSIX behavior wrt. suffixes. 1994-09-26 23:57:17 +00:00
mycroft 9edd7e3388 Fix ugly C style. 1994-09-26 06:01:10 +00:00
glass e02859683e updated to reflect local changes 1994-09-26 01:57:07 +00:00
jtc e04c8e0705 Fix spelling errors. 1994-01-11 02:10:48 +00:00
jtc 2f96f1561b As of POSIX.2, getopt returns -1 instead of EOF on error. Changed the code
to match just in case someone changes the value of EOF.
1993-11-19 19:58:46 +00:00
jtc 78fc17bf42 Fix grammar error. 1993-10-01 22:42:23 +00:00
jtc 4bbb2333ff Added setlocale(LC_ALL, "") --- all POSIX.2 utilities are supposed to
do this --- although this won't change the behavior of this utility
until we have message catalogs implemented.
Pass through FlexeLint.
1993-10-01 22:41:28 +00:00
jtc f7c6bf575a Minor tweaks: including header files to bring prototypes into scope,
explicitly declaring function return values, etc. to make gcc -Wall
shut up.
1993-08-27 22:30:10 +00:00
jtc 0942acadf0 Document that utility now conforms to IEEE 1003.2-1992. 1993-08-19 17:16:39 +00:00
jtc b71c2887f2 Document the fact that basename and dirname conform to 1003.2-1992.
Remove description of old, pre-POSIX behavior wrt. suffixes.
1993-08-16 22:03:50 +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