Commit Graph

21 Commits

Author SHA1 Message Date
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