Sven Baars (@sbaars) commented about dlls/ntdll/unix/file.c:
- Check if the specified file should be hidden based on its unix path and the show dot files option.
*/
-static BOOL is_hidden_file( const char *name )
+static BOOL is_hidden_file( const char *path )
{
const char *p;
- p = name + strlen( name );
- while (p > name && p[-1] == '/') p--;
- while (p > name && p[-1] != '/') p--;
- if (*p++ != '.') return FALSE;
- if (!*p || *p == '/') return FALSE; /* "." directory */
- if (*p++ != '.') return FALSE;
This line and the following line should probably be combined into one to fix the issue.