summaryrefslogtreecommitdiff
blob: c023cba0b7a5099da26a17081111567fd03ef8e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff --exclude-from=/home/dang/.scripts/diffrc -up -ruN logrotate-3.7.7.orig/logrotate.c logrotate-3.7.7/logrotate.c
--- logrotate-3.7.7.orig/logrotate.c	2008-05-14 06:31:35.000000000 -0400
+++ logrotate-3.7.7/logrotate.c	2008-12-23 11:09:09.000000000 -0500
@@ -1443,7 +1443,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);