summaryrefslogtreecommitdiffstats
path: root/package/logrotate/patches/logrotate-3.7.1-ignore-hidden.patch
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-02-15 15:36:28 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-02-15 15:36:28 +0000
commit1fa1dadaa96e11c23c30f0a5180cfbc360f055f7 (patch)
treefae5ed96187e8445584f02cd465490e6589e7673 /package/logrotate/patches/logrotate-3.7.1-ignore-hidden.patch
parent32b8bfb796174e0b179f7ed5e175235a5876f8ef (diff)
Added logrotate, fixed CP call in httping, added bind splitting, thanks to Sébastien Bourgasser
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3243 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/logrotate/patches/logrotate-3.7.1-ignore-hidden.patch')
-rw-r--r--package/logrotate/patches/logrotate-3.7.1-ignore-hidden.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/package/logrotate/patches/logrotate-3.7.1-ignore-hidden.patch b/package/logrotate/patches/logrotate-3.7.1-ignore-hidden.patch
new file mode 100644
index 000000000..390de7537
--- /dev/null
+++ b/package/logrotate/patches/logrotate-3.7.1-ignore-hidden.patch
@@ -0,0 +1,14 @@
+--- logrotate-3.7/config.c.orig 2005-04-26 22:57:53.000000000 -0400
++++ logrotate-3.7/config.c 2005-04-26 22:59:36.000000000 -0400
+@@ -142,6 +142,11 @@
+ (!fname[1] || (fname[1] == '.' && !fname[2])))
+ return 0;
+
++ /* Don't include 'hidden' files either; this breaks Gentoo
++ portage config file management http://bugs.gentoo.org/87683 */
++ if (fname[0] == '.')
++ return 0;
++
+ /* Check if fname is ending in a taboo-extension; if so, return
+ false */
+ for (i = 0; i < tabooCount; i++) {