summaryrefslogtreecommitdiff
path: root/ace
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
commit2a6a94a5cc4bf331e11d1a961b84c02f846b9022 (patch)
treefa058708965fb8c718866e3503ac1e5df9f37a22 /ace
parent26570116cc2430317ff4c7d4d1481e9562ae599e (diff)
downloadATCD-2a6a94a5cc4bf331e11d1a961b84c02f846b9022.tar.gz
ChangeLogTag: Mon Aug 28 15:05:27 2000 Michael Kircher <Michael.Kircher@mchp.siemens.de>
Diffstat (limited to 'ace')
-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