fd7667f619
git-svn-id: svn://svn.openwrt.org/openwrt/packages@17879 3c298f89-4303-0410-b956-a3cf2f4a3e73
12 lines
367 B
Diff
12 lines
367 B
Diff
--- a/logrotate.c
|
|
+++ b/logrotate.c
|
|
@@ -1505,7 +1505,7 @@ static int readState(char *stateFilename
|
|
}
|
|
|
|
/* Hack to hide earlier bug */
|
|
- if ((year != 1900) && (year < 1996 || year > 2100)) {
|
|
+ if ((year != 1900) && (year < 1970 || year > 2100)) {
|
|
message(MESS_ERROR,
|
|
"bad year %d for file %s in state file %s\n", year,
|
|
argv[0], stateFilename);
|