Mercurial > geeqie.yaz
diff src/ui_pathsel.c @ 69:31759d770628
Fri Oct 13 10:27:22 2006 John Ellis <johne@verizon.net>
* cache_maint.c, ui_fileops.c, ui_pathsel.c, ui_tabcomp.c: Remove use
of the d_ino > 0 test as all files listed by readdir should be valid.
dirent.d_ino is not guanteed by POSIX, and at one recent point is
not implemented on cygwin.
author | gqview |
---|---|
date | Fri, 13 Oct 2006 14:36:26 +0000 |
parents | 04ff0df3ad2f |
children | 71e1ebee420e |
line wrap: on
line diff
--- a/src/ui_pathsel.c Fri Oct 13 13:44:30 2006 +0000 +++ b/src/ui_pathsel.c Fri Oct 13 14:36:26 2006 +0000 @@ -1,6 +1,6 @@ /* * (SLIK) SimpLIstic sKin functions - * (C) 2004 John Ellis + * (C) 2006 John Ellis * * Author: John Ellis * @@ -177,8 +177,7 @@ } while ((dir = readdir(dp)) != NULL) { - /* skips removed files */ - if (dir->d_ino > 0 && (dd->show_hidden || !is_hidden(dir->d_name)) ) + if (dd->show_hidden || !is_hidden(dir->d_name)) { gchar *name = dir->d_name; gchar *filepath = g_strconcat(pathl, "/", name, NULL);