summaryrefslogtreecommitdiff
path: root/ACE/ace/OS_NS_dirent.cpp
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2009-05-20 07:38:52 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2009-05-20 07:38:52 +0000
commitbaf8709edf0fafb3011a1bc8da8bf6fd9a486b71 (patch)
treec85b53d06e056d1480bbad1f9a8e184b1e94814e /ACE/ace/OS_NS_dirent.cpp
parent2620d20738b2b812be8e67e6493f9bf58f6943d1 (diff)
downloadATCD-baf8709edf0fafb3011a1bc8da8bf6fd9a486b71.tar.gz
Wed May 20 07:38:05 2009 Johnny Willemsen <jwillemsen@remedy.nl>
* ace/OS_NS_stdio.h: * ace/OS_NS_stdio.inl: On some platforms fileno is a macro * ace/OS_NS_dirent.cpp: Layout and const changes
Diffstat (limited to 'ACE/ace/OS_NS_dirent.cpp')
-rw-r--r--ACE/ace/OS_NS_dirent.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/ACE/ace/OS_NS_dirent.cpp b/ACE/ace/OS_NS_dirent.cpp
index d9d05b0b2d6..e0326a7ff6a 100644
--- a/ACE/ace/OS_NS_dirent.cpp
+++ b/ACE/ace/OS_NS_dirent.cpp
@@ -122,8 +122,7 @@ ACE_OS::readdir_emulation (ACE_DIR *d)
}
else
{
- int retval = ACE_TEXT_FindNextFile (d->current_handle_,
- &d->fdata_);
+ int const retval = ACE_TEXT_FindNextFile (d->current_handle_, &d->fdata_);
if (retval == 0)
{
// Make sure to close the handle explicitly to avoid a leak!