summaryrefslogtreecommitdiff
path: root/openwrt/package/logrotate/patches/logrotate-3.7.1-ignore-hidden.patch
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2006-02-15 15:36:28 +0000
committerFlorian Fainelli <florian@openwrt.org>2006-02-15 15:36:28 +0000
commitefc82b9580fa141dae724d26dbb697ed27c3f93f (patch)
tree314ac0d825413d452c8fee70dddefbc32efd78c9 /openwrt/package/logrotate/patches/logrotate-3.7.1-ignore-hidden.patch
parentd4cfc752103b0e437d41779bec821f826202c8d5 (diff)
downloadmtk-20170518-efc82b9580fa141dae724d26dbb697ed27c3f93f.zip
mtk-20170518-efc82b9580fa141dae724d26dbb697ed27c3f93f.tar.gz
mtk-20170518-efc82b9580fa141dae724d26dbb697ed27c3f93f.tar.bz2
Added logrotate, fixed CP call in httping, added bind splitting, thanks to Sébastien Bourgasser
SVN-Revision: 3243
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 0000000..390de75
--- /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++) {