summaryrefslogtreecommitdiffstats
path: root/usr.sbin/newsyslog
Commit message (Collapse)AuthorAgeFilesLines
* Added function prototypes and removed in-line prototypes of standardalex1996-06-081-27/+37
| | | | functions such as malloc and time.
* Fix uninitialized variable that caused a core dump if /etc/newsyslog.confalex1996-06-071-2/+2
| | | | | | was empty. Closes PR bin/1300. Found by: Brian Tao <taob@io.org>
* Submitted by: charnier@lirmm.fr (Philippe Charnier)graichen1996-01-162-82/+51
| | | | | | | | 1) correct MAX_PID according to system definition. 2) replace fprintf(stderr,...)/perror/exit by 4.4 equivalence. 3) make strings enough larger so they can't overflow: MAXHOSTNAMELEN for host and MAXPATHLEN for filenames. 4) call execl with correct parameters (compress -> gzip).
* Obtained from: NetBSD (PR#1906)graichen1996-01-091-4/+4
| | | | removed date formatting glitch in newsyslog
* Obtained from: NetBSDgraichen1996-01-053-0/+751
imported the newsyslog command from NetBSD - it make the "rotation" of the logfiles much simpler (it is currently done by "hand" in the /etc/[daily,weekly,monthly] scripts) - now it will be done by invoking newsyslog every hour which is very customizable via a /etc/newsyslog.conf file
OpenPOWER on IntegriCloud