summaryrefslogtreecommitdiff
path: root/openwrt/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
commit687d0b8c9fc71895d397ad52f33c9d45fedfb7af (patch)
tree0f96c8dfae1cfee3fe75c1c3dcd810601191203c /openwrt/package/logrotate/patches/logrotate-3.7.1-ignore-hidden.patch
parent335718dfdc786897a06bd6a2fed8e89688129b15 (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@3243 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/package/logrotate/patches/logrotate-3.7.1-ignore-hidden.patch')
-rw-r--r--openwrt/package/logrotate/patches/logrotate-3.7.1-ignore-hidden.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/openwrt/package/logrotate/patches/logrotate-3.7.1-ignore-hidden.patch b/openwrt/package/logrotate/patches/logrotate-3.7.1-ignore-hidden.patch
new file mode 100644
index 0000000000..390de7537c
--- /dev/null
+++ b/openwrt/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++) {