Commit Graph

37 Commits

Author SHA1 Message Date
jnemeth
14902917f6 Remove redundant check for end of list wrapping around on itself.
It this were to actually happen, then others parts would go into
infinite loop.  Also, fix KNF.  Found while checking Coverity
CID 3784.
2006-05-26 02:16:17 +00:00
christos
1c2d89173e Coverity CID 2534: Avoid use after free; this cannot really happen, but
coverity cannot figure it out.
2006-05-23 01:16:33 +00:00
xtraeme
3ad824f936 Kill __P(), use ANSI function declarations, constify; WARNS=3 2005-03-16 01:41:20 +00:00
jmmv
cdf47afe60 Remove duplicate include, fixes PR bin/25017 from Jeff Ito. 2004-04-02 09:58:33 +00:00
wiz
a2eb139ce9 getopt still looks for -c (killed long ago)
remove unneeded break; after usage();
From Jeff Ito in PR 23994.
2004-01-06 13:28:20 +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
grant
cacf2d0f45 s/netbsd.org/NetBSD.org/i 2003-11-12 13:31:07 +00:00
itojun
e99b62a1d7 realloc pedant 2003-09-19 06:11:35 +00:00
wiz
c1be448d85 Quote exclamation mark. 2003-06-27 22:53:52 +00:00
itojun
f35cce81c8 strncpy -> strlcpy 2003-05-17 18:51:13 +00:00
wiz
9287b22a99 Fix typo. Spotted by Adrian Mrva. 2002-10-02 15:41:53 +00:00
ross
2a76afae02 Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-08 01:36:18 +00:00
wiz
a2b8af2136 Sort SEE ALSO. 2002-01-19 03:04:20 +00:00
wiz
a0550347cb Xref login 1, not 8. 2001-04-03 11:23:35 +00:00
cgd
25bdbb661e convert to use getprogname() 2001-02-19 23:22:40 +00:00
bjh21
73cc97669f Correct usage message: -p and -d can't usefully be used together. 2000-10-15 13:34:20 +00:00
bjh21
4be95e0e9d Use .Ql where appropriate.
-p and -d are, for practical purposes, mutually exclusive.
2000-10-15 13:32:13 +00:00
ad
8d6bd26624 Let `-' mean stdin. 2000-10-10 14:33:23 +00:00
msaitoh
f6f00e2615 remove extra period in SEE ALL section 2000-07-05 15:45:28 +00:00
cgd
db755e7c76 sweep of my licenses (userland files w/o only my copyright) for
consistency.  (no functional changes)
2000-06-14 17:24:02 +00:00
cgd
d220ca5ba3 fix up NetBSD RCS Ids to match the standard, and the leading comment as
to match as well.  No functional changes.
2000-06-14 06:48:47 +00:00
mrg
f01ad921fa notice "dty" as well as "tty". 1999-10-11 11:44:59 +00:00
garbled
d1407362ba 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:43:46 +00:00
kleink
36443aa874 Need <time.h> for strftime(), localtime() and time() prototypes.
<sys/file.h> and <sys/time.h> are not required, so remove these inclusions.
1998-04-02 11:54:03 +00:00
lukem
0e3b290810 fix .Nx usage (use 1.0 instead of 0.9a, etc), and other minor cleanups 1997-11-24 06:28:50 +00:00
lukem
a210b9277f getopt returns -1 not EOF, deprecate register 1997-10-17 00:12:51 +00:00
lukem
cdede3a245 getopt returns -1 not EOF, deprecate register 1997-10-17 00:12:46 +00:00
lukem
3fbb7cea25 WARNSify 1997-10-16 23:39:17 +00:00
hubertf
c6393b5c9a Fix off-by-one error, closing PR bin/4067 by myself. 1997-10-07 01:24:05 +00:00
mikel
96a22fa65f RCSid police, and eliminate obsolescent comment. 1997-03-06 05:23:00 +00:00
mikel
0bd8d27ab1 merge Lite2 manpage 1997-03-06 05:19:10 +00:00
christos
a63ddeefe6 - kill the -c hack. It does not work properly with virtual consoles anyway.
Implement a better scheme where we `find' the login ttys by looking in
  /etc/ttys. Of course this scheme breaks when /etc/ttys changes, but such
  is life.
- some cleanups...
1996-09-26 19:06:37 +00:00
jtc
c362ae238b Add section number in SEE ALSO; PR #1531 1995-09-27 19:17:27 +00:00
cgd
457aa2b833 specify man pages the new way. 1994-12-22 11:31:31 +00:00
cgd
6d38f791b4 be careful w/strings; from Simon J. Gerraty <sjg@zen.void.oz.au> 1994-05-01 04:39:35 +00:00
cgd
18cbcf5368 kill off-by-one errors that i just noticed 1994-04-25 18:11:32 +00:00
cgd
95768aa451 ac, by Simon J. Gerraty and myself 1994-03-29 12:40:06 +00:00