diff options
Diffstat (limited to 'patches/logrotate-3.7.1/uncompressChild-warning.patch')
-rw-r--r-- | patches/logrotate-3.7.1/uncompressChild-warning.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/patches/logrotate-3.7.1/uncompressChild-warning.patch b/patches/logrotate-3.7.1/uncompressChild-warning.patch new file mode 100644 index 000000000..b8fde6e69 --- /dev/null +++ b/patches/logrotate-3.7.1/uncompressChild-warning.patch @@ -0,0 +1,13 @@ +Index: logrotate-3.7.1/logrotate.c +=================================================================== +--- logrotate-3.7.1.orig/logrotate.c 2006-04-08 22:58:51.000000000 +0100 ++++ logrotate-3.7.1/logrotate.c 2006-04-08 23:01:00.459602124 +0100 +@@ -209,7 +209,7 @@ + static int mailLog(char * logFile, char * mailCommand, char * uncompressCommand, + char * address, char * subject) { + int mailInput; +- pid_t mailChild, uncompressChild; ++ pid_t mailChild, uncompressChild=-1; + int mailStatus, uncompressStatus; + int uncompressPipe[2]; + char * mailArgv[] = { mailCommand, "-s", subject, address, NULL }; |