summaryrefslogtreecommitdiff
path: root/ace/OS_Dirent.cpp
diff options
context:
space:
mode:
authorbrunsch <brunsch@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-01-23 01:17:21 +0000
committerbrunsch <brunsch@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-01-23 01:17:21 +0000
commit862d4cfe6f74485675bb03b17f87b2098e2ee226 (patch)
tree9b36f9da4f1a5b8820287d14dfec4ade11a1de0b /ace/OS_Dirent.cpp
parentbf26df67cbe473f1a1cd778b1a0e8da2c66a4344 (diff)
downloadATCD-862d4cfe6f74485675bb03b17f87b2098e2ee226.tar.gz
ChangeLogTag:Mon Jan 22 17:01:17 2001 Darrell Brunsch <brunsch@uci.edu>
Diffstat (limited to 'ace/OS_Dirent.cpp')
-rw-r--r--ace/OS_Dirent.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/ace/OS_Dirent.cpp b/ace/OS_Dirent.cpp
index ca7a2b2973a..ae48ca4fadc 100644
--- a/ace/OS_Dirent.cpp
+++ b/ace/OS_Dirent.cpp
@@ -22,9 +22,8 @@ ACE_OS_Dirent::opendir_emulation (const ACE_TCHAR *filename)
This is contrary to the behavior of the posix function readdir which treats
basename(filename) as a directory to be opened and read.
- For this reason, the extra trailing "/*" or "\\*" as the case may be is
- appended to the supplied filename so the result is that FindFirstFile will
- do the right thing.
+ For this reason, we append a slash-star or backslash-star to the supplied
+ filename so the result is that FindFirstFile will do what we need.
According to the documentation for FindFirstFile, either a '/' or a '\' may
be used as a directory name separator.