summaryrefslogtreecommitdiff
path: root/usr.bin/newsyslog
AgeCommit message (Expand)Author
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-13remove trailing whitespaceTodd C. Miller
2002-09-13Don't rotate log files < 512 bytes unless in binary mode. ThisTodd C. Miller
2002-09-13Use .Dv for SIGUSR1 like all the other signal names.Todd 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
2001-11-16errno safety in SIGCHLD handlerTheo de Raadt
2001-08-21MLINK to config file man pageTheo de Raadt
2001-08-02o) .Sh AUTHOR -> .Sh AUTHORS;Mike Pechkin
2001-07-09correct type on last arg to execl(); nordin@cse.ogi.eduTheo de Raadt
2001-03-01Remove -t option from getopt() since it doesn't exist; mpech@prosoft.org.lv.Aaron Campbell
2001-01-12various small cleanupsTheo de Raadt
2000-06-30warnx?/errx? paranoia (use "%s" not a bare string unless it is aTodd C. Miller
2000-06-14monitor -> monitormode because some OSes have a monitor(3)Todd C. Miller
2000-06-12Make the flags field truly optional.Todd C. Miller
2000-06-10Increment pl when filling in pidlist. It was just overwriting the firstTodd C. Miller
2000-06-02Explicitly state that newsyslog does not send a HUP to syslogd ifTodd C. Miller
2000-03-10Various cleanups and standardization.Aaron Campbell
2000-03-05Finish standardizing options list introduction.Aaron Campbell
1999-11-11Add support for sending signals other than SIGHUP and optionallyTodd C. Miller
1999-11-09calloc an array of char *, not pid_t (left over from previous implementation).Todd C. Miller
1999-11-09Avoid sending a HUP to a process multiple times. Ie: instead of oneTodd C. Miller
1999-11-07compress_log() now needs to check for noaction != 0Todd C. Miller
1999-11-07Don't send a HUP or compress the log files until _everything_ has beenTodd C. Miller
1999-11-07o Some KNF + consistent indentation for readabilityTodd C. Miller
1999-11-06Back out version 1.21 since it breaks age rotation.Todd C. Miller
1999-11-06back out unwanted private changeTodd C. Miller
1999-11-06Use fchmod instead of chmod and open() instead of creat().Todd C. Miller
1999-10-13age_old_log() now takes an int * as a parameter so it can return -1Todd C. Miller
1999-08-27Replace some strlen with sizeof() - 1.Federico G. Schwindt
1999-07-03remove redundant .Pp macrosAaron Campbell
1999-06-08fewer stringskstailey