2009-10-05 13:28:31 +00:00
|
|
|
--- a/logrotate.c
|
|
|
|
+++ b/logrotate.c
|
|
|
|
@@ -1505,7 +1505,7 @@ static int readState(char *stateFilename
|
2006-08-03 13:50:49 +00:00
|
|
|
}
|
2009-10-05 13:28:31 +00:00
|
|
|
|
2006-08-03 13:50:49 +00:00
|
|
|
/* Hack to hide earlier bug */
|
|
|
|
- if ((year != 1900) && (year < 1996 || year > 2100)) {
|
|
|
|
+ if ((year != 1900) && (year < 1970 || year > 2100)) {
|
2009-10-05 13:28:31 +00:00
|
|
|
message(MESS_ERROR,
|
|
|
|
"bad year %d for file %s in state file %s\n", year,
|
|
|
|
argv[0], stateFilename);
|