summaryrefslogtreecommitdiff
path: root/usr.bin/at/at.c
AgeCommit message (Expand)Author
2007-09-05Change some variables to their proper type size_t.Moritz Jodeit
2007-09-02use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsgTheo de Raadt
2007-06-18Fix typo introduced in seconds parsing. From Tim van der Molen.Todd C. Miller
2007-05-24If century not specified used the current one instead of aassuming 2000.Todd C. Miller
2007-05-23Fix cut and pasto, seconds value is now stored in dot, not p.Todd C. Miller
2007-05-23Set tm_sec to 0 if no seconds were specified by the timespec (-t) arg.Todd C. Miller
2007-05-23Sanity check the time argument specified by the -t argument. SomeTodd C. Miller
2007-03-26indicate that -l takes an optional argument;Jason McIntyre
2006-04-26Cleanup, remove an unused var, use an int to store argc instead of a char,Chad Loder
2006-03-22plug an fd leak and closedir() two directories;Robert Nagy
2005-10-25dont' -> don't in comments;Jason McIntyre
2005-06-23- at(1) synopsis: -r expects a `job' arg, not a timespecJason McIntyre
2004-06-17Remove trailing whitespace and, for printf, uid/gid are unsignedTodd C. Miller
2004-06-03Verify that argc > 0 before trying to use argv and mark usage as __dead.Todd C. Miller
2003-09-26better realloc. ok deraadt@Ted Unangst
2003-07-23Add '\n' to error messages in "atrm" mode.Mike Pechkin
2003-05-04the buffer to getcwd(3) should be PATH_MAX in size, not MAX_FNAMEAnil Madhavapeddy
2003-03-13Stash uid and mode in struct at so we don't need to pass around aTodd C. Miller
2003-03-03Add back fix from 1.32 that was lost in latest syncTodd C. Miller
2003-02-20Sync with ISC cron-current + my at(1) integration.Todd C. Miller
2003-02-18Use the SUN_LEN macro to set sun_len correctlyTodd C. Miller
2003-02-17Missing #include <limits.h>Todd C. Miller
2003-01-02Fix 'at -r' crash.Mike Pechkin
2002-11-20Add missing increment in newjob() when there is a time collision.Todd C. Miller
2002-07-15Move atrun(8) functionality into cron(8) proper. This fixes theTodd C. Miller
2002-05-14Major changes:Todd C. Miller
2002-05-13Execute job with user's shell, not /bin/sh as per POSIX and historicTodd C. Miller
2002-05-13Only print usage for the command that was run (at, atq, atrm, batch), notTodd C. Miller
2002-05-11Pass -Wall and use ANSI function headers.Todd C. Miller
2002-05-11Add POSIX -r and -t flags from FreeBSD. The old -d option is nowTodd C. Miller
2002-05-11Kill -V (version) option since it has no relation to reality any more.Todd C. Miller
2002-05-11Use O_EXCL (not O_TRUNC) when creating new job file. If there is aTodd C. Miller
2002-05-11at(1) is no longer setuid root, it is setgid crontab.Todd C. Miller
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ...Todd C. Miller
2001-01-17remove stdio code from handler, and _exit() at terminationTheo de Raadt
2000-04-23Fix thinko, check eqp for NULL, not ap; ath@algonet.seTodd C. Miller
2000-01-21Deal with getcwd() returning NULL.Todd C. Miller
1999-12-15does not overflowTheo de Raadt
1998-07-09user err/warn; some -WallMichael Shalayeff
1998-06-03zero sigaction before useTheo de Raadt
1997-10-06bail if permission problem; ms@xy.orgTheo de Raadt
1997-06-17(foo *)NULL -> NULLkstailey
1997-06-12The NULL macro yields a null pointer constant that is usable as an addresskstailey
1997-03-03cleanupTodd C. Miller
1997-03-03Give usage message when atq used incorrectly.Todd C. Miller
1997-03-03Complain if invoked in a form that requires an argument and we didn'tTodd C. Miller
1997-03-02Fix up the XXX's I left (oops).Todd C. Miller
1997-03-01Merge in changes from at 2.9Todd C. Miller
1997-01-15getopt(3) returns -1 when out of args, not EOF, whee!Todd C. Miller
1996-10-26Fall back to $USER if getlogin() fails and $LOGNAME is not set.Todd C. Miller