* fhandler_disk_file.cc (fhandler_disk_file::readdir): Fix test for
dirent_isroot to use the correct boolean operator.
This commit is contained in:
parent
c40776e5a2
commit
4207eed323
@ -1,3 +1,8 @@
|
||||
2006-01-25 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* fhandler_disk_file.cc (fhandler_disk_file::readdir): Fix test for
|
||||
dirent_isroot to use the correct boolean operator.
|
||||
|
||||
2006-01-25 Christopher Faylor <cgf@timesys.com>
|
||||
|
||||
* ntdll.h: (temporarily?) Add more functions for querying directory.
|
||||
|
@ -1501,7 +1501,7 @@ fhandler_disk_file::readdir (DIR *dir, dirent *de)
|
||||
fnunmunge (de->d_name, buf.cFileName);
|
||||
else
|
||||
strcpy (de->d_name, buf.cFileName);
|
||||
if (dir->__flags && dirent_isroot)
|
||||
if (dir->__flags & dirent_isroot)
|
||||
{
|
||||
if (strcasematch (de->d_name, "dev"))
|
||||
dir->__flags |= dirent_saw_dev;
|
||||
|
Loading…
Reference in New Issue
Block a user