Commit Graph

34 Commits

Author SHA1 Message Date
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
jtc 460277ffdb Spell SYNOPSIS correctly. 1995-01-21 21:50:37 +00:00
jtc 3a08d567f4 Misc manpages fixes (PR #551) 1994-11-03 15:37:46 +00:00
cgd a13388c78e kill setreuids 1994-04-16 03:41:59 +00:00
cgd 8c2c34be83 one fix from Javier Martin Rueda <jmrueda@diatel.upm.es>, and one
from me.
1994-03-08 23:49:19 +00:00
jtc 42f840d29d Fix spelling error in Copyright notice 1994-01-29 01:43:03 +00:00
jtc e04c8e0705 Fix spelling errors. 1994-01-11 02:10:48 +00:00
cgd 2f30f0fdf0 two fixes from thomas@mathematik.uni-Bremen.de (bug bin/37):
create the lock file with a non-random mode
	make sure the lock struct is properly initialized.
1993-12-06 04:10:42 +00:00
cgd 940867e342 add at, by Thomas Koenig, ig25@rz.uni-karlsruhe.de 1993-12-05 11:34:40 +00:00