Commit Graph

20 Commits

Author SHA1 Message Date
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
itojun f35cce81c8 strncpy -> strlcpy 2003-05-17 18:51:13 +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
ad 8d6bd26624 Let `-' mean stdin. 2000-10-10 14:33:23 +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
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 a210b9277f getopt returns -1 not EOF, deprecate register 1997-10-17 00:12:51 +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
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
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