summaryrefslogtreecommitdiff
path: root/usr.bin/at/at.c
AgeCommit message (Expand)Author
2015-08-20Do not cast result of malloc/calloc/realloc* if stdlib.h is in scopeTheo de Raadt
2014-10-08userland reallocarray audit.Doug Hogan
2014-09-29When setting environment variables in the atrun script, use theTodd C. Miller
2013-11-25variety of unsigned char casts (or conversions) for ctypeTheo de Raadt
2013-04-17Adapt cron and at for future large time_t and tv_sec types. These were someTheo de Raadt
2011-08-30Same fix as 'touch': with the -t option, when the year is specifiedPhilip Guenthe
2011-08-23Use standard EXIT_SUCCESS/EXIT_FAILURE and STD{IN,OUT,ERR}_FILENOTodd C. Miller
2011-03-03Use dirfd() instead of peeking into struct dirent for dd_fd, which isTodd C. Miller
2010-07-02'wether' -> 'whether' typo in license text.Kenneth R Westerback
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2009-10-05open the -f inputfile before letting lower-down functions call chdir()Theo de Raadt
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