1
Index: logrotate-3.7.8/config.c
2
===================================================================
3
--- logrotate-3.7.8.orig/config.c 2010-03-16 09:34:08.254007417 +0000
4
+++ logrotate-3.7.8/config.c 2010-03-16 09:42:32.434009264 +0000
8
} else if (*start == '\n') {
10
+ while (isspace(*start) && (*start)) {
16
+ (strncmp(start, "postrotate", 10) == 0) ||
17
+ (strncmp(start, "prerotate", 9) == 0) ||
18
+ (strncmp(start, "firstrotate", 11) == 0) ||
19
+ (strncmp(start, "lastrotate", 10) == 0)
23
+ while ((*start != '\n') && (*start))
25
+ while (isspace(*start) && (*start)) {
30
+ if (strncmp(start, "endscript", 9) == 0) {