Age | Commit message (Collapse) | Author | |
---|---|---|---|
1999-11-07 | o Some KNF + consistent indentation for readability | Todd C. Miller | |
o When pid file cannot be opened give a sensible warning o Use fchmod when we can o Check more return values o Use uid_t/gid_t when sensible o When computing kbytes from blocks do so in such a way that is not likely to cause wrap. o Sanity check path lengths to avoid chance of oflow | |||
1999-11-06 | Back out version 1.21 since it breaks age rotation. | Todd C. Miller | |
1999-11-06 | back out unwanted private change | Todd C. Miller | |
1999-11-06 | Use fchmod instead of chmod and open() instead of creat(). | Todd C. Miller | |
1999-10-13 | age_old_log() now takes an int * as a parameter so it can return -1 | Todd C. Miller | |
on failure w/o the caller thinking the difference in mtime is -1. Just set modtime to 0 in this case in the caller which effectively ignores it. This fixes a problem where if there was now foo.0 file newsyslog would rotate an empty file. | |||
1999-08-27 | Replace some strlen with sizeof() - 1. | Federico G. Schwindt | |
Don't forget to malloc space for newline. Suggested by aazubel@cnba.uba.ar; ok millert@ | |||
1999-06-08 | fewer strings | kstailey | |
1999-03-08 | numlogs cannot be negative; karls@inet.no | Todd C. Miller | |
1999-01-05 | do not concern ourselves with MAX_PID | Theo de Raadt | |
1999-01-04 | MIN_PID should be 4 since update is proc 3 now | Todd C. Miller | |
1998-12-28 | crank PID_MAX to 99999 | Theo de Raadt | |
1998-09-24 | Add optional support for pid files other than /var/run/syslog.pid | Todd C. Miller | |
Useful for rotating httpd logs. | |||
1998-04-25 | be more verbose on errors. | Michael Shalayeff | |
one typo in fchown error msg | |||
1997-07-10 | NULL | kstailey | |
1997-07-08 | err()/warn() | Jason Downs | |
1997-07-07 | Add rudimentary logfile monitoring capabilities; enable by placing an 'M' | Jason Downs | |
in the flags field, followed by the username to be notified in an additional (optional, based on the presence of 'M' in flags) field. Man page to follow... | |||
1997-04-27 | Prototype fixes and cruft removal. | Jason Downs | |
1997-01-15 | getopt(3) returns -1 when out of args, not EOF, whee! | Todd C. Miller | |
1996-12-07 | increase buf sizes, hacked w/ bitblt | Theo de Raadt | |
1996-09-02 | Save the log file if the original number of days was > 0; don't rely on | Thorsten Lockert | |
being able to use numdays after aging the existing logfiles | |||
1996-08-31 | do ngen == 0 correctly; netbsd pr#2724; kstailey@dol-esa.gov | Theo de Raadt | |
1996-07-22 | rcsid cleanup | Theo de Raadt | |
1996-06-26 | rcsid | Theo de Raadt | |
1996-01-07 | date formatting glitch; from kashmir@umiacs.UMD.EDU; netbsd pr#1906 | Theo de Raadt | |
1995-10-18 | initial import of NetBSD tree | Theo de Raadt | |