char *psz_ignore;
struct stat_list_t stself;
+#ifndef WIN32
int fd = dirfd (handle);
if ((fd == -1) || fstat (fd, &stself.st))
for (stat_list_t *stats = stparent; stats != NULL; stats = stats->parent)
{
-#ifndef WIN32
if ((stself.st.st_ino == stats->st.st_ino)
&& (stself.st.st_dev == stats->st.st_dev))
{
psz_name);
return VLC_SUCCESS;
}
+ }
#else
/* Windows has st_dev (driver letter - 'A'), but it zeroes st_ino,
- * so that the test above will always incorrectly succeed. */
+ * so that the test above will always incorrectly succeed.
+ * Besides, Windows does not have dirfd(). */
#endif
- }
stself.parent = stparent;