summaryrefslogtreecommitdiff
path: root/ace/OS_Dirent.cpp
diff options
context:
space:
mode:
authormk1 <mk1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-05-29 16:38:17 +0000
committermk1 <mk1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-05-29 16:38:17 +0000
commitb01db55ab434e757590c9702b9c94a4398054a36 (patch)
tree3d584355223a80d74e47d68059eb30549a76bcac /ace/OS_Dirent.cpp
parentb68e20ca6ea95f853c746fac09117273587bdbd8 (diff)
downloadATCD-b01db55ab434e757590c9702b9c94a4398054a36.tar.gz
ChangeLogTag: Mon May 29 11:36:28 2000 Michael Kircher <Michael.Kircher@mchp.siemens.de>
Diffstat (limited to 'ace/OS_Dirent.cpp')
-rw-r--r--ace/OS_Dirent.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ace/OS_Dirent.cpp b/ace/OS_Dirent.cpp
index 8ba0637a175..f9b28910063 100644
--- a/ace/OS_Dirent.cpp
+++ b/ace/OS_Dirent.cpp
@@ -19,7 +19,7 @@ ACE_OS_Dirent::opendir (const ACE_TCHAR *filename)
DIR *dir;
ACE_NEW_RETURN (dir, DIR, 0);
ACE_NEW_RETURN (dir->directory_name_,
- ACE_TCHAR[ACE_OS_String::strlen (filename)],
+ ACE_TCHAR[ACE_OS_String::strlen (filename)+1],
0);
ACE_OS_String::strcpy (dir->directory_name_, filename);
dir->current_handle_ = INVALID_HANDLE_VALUE;