From 1fa1dadaa96e11c23c30f0a5180cfbc360f055f7 Mon Sep 17 00:00:00 2001 From: florian Date: Wed, 15 Feb 2006 15:36:28 +0000 Subject: =?UTF-8?q?Added=20logrotate,=20fixed=20CP=20call=20in=20httping,?= =?UTF-8?q?=20added=20bind=20splitting,=20thanks=20to=20S=C3=A9bastien=20B?= =?UTF-8?q?ourgasser?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3243 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/logrotate/patches/logrotate-3.7.1-datehack.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 package/logrotate/patches/logrotate-3.7.1-datehack.patch (limited to 'package/logrotate/patches/logrotate-3.7.1-datehack.patch') diff --git a/package/logrotate/patches/logrotate-3.7.1-datehack.patch b/package/logrotate/patches/logrotate-3.7.1-datehack.patch new file mode 100644 index 000000000..69121aafa --- /dev/null +++ b/package/logrotate/patches/logrotate-3.7.1-datehack.patch @@ -0,0 +1,12 @@ +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); -- cgit v1.2.3