2b329fc732
rotated - Raise portrevision PR: ports/67978 Submitted by: Balázs Nagy <js@iksz.hu> (maintainer)
25 lines
702 B
Text
25 lines
702 B
Text
diff -ruN logrotate-3.7-orig/config.c logrotate-3.7/config.c
|
|
--- logrotate-3.7-orig/config.c Mon Sep 22 21:11:12 2003
|
|
+++ logrotate-3.7/config.c Mon May 24 08:09:39 2004
|
|
@@ -1,4 +1,3 @@
|
|
-#include <alloca.h>
|
|
#include <ctype.h>
|
|
#include <dirent.h>
|
|
#include <errno.h>
|
|
diff -ruN logrotate-3.7-orig/logrotate.c logrotate-3.7/logrotate.c
|
|
--- logrotate-3.7-orig/logrotate.c Thu Feb 5 19:42:13 2004
|
|
+++ logrotate-3.7/logrotate.c Tue Jun 15 17:35:48 2004
|
|
@@ -1,4 +1,3 @@
|
|
-#include <alloca.h>
|
|
#include <ctype.h>
|
|
#include <dirent.h>
|
|
#include <errno.h>
|
|
@@ -110,7 +109,7 @@
|
|
close(fd);
|
|
|
|
if (!fork()) {
|
|
- execlp(filespec, logfn, NULL);
|
|
+ execlp(filespec, filespec, logfn, NULL);
|
|
exit(1);
|
|
}
|
|
|