diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | ChangeLogs/ChangeLog-02a | 6 | ||||
-rw-r--r-- | ChangeLogs/ChangeLog-03a | 6 | ||||
-rw-r--r-- | ace/DLL.cpp | 2 |
4 files changed, 19 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index 5dd327ae0c1..e2243d33a74 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Wed May 15 16:44:27 UTC 2002 Don Hinton <dhinton@ieee.org> + + * ace/DLL.cpp (save_last_error): + + Use ACE::strnew to make a copy of the saved string. + Wed May 15 15:58:07 UTC 2002 Don Hinton <dhinton@ieee.org> * tests/DLL_Test.cpp: diff --git a/ChangeLogs/ChangeLog-02a b/ChangeLogs/ChangeLog-02a index 5dd327ae0c1..e2243d33a74 100644 --- a/ChangeLogs/ChangeLog-02a +++ b/ChangeLogs/ChangeLog-02a @@ -1,3 +1,9 @@ +Wed May 15 16:44:27 UTC 2002 Don Hinton <dhinton@ieee.org> + + * ace/DLL.cpp (save_last_error): + + Use ACE::strnew to make a copy of the saved string. + Wed May 15 15:58:07 UTC 2002 Don Hinton <dhinton@ieee.org> * tests/DLL_Test.cpp: diff --git a/ChangeLogs/ChangeLog-03a b/ChangeLogs/ChangeLog-03a index 5dd327ae0c1..e2243d33a74 100644 --- a/ChangeLogs/ChangeLog-03a +++ b/ChangeLogs/ChangeLog-03a @@ -1,3 +1,9 @@ +Wed May 15 16:44:27 UTC 2002 Don Hinton <dhinton@ieee.org> + + * ace/DLL.cpp (save_last_error): + + Use ACE::strnew to make a copy of the saved string. + Wed May 15 15:58:07 UTC 2002 Don Hinton <dhinton@ieee.org> * tests/DLL_Test.cpp: diff --git a/ace/DLL.cpp b/ace/DLL.cpp index 4602382dcfe..ec8ecce765b 100644 --- a/ace/DLL.cpp +++ b/ace/DLL.cpp @@ -163,7 +163,7 @@ ACE_DLL::save_last_error (void) if (this->open_called_) { ACE::strdelete (this->last_error_); - this->last_error_ = ACE_OS::dlerror (); + this->last_error_ = ACE::strnew (ACE_OS::dlerror ()); } } |