simonb
31ca042232
Revert parsedate(3) XXX as per discussion with kre@.
2021-04-03 04:33:08 +00:00
simonb
58fb9c9aea
Add an XXX reminder to convert at(1) to use parsedate(3) in <util.h>.
2021-04-02 06:31:53 +00:00
dholland
d9047ae69b
Use functions instead of preprocessor abuse.
2016-03-13 00:32:09 +00:00
joerg
7e47a1209f
Use __dead
2011-08-29 14:24:03 +00:00
christos
856f19c27d
Provide a consistent date/time format instead of a
...
locale-specific one that might have 2 digit years
2011-08-14 13:41:17 +00:00
christos
b88895de6f
PR/44147: Henning Petersen: Add missing closedir calls.
2010-11-24 17:40:41 +00:00
lukem
0449f26fed
fix -Wsign-compare issues
2009-01-18 01:02:41 +00:00
christos
5f256bd3f7
Style cleanups from Anon Ymous
2008-04-05 16:26:57 +00:00
lukem
db822d2217
Convert to using raise_default_signal(3).
2007-10-05 07:22:23 +00:00
lukem
2c1030d08e
Attempt to raise the default signal handler (SIG_DFL) when exiting because
...
of a signal, rather than just relying upon exit(3).
2007-07-18 01:13:42 +00:00
lukem
a93b9bed51
Remove duplicate printing of program name in panic().
...
Remove now-unnecessary global variable "namep".
2007-07-18 01:06:08 +00:00
phil
4617d0a2bf
Kill NULL deref (CID: 871)
...
Plug fd leak (not caught by coverity).
2006-03-21 21:59:56 +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
itojun
8fcb6ec6c6
use strlcpy to ensure string termination
2002-11-16 04:31:15 +00:00
christos
f016a80baf
don't include utmp.h
2002-08-01 22:39:14 +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
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
mjl
23d5769e34
Correct wrong variable being tested in env parsing loop. Fixes
...
OpenBSD PR/1206.
2000-04-23 18:11:21 +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
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
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
mrg
2ba96e4833
remove dangerous sprintf calls.
1997-02-11 08:18:32 +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
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