* fhandler_disk_file.cc (fhandler_disk_file::readdir): Fix typo which caused
test for ".." to be skipped.
This commit is contained in:
parent
6c47d5b7e7
commit
56aed3f578
|
@ -1,3 +1,8 @@
|
|||
2006-05-08 Christian Franke <Christian.Franke@t-online.de>
|
||||
|
||||
* fhandler_disk_file.cc (fhandler_disk_file::readdir): Fix typo which
|
||||
caused test for ".." to be skipped.
|
||||
|
||||
2006-05-02 Christopher Faylor <cgf@timesys.com>
|
||||
|
||||
* external.cc (cygwin_internal): Set errno on failure.
|
||||
|
|
|
@ -1787,7 +1787,7 @@ fhandler_disk_file::readdir (DIR *dir, dirent *de)
|
|||
dir->__flags |= dirent_saw_dot;
|
||||
res = 0;
|
||||
}
|
||||
else if (!(dir->__flags & dirent_saw_dot))
|
||||
else if (!(dir->__flags & dirent_saw_dot_dot))
|
||||
{
|
||||
strcpy (de->d_name , "..");
|
||||
de->d_ino = readdir_get_ino (dir, pc.normalized_path, true);
|
||||
|
|
Loading…
Reference in New Issue