summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-07-23 21:51:01 +0000
committercoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-07-23 21:51:01 +0000
commit078e738078a73092ceea3ddc693e0e23c67b81ba (patch)
tree9591a1923ebfce5274be8bb65ee434579db12e32
parentd645f55e69e1cf6e7ca4db00b50d9f3874772731 (diff)
downloadATCD-078e738078a73092ceea3ddc693e0e23c67b81ba.tar.gz
ChangeLogTag:Fri Jul 23 16:40:15 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
-rw-r--r--ChangeLog-99b5
-rw-r--r--ace/ACE.cpp4
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog-99b b/ChangeLog-99b
index a0f5a087480..d453f4f3182 100644
--- a/ChangeLog-99b
+++ b/ChangeLog-99b
@@ -1,3 +1,8 @@
+Fri Jul 23 16:40:15 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
+
+ * ace/ACE.cpp:
+ Fixed typos in error return values for ACE::execname()
+
Fri Jul 23 14:51:48 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* examples/Service_Configurator/IPC-tests/Handle_L_CODgram,
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);