diff options
Diffstat (limited to 'ace/ACE.cpp')
-rw-r--r-- | ace/ACE.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ace/ACE.cpp b/ace/ACE.cpp index 727cf444e9a..c42a654c78d 100644 --- a/ace/ACE.cpp +++ b/ace/ACE.cpp @@ -264,7 +264,7 @@ ACE::execname (const char *old_name) ACE_NEW_RETURN (new_name, char[size], - -1); + 0); char *end = new_name; end = ACE_OS::strecpy (new_name, old_name); @@ -344,7 +344,7 @@ ACE::execname (const wchar_t *old_name) ACE_NEW_RETURN (new_name, wchar_t[size], - -1); + 0); wchar_t *end = new_name; end = ACE_OS::strecpy (new_name, old_name); |