summaryrefslogtreecommitdiff
path: root/usr.bin/newsyslog/newsyslog.c
AgeCommit message (Expand)Author
2010-07-24Include pid file name in error message for a failed kill(). Prompted byNicholas Marriott
2010-03-20The newsyslog(8) utility used to keep one archived log file more thanIngo Schwarze
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2009-09-10Correct error message when fclose() fails. From Brian Poole.Todd C. Miller
2007-03-20remove some bogus *p tests from charles longeauTed Unangst
2006-12-11rfc 3834 support: Auto-Submitted: auto-generated on lots of things; from Tama...Theo de Raadt
2004-09-14ARGSUSED before signal handler with unused signoTheo de Raadt
2004-07-11Make newsyslog(8) deal correctly with a count of 0 in newsyslog.conf.Todd C. Miller
2004-05-10prettyTheo de Raadt
2004-04-09If no user/group is specified for the log file in newsyslog.conf,Todd C. Miller
2004-04-06Set mode and ownership when renaming file -> file.0 like we do whenTodd C. Miller
2004-04-05o use mode_t, not int for permissions.Todd C. Miller
2003-12-16Avoid segmentation fault when empty commands are specified in theOtto Moerbeek
2003-07-25When parser_file() fails, print correct line number.Mike Pechkin
2003-07-01Add support for -a dirs on different filesystems.Todd C. Miller
2003-06-26more proto fixesTheo de Raadt
2003-06-17Sync with share/misc/license.template and add missing DARPA creditTodd C. Miller
2003-06-10Whoops, <= 0 should be < 0. Problem noticed by marc@Todd C. Miller
2003-06-09o replace remaining strtoul() with strtol() and check for < 0Todd C. Miller
2003-06-09Use strtol() not strtoul() so we can detect a negative number in a pid file.Todd C. Miller
2003-06-09Need to include time.h to get ctime() proto.Todd C. Miller
2003-06-03terms 3 & 4 cleanup based on "terms" fileTheo de Raadt
2003-06-03Use an ISC-tyle license for all my code; it is simpler and more permissive.Todd C. Miller
2003-05-15From Brian PooleTodd C. Miller
2003-04-25check asprintf return value for error, as the pointer is not guaranteedPeter Valchev
2003-02-12Add support for rotating files at a specific time; from FreeBSDTodd C. Miller
2003-01-25it is 2003 nowTodd C. Miller
2003-01-25Move parsing of the monitor notification user with the rest of theTodd C. Miller
2002-12-23Display offending line number in error messages.Todd C. Miller
2002-11-27typo; Tor HoughtonTodd C. Miller
2002-11-07Sigh, sizes are in KB, not bytes, which made the cutoff size forTodd C. Miller
2002-09-21When rotating files or checking the age of a file, check for bothTodd C. Miller
2002-09-19Deal with someone specifying an empty string for the command to runTodd C. Miller
2002-09-19Fix long-standing bug. When specifying a command to run instead of sendingTodd C. Miller
2002-09-19Since isspace() considers \n to be a space we need to check for startTodd C. Miller
2002-09-17Allow user to restrict logs to be rotated by specifying pathnames onTodd C. Miller
2002-09-17Add -F (force) flag; inspired by FreeBSDTodd C. Miller
2002-09-17Add -a flag to specify a directory to store archived logs. Based onTodd C. Miller
2002-09-16o Remove "NONE" #define and check uid_t and gid_t against -1 with proper castsTodd C. Miller
2002-09-13Don't rotate log files < 512 bytes unless in binary mode. ThisTodd C. Miller
2002-09-13KNF + ANSI; deraadt@ OKTodd C. Miller
2002-09-12add missing include of limits.hTodd C. Miller
2002-08-12Swap args to calloc(3) so they are in the correct order; art@ ok.Aaron Campbell
2002-06-26Don't follow symbolic links for (ie. user-owned) log files by default;Wilbern Cobb
2002-06-12a real pid_t cleanup.Mike Pechkin
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ...Todd C. Miller
2001-11-27Fix uninitialized variable introduced in rev 1.40; found by lebel@Todd C. Miller
2001-11-24handle NL terminated pid files correctly, OK deraadt@Marco S Hyman
2001-11-23greater care at reading pidfiles; millert okTheo de Raadt
2001-11-19kill more registersMike Pechkin