summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormk1 <mk1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-08-28 20:13:23 +0000
committermk1 <mk1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-08-28 20:13:23 +0000
commit26c71c92cb5e6b90cf587615fa8a191abfc2ebb4 (patch)
treefa058708965fb8c718866e3503ac1e5df9f37a22
parentf9708cc2b7ba3b070ba737b615bfb2f5bf20e711 (diff)
downloadATCD-26c71c92cb5e6b90cf587615fa8a191abfc2ebb4.tar.gz
ChangeLogTag: Mon Aug 28 15:05:27 2000 Michael Kircher <Michael.Kircher@mchp.siemens.de>
-rw-r--r--ace/OS_Dirent.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/ace/OS_Dirent.cpp b/ace/OS_Dirent.cpp
index 8deeddeccc5..931a02d2799 100644
--- a/ace/OS_Dirent.cpp
+++ b/ace/OS_Dirent.cpp
@@ -53,11 +53,7 @@ ACE_OS_Dirent::readdir_emulation (DIR *d)
if (d->current_handle_ != INVALID_HANDLE_VALUE)
{
- ::FindClose (d->current_handle_);
- d->current_handle_ = INVALID_HANDLE_VALUE;
- }
- else // Skip "." and ".."
- {
+ // Skip "." and ".."
int retval = 1;
while (*(d->fdata_.cFileName) == '.'
&& retval