util: rename ignore_file() to hidden_file()

hidden_file() is a bit more precise, since dot files usually shouldn't
be ignored, but certainly be considered hidden.
This commit is contained in:
Lennart Poettering
2014-12-19 20:03:36 +01:00
parent 358ba19e5e
commit a34bf9db5d
8 changed files with 20 additions and 20 deletions
+1 -1
View File
@@ -127,7 +127,7 @@ int fdset_new_fill(FDSet **_s) {
while ((de = readdir(d))) {
int fd = -1;
if (ignore_file(de->d_name))
if (hidden_file(de->d_name))
continue;
r = safe_atoi(de->d_name, &fd);