blob: 0bbb91dcb4fc6eb7f9a8da74f8f1a07d1ef52cc3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
diff -Nuar a/config.c b/config.c
--- a/config.c 2017-04-18 14:57:02.000000000 +0200
+++ b/config.c 2017-04-22 23:46:08.201991730 +0200
@@ -389,7 +389,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 */
|