summaryrefslogtreecommitdiff
blob: df1ed8de564105fd7123c3c04393d0c5498f2816 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff -Nuar a/config.c b/config.c
--- a/config.c	2016-01-20 10:47:36.000000000 +0100
+++ b/config.c	2016-01-25 19:50:48.840034001 +0100
@@ -359,7 +359,10 @@
 	char *pattern;
 
 	/* 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 */