summaryrefslogtreecommitdiff
path: root/usr.sbin/cron/misc.c
AgeCommit message (Expand)Author
2002-08-08Move closelog() into log_close() function and call that insteadTodd C. Miller
2002-07-15Move atrun(8) functionality into cron(8) proper. This fixes theTodd C. Miller
2002-07-09o Add _PATH_CRON_PID which is built up from PIDDIR and PIDFILE via stringTodd C. Miller
2002-07-08Merge in some changes from Paul Vixie's tree; most are cosmeticTodd C. Miller
2002-05-28Kill an sscanf() in favor of strtol()Todd C. Miller
2002-05-28use %ld (long) for pidTheo de Raadt
2002-05-22Set close-on-exec flag for the socket cron selects on.Todd C. Miller
2002-05-22o avoid stdio in acquire_daemonlock() so we don't leak FILE * memoryTodd C. Miller
2002-05-09allowed() is only called once so there is no need to use staticTodd C. Miller
2002-05-09Missing piece from last commit.Todd C. Miller
2002-05-09Better error handling for in_file(); from OwlTodd C. Miller
2002-05-09crontab is no longer setuid root, it is now setgid crontab.Todd C. Miller
2001-12-12o pids should be pid_t, not intTodd C. Miller
2001-02-20Turn get_gmtoff into a macro for OSes with tm_gmtoff (like OpenBSD).Todd C. Miller
2001-02-19Normalize the time in minutes to GMT so we can really catch DST changesTodd C. Miller
2001-02-18Update to ISC cron 4.0b1 + our patches. This is now under a BSD license.Todd C. Miller
2000-08-21snprintf sprinkles; solar@false.com & ITheo de Raadt
1999-08-06uid_t and gid_t, and use %uTheo de Raadt
1998-07-10do not syslog() with "\n"; skipped smtpd/named/ipmon; 12 minutes of dabblingTheo de Raadt
1998-03-30Y2K fixes from Andreas.Gunnarsson@emw.ericsson.se; culled from various placesTheo de Raadt
1996-12-17use snprintf when storing the string from strerror(). Who knows howTodd C. Miller
1996-11-01Check malloc/strdup ret val and deal.Todd C. Miller
1995-10-18initial import of NetBSD treeTheo de Raadt