mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-18 12:29:32 +08:00
* fhandler_disk_file.cc (fhandler_disk_file::rewinddir): Simplify
conditional.
This commit is contained in:
parent
5c25715276
commit
ca986c6bf8
@ -1,3 +1,8 @@
|
|||||||
|
2006-01-30 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
|
* fhandler_disk_file.cc (fhandler_disk_file::rewinddir): Simplify
|
||||||
|
conditional.
|
||||||
|
|
||||||
2006-01-30 Corinna Vinschen <corinna@vinschen.de>
|
2006-01-30 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* fhandler_disk_file.cc (d_cachepos): Rename from d_pos to distinct
|
* fhandler_disk_file.cc (d_cachepos): Rename from d_pos to distinct
|
||||||
|
@ -1767,7 +1767,7 @@ fhandler_disk_file::rewinddir (DIR *dir)
|
|||||||
{
|
{
|
||||||
if (wincap.is_winnt ())
|
if (wincap.is_winnt ())
|
||||||
d_cachepos (dir) = 0;
|
d_cachepos (dir) = 0;
|
||||||
if (!wincap.is_winnt () && dir->__handle != INVALID_HANDLE_VALUE)
|
else if (dir->__handle != INVALID_HANDLE_VALUE)
|
||||||
{
|
{
|
||||||
if (dir->__handle)
|
if (dir->__handle)
|
||||||
FindClose (dir->__handle);
|
FindClose (dir->__handle);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user