Commit Graph

58 Commits

Author SHA1 Message Date
xtraeme
971b39df9c Kill __P(), use ANSI function declarations. 2005-02-17 16:53:45 +00:00
dsl
ee9ce6e95c Add (unsigned char) cast to ctype functions
Make 'queue' and 'atqueue' unsigned char.
2004-10-30 16:55:06 +00:00
wiz
625282a3e9 Sync usage with man page. Closes PR 26191 by Kouichirou Hiratsuka. 2004-07-09 11:33:13 +00:00
wiz
ee573c8cac Sort options, bump date. 2004-07-09 11:29:15 +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
wiz
1dbb52e92c Fix typos, from Jared Yanovich. Forwarded by jmc@openbsd. 2003-10-21 09:03:25 +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
salo
0f5a0c156d netbsd.org->NetBSD.org 2003-07-26 20:34:11 +00:00
wiz
990562bfef .Nm does not need a dummy argument ("") before punctuation or
for correct formatting of the SYNOPSIS any longer.
2003-02-25 10:34:36 +00:00
perry
1f4ad37fe3 "Utilize" has exactly the same meaning as "use," but it is more
difficult to read and understand. Most manuals of English style
therefore say that you should use "use".
2003-02-05 00:02:24 +00:00
itojun
8fcb6ec6c6 use strlcpy to ensure string termination 2002-11-16 04:31:15 +00:00
grant
be8ae688ae New sentence, new line. 2002-09-30 11:08:56 +00:00
christos
f016a80baf don't include utmp.h 2002-08-01 22:39:14 +00:00
wiz
4b20971f01 Spell acquire with a 'c'. 2002-07-10 23:16:32 +00:00
ross
2a76afae02 Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-08 01:36:18 +00:00
wiz
862fdf44d8 Sort SEE ALSO, drop some whitespace, and sort sections. 2001-10-17 22:09:55 +00:00
lukem
279552d3db fix up various .Nm abuses:
- keep the case consistent between the actual name and what's referenced.
  e.g, if it's `foo', don't use '.Nm Foo' at the start of a sentence.
- remove unnecessary `.Nm foo' after the first occurrence (except for
  using `.Nm ""' if there's stuff following, or for the 2nd and so on
  occurrences in a SYNOPSIS
- use Sx, Ic, Li, Em, Sq, and Xr as appropriate
2000-11-07 06:43:24 +00:00
bjh21
8a158ab667 Fix the date stamp 2000-10-15 15:44:03 +00:00
bjh21
e6ab0a31d4 Be optimistic about POSIX 2000-10-15 15:41:53 +00:00
bjh21
5cb0a986bd Fix RCSID 2000-10-15 15:33:46 +00:00
kleink
ae9d978655 Add support for the 1003.2-92 -t option to at(1) using which the time may be
specified in a language-neutral way.  For symmetry, extend this to the
batch(1) front-end as well.  Addresses PR standards/11205.
2000-10-15 14:51:14 +00:00
mjl
9ff98d4d50 Un-__P and ANSIfy. 2000-10-04 19:24:59 +00:00
mjl
277079480a Correct typo in comment.
Use errx instead of printf/exit.
Sort headers alphabetically.
2000-10-04 19:14:53 +00:00
msaitoh
f6f00e2615 remove extra period in SEE ALL section 2000-07-05 15:45:28 +00:00
simonb
3fbb9cf79f Use LOGIN_NAME_MAX for checking username length, not something based
on UT_NAMESIZE, also saves a call to getpwnam() and getpwuid() in
most cases.  Size columns correctly so output of atq lines up neatly.
Mostly de-lint.

Fixes PR bin/1489 from David Gilbert, among other things.
2000-06-25 13:35:48 +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
mjl
23d5769e34 Correct wrong variable being tested in env parsing loop. Fixes
OpenBSD PR/1206.
2000-04-23 18:11:21 +00:00
tron
ca8245133c Add timebase (1900 years) to system time before passing it to date time
parser. Fixes PR y2k/9122 by Lars-Johan Liman.
2000-01-06 00:44:09 +00:00
tron
4c5ce0e4da Unix system time starts in 1970 and not in 1969. 2000-01-06 00:34:38 +00:00
jwise
a974606cce Add a flag -r' synonymous to -d' for compatibility with X/OPEN at. 1999-05-22 05:05:11 +00:00
ross
ba7f3d913b Fix missing and misplaced .El's. 1999-03-09 02:41:39 +00:00
mycroft
401fdd3324 Compress the SYNOPSIS section. 1999-03-07 10:14:09 +00:00
mrg
7750ecc1f3 KNF nits. 1999-01-31 09:30:31 +00:00
tv
8cfe18e8d3 Add CWARNFLAGS+=-Wno-format-y2k. 1998-08-25 15:13:16 +00:00
ross
66fcc15333 Kill the CFLAGS+=-Wno-format-y2k; see the log message for bin/ps/Makefile 1998-08-25 07:44:16 +00:00
tv
19bef08688 This needs strftime()'s %y; use -Wno-format-y2k. 1998-08-21 19:39:41 +00:00
mycroft
f9f7e98dab const poisoning. 1998-07-27 07:41:31 +00:00
christos
ce0c0e020f Merge in changes from OpenBSD; adds support for at.allow and at.deny, plus
fixes a lot of bugs.
1998-06-27 21:15:07 +00:00
mrg
3be88801d3 fix previous another way. 1998-06-26 08:28:20 +00:00
mrg
e1a1cc165d move REDUCE_PRIV [always remain uid0] to after when "infile" specified by
"at -f file" so that opening this file is done with the users uid, not 0.
problem noted in PR#5658 from Wolfgang Rupprecht <wolfgang@wsrcc.com>.
1998-06-26 07:04:00 +00:00
mrg
3f7e264c37 use static int instead of static 1998-03-30 02:19:02 +00:00
christos
e98b84beb5 Y2K fixes... 1998-02-04 15:16:29 +00:00
lukem
8ebe3a25b5 getopt returns -1 not EOF 1997-10-18 12:23:21 +00:00
lukem
7cb59a4b6c WARNSify, fix .Nm usage 1997-10-18 12:04:01 +00:00
phil
84d2fe3f1c Correct 12am and 12pm to be midnight and noon resprectively.
Patch from PR 1743.
1997-07-18 01:09:48 +00:00
mrg
2ba96e4833 remove dangerous sprintf calls. 1997-02-11 08:18:32 +00:00
christos
ca282f350d Fix minor nits that prevented this to compile with a non ansi compiler. 1996-06-28 17:07:39 +00:00
glass
5c84ea4df9 new rcsid format 1995-03-25 18:04:51 +00:00
cgd
fed2601086 fix a security hole, reported by T. Newsham <newsham@wiliki.eng.hawaii.edu> 1995-03-02 21:33:13 +00:00