summaryrefslogtreecommitdiff
path: root/usr.bin/newsyslog/newsyslog.c
AgeCommit message (Expand)Author
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
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-06-08fewer stringskstailey
1999-03-08numlogs cannot be negative; karls@inet.noTodd C. Miller
1999-01-05do not concern ourselves with MAX_PIDTheo de Raadt
1999-01-04MIN_PID should be 4 since update is proc 3 nowTodd C. Miller
1998-12-28crank PID_MAX to 99999Theo de Raadt
1998-09-24Add optional support for pid files other than /var/run/syslog.pidTodd C. Miller
1998-04-25be more verbose on errors.Michael Shalayeff
1997-07-10NULLkstailey
1997-07-08err()/warn()Jason Downs
1997-07-07Add rudimentary logfile monitoring capabilities; enable by placing an 'M'Jason Downs
1997-04-27Prototype fixes and cruft removal.Jason Downs
1997-01-15getopt(3) returns -1 when out of args, not EOF, whee!Todd C. Miller
1996-12-07increase buf sizes, hacked w/ bitbltTheo de Raadt
1996-09-02Save the log file if the original number of days was > 0; don't rely onThorsten Lockert
1996-08-31do ngen == 0 correctly; netbsd pr#2724; kstailey@dol-esa.govTheo de Raadt
1996-07-22rcsid cleanupTheo de Raadt
1996-06-26rcsidTheo de Raadt
1996-01-07date formatting glitch; from kashmir@umiacs.UMD.EDU; netbsd pr#1906Theo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt