summaryrefslogtreecommitdiff
path: root/ChangeLogs
diff options
context:
space:
mode:
authordhinton <dhinton@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2002-05-15 16:35:16 +0000
committerdhinton <dhinton@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2002-05-15 16:35:16 +0000
commit14bbb72565893ffad79faccdac6550e41ca89fd4 (patch)
treec92a2056a2a3f9691e61b8cacf2f3a5d3717e4cb /ChangeLogs
parent19bec382378b1ba1e336457cbf1d80296351e08c (diff)
downloadATCD-14bbb72565893ffad79faccdac6550e41ca89fd4.tar.gz
Wed May 15 15:58:07 UTC 2002 Don Hinton <dhinton@ieee.org>
Diffstat (limited to 'ChangeLogs')
-rw-r--r--ChangeLogs/ChangeLog-02a26
-rw-r--r--ChangeLogs/ChangeLog-03a26
2 files changed, 52 insertions, 0 deletions
diff --git a/ChangeLogs/ChangeLog-02a b/ChangeLogs/ChangeLog-02a
index 5cf128f4711..ce9842e9d38 100644
--- a/ChangeLogs/ChangeLog-02a
+++ b/ChangeLogs/ChangeLog-02a
@@ -1,3 +1,29 @@
+Wed May 15 15:58:07 UTC 2002 Don Hinton <dhinton@ieee.org>
+
+ * tests/DLL_Test.cpp:
+
+ Modified test to make calles to ACE_DLL::error () in order to test
+ changes below.
+
+ * ace/DLL.{h,cpp}:
+
+ Added new static flag, open_called_, to keep track of whether or not
+ a library function (specifically dlopen) has been called. This is
+ used internally to make sure that dlerror() isn't called unless the
+ library has been initialized with a call to dlopen first. Otherwise
+ it seg-faults on Linux (and perhaps others).
+
+ Also added a last_error_ variable and save_last_error() method and
+ placed a call to save_last_error() after each library call. Then
+ changed error() so it just returns last_erro_. This solves a few
+ problems, since open() made calls to error() which returned the
+ appropriate error but cleared the value for the next call. So for
+ instance, when the ctor failed and tried to call error() to report
+ the error, it didn't return anything since open() had already called
+ it. Also, if open() failed, and the called tried to call error() to
+ find out why, they got a blank error message since error() had
+ already been called by open().
+
Tue May 14 19:40:11 2002 Priyanka Gontla <pgontla@ece.uci.edu>
* tests/Proactor_Test.cpp (initiate_write_stream):
diff --git a/ChangeLogs/ChangeLog-03a b/ChangeLogs/ChangeLog-03a
index 5cf128f4711..ce9842e9d38 100644
--- a/ChangeLogs/ChangeLog-03a
+++ b/ChangeLogs/ChangeLog-03a
@@ -1,3 +1,29 @@
+Wed May 15 15:58:07 UTC 2002 Don Hinton <dhinton@ieee.org>
+
+ * tests/DLL_Test.cpp:
+
+ Modified test to make calles to ACE_DLL::error () in order to test
+ changes below.
+
+ * ace/DLL.{h,cpp}:
+
+ Added new static flag, open_called_, to keep track of whether or not
+ a library function (specifically dlopen) has been called. This is
+ used internally to make sure that dlerror() isn't called unless the
+ library has been initialized with a call to dlopen first. Otherwise
+ it seg-faults on Linux (and perhaps others).
+
+ Also added a last_error_ variable and save_last_error() method and
+ placed a call to save_last_error() after each library call. Then
+ changed error() so it just returns last_erro_. This solves a few
+ problems, since open() made calls to error() which returned the
+ appropriate error but cleared the value for the next call. So for
+ instance, when the ctor failed and tried to call error() to report
+ the error, it didn't return anything since open() had already called
+ it. Also, if open() failed, and the called tried to call error() to
+ find out why, they got a blank error message since error() had
+ already been called by open().
+
Tue May 14 19:40:11 2002 Priyanka Gontla <pgontla@ece.uci.edu>
* tests/Proactor_Test.cpp (initiate_write_stream):