summaryrefslogtreecommitdiffstats
path: root/usr.sbin/newsyslog/newsyslog.c
Commit message (Expand)AuthorAgeFilesLines
* Don't consider non-existence of a PID file an error, we should be abledelphij2009-12-211-1/+12
* Fix two typos.delphij2008-01-301-2/+2
* Use same signedness for i and matched_c. This should makedelphij2006-08-171-1/+2
* Remove mention of the `W' flag, which has been turned to no-op by thesobomax2006-07-211-3/+1
* Remove the last three calls to strncpy(), two of which would havegad2006-06-271-6/+6
* Remove the "oldorder" processing. The "neworder" processing hasgad2006-06-271-250/+16
* Improve error-handling related to the fork() done to compress files aftergad2006-01-201-15/+38
* Fix logic error which causes <null> to be printed instead of thesobomax2005-12-011-1/+1
* Add the -N option to not rotate any files. This is to be used inbrooks2005-03-031-3/+13
* Because the `permission' field in conf_entry is intended to be used asdelphij2005-01-041-1/+1
* Mention "-d directory" in usage().brooks2004-10-061-1/+1
* Don't prepend the directory specified by -d when the file is a relativebrooks2004-10-051-1/+1
* Add a new -d argument which is used to specify an alternate root for logbrooks2004-10-041-2/+9
* Nothing says that /var/log can't be not a directory but a symbolic linksobomax2004-07-041-2/+2
* Fix the format-string in a call to err(). It was causing a warning ifgad2004-06-201-1/+1
* Fix the check for a "duplicate filename to compress", so that we're checkinggad2004-06-191-1/+1
* Switch to using the "neworder" for rotating log files, by default. Thegad2004-06-121-1/+9
* Add an "oldorder" option, so that when the default changes to "neworder",gad2004-06-071-0/+8
* In "neworder" processing, reduce the delay between signals to separategad2004-06-071-10/+38
* Major re-ordering of the steps that newsyslog will use when processinggad2004-06-071-0/+425
* A variety of minor changes. Allow users to set a debugging option viagad2004-06-071-67/+120
* Style-istic fix to a number of #define's that were not followed by a tab...gad2004-06-031-16/+16
* Add a 'D' flag that can be specified on entries in newsyslog.conf.gad2004-06-031-0/+32
* Change standard processing to use the newer createlog() routinegad2004-06-031-56/+33
* Improved versions of the is*ch() and tolowerch() macros that I like to use.gad2004-06-021-7/+7
* When rotating some "blah.log" file, make sure that a chmod andgad2004-06-021-13/+14
* Do not :-terminate err(3) string, one will be added anyway.charnier2004-04-041-1/+1
* Restructure the time processing routines, mainly to fix up thegad2003-09-231-41/+96
* Move the parse8601 and parseDWM routines into a new ptime.c file. Thegad2003-09-121-219/+4
* Switch dotrim() to take advantage of the 'struct conf_entry' thatgad2003-09-091-33/+36
* Reduce the annoying compiler warnings that pop up when compiling withgad2003-09-091-9/+9
* Correct the comment about which timezone-change loses an hour...gad2003-09-091-2/+2
* Add a '-D <something>' command line arg, which can be used to setgad2003-09-091-3/+57
* Use strtol() instead of strtoul() in parse8601, so we can detectgad2003-09-091-17/+17
* Fix typo in the previous commit. Was checking wrong variable...gad2003-09-091-1/+1
* Change parse8601 and parseDWM so they return an alternate error valuegad2003-09-091-14/+29
* Cosmetic change to move parse8601 right next to parseDWM. No codegad2003-09-091-86/+86
* When checking the 'user:group' field in newsyslog.conf, freebsd's sourcegad2003-08-191-2/+14
* Fix an 'bad file descriptor' error which would come up when usinggad2003-08-021-1/+0
* Fix age_old_log checking so that it will notice log files which weregad2003-05-051-4/+19
* Slightly improve the checking of the 'size' field, so people will getgad2003-05-051-2/+8
* Use __FBSDID over rcsid[]. Protect copyright[] where needed.obrien2003-05-031-4/+2
* Add a -C (create) option for newsyslog, and a 'C' flag for entries in thegad2003-04-271-18/+169
* Fix interactions between entries for a specific file vs entries forgad2003-03-091-62/+177
* The processing of files given on the command-line will work a little bettergad2003-03-091-1/+1
* Add a config-file flag of 'U' or 'u' to indicate that the pid-filegad2003-03-081-46/+115
* Prefix all -n (noaction) "unix cmds" with tab, thus making it much easiergad2003-03-071-19/+24
* Move the -s (nosignal) processing, as newsyslog needs to print out agad2003-03-071-11/+14
* Add missing 'static' on two routines, so they match their declarations.gad2003-03-031-2/+2
* A variety of cosmetic changes, mostly to (slightly) reduce diffs withgad2003-03-031-29/+29
OpenPOWER on IntegriCloud