diff options
Diffstat (limited to 'app-admin/logrotate/files/logrotate-3.8.3-datehack.patch')
-rw-r--r-- | app-admin/logrotate/files/logrotate-3.8.3-datehack.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/app-admin/logrotate/files/logrotate-3.8.3-datehack.patch b/app-admin/logrotate/files/logrotate-3.8.3-datehack.patch new file mode 100644 index 000000000000..9d6e5f015d84 --- /dev/null +++ b/app-admin/logrotate/files/logrotate-3.8.3-datehack.patch @@ -0,0 +1,12 @@ +diff -Nur a/logrotate.c b/logrotate.c +--- a/logrotate.c 2012-10-04 09:59:14.000000000 +0200 ++++ b/logrotate.c 2012-11-09 20:50:01.659874980 +0100 +@@ -1832,7 +1832,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); |