ntfsls: not all files started with '$' are system files, check by inode number instead.

edge.strict_endians
cha0smaster 2005-07-20 16:04:40 +00:00
parent e55c6769e1
commit 0f4d02e9e4
1 changed files with 1 additions and 1 deletions

View File

@ -481,7 +481,7 @@ static int list_dir_entry(ntfsls_dirent * dirent, const ntfschar * name,
}
result = 0; // These are successful
if ((filename[0] == '$') && (!opts.system))
if ((MREF(mref) < FILE_first_user) && (!opts.system))
goto free;
if (name_type == FILE_NAME_POSIX && !opts.all)
goto free;