aboutsummaryrefslogtreecommitdiffstats
path: root/openwrt/package/logrotate/patches/logrotate-3.7.1-datehack.patch
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt/package/logrotate/patches/logrotate-3.7.1-datehack.patch')
-rw-r--r--openwrt/package/logrotate/patches/logrotate-3.7.1-datehack.patch12
1 files changed, 0 insertions, 12 deletions
diff --git a/openwrt/package/logrotate/patches/logrotate-3.7.1-datehack.patch b/openwrt/package/logrotate/patches/logrotate-3.7.1-datehack.patch
deleted file mode 100644
index 69121aafa9..0000000000
--- a/openwrt/package/logrotate/patches/logrotate-3.7.1-datehack.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -u -ruN logrotate-3.7.1.orig/logrotate.c logrotate-3.7.1/logrotate.c
---- logrotate-3.7.1.orig/logrotate.c 2004-10-19 17:41:24.000000000 -0400
-+++ logrotate-3.7.1/logrotate.c 2005-05-24 12:12:26.000000000 -0400
-@@ -1002,7 +1002,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);
- fclose(f);