diff options
author | Chris D. Faulhaber <jedgar@FreeBSD.org> | 1999-12-30 12:35:51 +0000 |
---|---|---|
committer | Chris D. Faulhaber <jedgar@FreeBSD.org> | 1999-12-30 12:35:51 +0000 |
commit | d4767b5f68213545e48428358a2bde2fb94c00dd (patch) | |
tree | ff6fc1b9291d73ca4ecf6885d1a93228c05e06d6 /sysutils/logrotate/files/patch-ac | |
parent | popt is an enhanced getopt(3)-style command line option parsing library. (diff) |
Logrotate is a system utility that rotates, compresses, removes and mails
system log files
PR: 15759
Submitted by: Yuan-Chen Cheng <ycheng@ml.tw.freebsd.org>
Notes
Notes:
svn path=/head/; revision=24288
Diffstat (limited to 'sysutils/logrotate/files/patch-ac')
-rw-r--r-- | sysutils/logrotate/files/patch-ac | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/sysutils/logrotate/files/patch-ac b/sysutils/logrotate/files/patch-ac new file mode 100644 index 000000000000..1c3ca0adb866 --- /dev/null +++ b/sysutils/logrotate/files/patch-ac @@ -0,0 +1,22 @@ +--- logrotate.c.orig Thu Jun 17 04:37:19 1999 ++++ logrotate.c Wed Dec 29 11:31:57 1999 +@@ -1,9 +1,7 @@ +-#include <alloca.h> + #include <ctype.h> + #include <dirent.h> + #include <errno.h> + #include <fcntl.h> +-#include <getopt.h> + #include <popt.h> + #include <stdio.h> + #include <stdlib.h> +@@ -457,6 +455,9 @@ + hasErrors = 1; + } + } ++ ++ message(MESS_DEBUG, "sleep 10 to wait daemon close log\n"); ++ sleep(10); + + if (!hasErrors && !log->rotateCount) { + message(MESS_DEBUG, "removing rotated log (rotateCount == 0)"); |