diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-12-24 14:11:38 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-12-24 14:11:38 +0000 |
commit | de49812990871e1705b64051c35161d5e6400269 (patch) | |
tree | 5e1e8fcb0ff4579dbd22a1bfee28a6b97dc8aaeb /app-admin/logrotate/files | |
parent | 536c3711867ec947c1738f2c4b96f22e4863322d (diff) |
gentoo resync : 24.12.2018
Diffstat (limited to 'app-admin/logrotate/files')
-rw-r--r-- | app-admin/logrotate/files/logrotate-3.15.0-ignore-hidden.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/app-admin/logrotate/files/logrotate-3.15.0-ignore-hidden.patch b/app-admin/logrotate/files/logrotate-3.15.0-ignore-hidden.patch new file mode 100644 index 000000000000..cb2fc073bc61 --- /dev/null +++ b/app-admin/logrotate/files/logrotate-3.15.0-ignore-hidden.patch @@ -0,0 +1,14 @@ +diff -Nuar a/config.c b/config.c +--- a/config.c 2018-10-05 17:01:21.000000000 +0200 ++++ b/config.c 2018-12-19 16:33:52.280129804 +0100 +@@ -417,7 +417,9 @@ + int i; + + /* Check if fname is '.' or '..'; if so, return false */ +- if (fname[0] == '.' && (!fname[1] || (fname[1] == '.' && !fname[2]))) ++ /* 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 */ |