You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-admin/logrotate/files/logrotate-3.8.7-datehack.patch

13 lines
437 B

diff -Nuar a/logrotate.c b/logrotate.c
--- a/logrotate.c 2013-10-10 10:43:36.000000000 +0200
+++ b/logrotate.c 2013-10-26 17:56:06.549999428 +0200
@@ -2046,7 +2046,7 @@
}
/* 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);