missing file from previous checkin.
This commit is contained in:
parent
2693c1ac56
commit
77e5f8975d
|
@ -1227,7 +1227,7 @@ fhandler_disk_file::seekdir (DIR *dir, _off64_t loc)
|
|||
{
|
||||
rewinddir (dir);
|
||||
while (loc > dir->__d_position)
|
||||
if (!readdir (dir))
|
||||
if (!::readdir (dir))
|
||||
break;
|
||||
}
|
||||
|
||||
|
@ -1326,15 +1326,7 @@ fhandler_cygdrive::telldir (DIR *dir)
|
|||
void
|
||||
fhandler_cygdrive::seekdir (DIR *dir, _off64_t loc)
|
||||
{
|
||||
if (!iscygdrive_root ())
|
||||
return fhandler_disk_file::seekdir (dir, loc);
|
||||
|
||||
for (pdrive = get_win32_name (), dir->__d_position = -1; *pdrive;
|
||||
pdrive = strchr (pdrive, '\0') + 1)
|
||||
if (++dir->__d_position >= loc)
|
||||
break;
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Reference in New Issue