summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2002-05-16 18:36:12 +0000
committernanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2002-05-16 18:36:12 +0000
commit3c425bf43a64707275dee4dc971eb9d96688a1e8 (patch)
tree47c959fc381d188e6fd8a51b966044fd75a28e2f
parent3aeb746c98b33cd144b7d2431a007ff2cec9fe09 (diff)
downloadATCD-3c425bf43a64707275dee4dc971eb9d96688a1e8.tar.gz
ChangeLogTag:Thu May 16 13:34:19 2002 Nanbor Wang <nanbor@cs.wustl.edu>
-rw-r--r--ACEXML/examples/SAXPrint/main.cpp2
-rw-r--r--ChangeLog37
-rw-r--r--ChangeLogs/ChangeLog-02a37
-rw-r--r--ChangeLogs/ChangeLog-03a37
4 files changed, 64 insertions, 49 deletions
diff --git a/ACEXML/examples/SAXPrint/main.cpp b/ACEXML/examples/SAXPrint/main.cpp
index f7e6a2e4ab0..531d6095dfa 100644
--- a/ACEXML/examples/SAXPrint/main.cpp
+++ b/ACEXML/examples/SAXPrint/main.cpp
@@ -8,7 +8,7 @@
#include "SAXPrint_Handler.h"
#include "ace/Get_Opt.h"
-static ACEXML_Char *test_string =
+static const ACEXML_Char *test_string =
ACE_TEXT ("<?xml version='1.0'?> <ACE_Svc_Conf> <static id=\"ACE_Service_Manager\" params='-d -p 4911'/> <dynamic id=\"Test_Task\" type=\"service_object\"> &#65; &amp; <initializer path=\"CCM_App\" init='_make_Test_Task' params='-p 3000'/> </dynamic> </ACE_Svc_Conf>");
diff --git a/ChangeLog b/ChangeLog
index 05a17c50c0a..ea447b63511 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
+Thu May 16 13:34:19 2002 Nanbor Wang <nanbor@cs.wustl.edu>
+
+ * ACEXML/examples/SAXPrint/main.cpp: Added constness to
+ <test_string>. This fixed a GCC 3.0 warning.
+
Wed May 15 17:47:24 UTC 2002 Don Hinton <dhinton@ieee.org>
-
+
* ace/DLL.cpp: Fixed compile error in an AIX ifdef'd
section of code I missed before.
@@ -7,7 +12,7 @@ Wed May 15 17:18:58 UTC 2002 Don Hinton <dhinton@ieee.org>
* ace/DLL.cpp (open):
- Removed unreferenced return value. Thanks to Nanbor
+ Removed unreferenced return value. Thanks to Nanbor
for noticing this.
Wed May 15 16:44:27 UTC 2002 Don Hinton <dhinton@ieee.org>
@@ -20,41 +25,41 @@ 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
+ Modified test to make calles to ACE_DLL::error () in order to test
changes below.
-
+
* ace/DLL.{h,cpp}:
Removed the return in open() after an ACE_Lib_Find error, so that
dlopen() will be called and the appropriate error stored.
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
+ 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
+ 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):
+ * tests/Proactor_Test.cpp (initiate_write_stream):
Applied the Patch Johnny Willemsen sent to fix the test for the
unicode builds.
Tue May 14 19:14:11 2002 Priyanka Gontla <pgontla@ece.uci.edu>
* tests/TP_Reactor_Test.cpp (Connector):
- Fixed the warnings by removing the check condition
+ Fixed the warnings by removing the check condition
'size_t index_ >= 0' which is always going to be true.
* tests/Proactor_Test.cpp:
diff --git a/ChangeLogs/ChangeLog-02a b/ChangeLogs/ChangeLog-02a
index 05a17c50c0a..ea447b63511 100644
--- a/ChangeLogs/ChangeLog-02a
+++ b/ChangeLogs/ChangeLog-02a
@@ -1,5 +1,10 @@
+Thu May 16 13:34:19 2002 Nanbor Wang <nanbor@cs.wustl.edu>
+
+ * ACEXML/examples/SAXPrint/main.cpp: Added constness to
+ <test_string>. This fixed a GCC 3.0 warning.
+
Wed May 15 17:47:24 UTC 2002 Don Hinton <dhinton@ieee.org>
-
+
* ace/DLL.cpp: Fixed compile error in an AIX ifdef'd
section of code I missed before.
@@ -7,7 +12,7 @@ Wed May 15 17:18:58 UTC 2002 Don Hinton <dhinton@ieee.org>
* ace/DLL.cpp (open):
- Removed unreferenced return value. Thanks to Nanbor
+ Removed unreferenced return value. Thanks to Nanbor
for noticing this.
Wed May 15 16:44:27 UTC 2002 Don Hinton <dhinton@ieee.org>
@@ -20,41 +25,41 @@ 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
+ Modified test to make calles to ACE_DLL::error () in order to test
changes below.
-
+
* ace/DLL.{h,cpp}:
Removed the return in open() after an ACE_Lib_Find error, so that
dlopen() will be called and the appropriate error stored.
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
+ 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
+ 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):
+ * tests/Proactor_Test.cpp (initiate_write_stream):
Applied the Patch Johnny Willemsen sent to fix the test for the
unicode builds.
Tue May 14 19:14:11 2002 Priyanka Gontla <pgontla@ece.uci.edu>
* tests/TP_Reactor_Test.cpp (Connector):
- Fixed the warnings by removing the check condition
+ Fixed the warnings by removing the check condition
'size_t index_ >= 0' which is always going to be true.
* tests/Proactor_Test.cpp:
diff --git a/ChangeLogs/ChangeLog-03a b/ChangeLogs/ChangeLog-03a
index 05a17c50c0a..ea447b63511 100644
--- a/ChangeLogs/ChangeLog-03a
+++ b/ChangeLogs/ChangeLog-03a
@@ -1,5 +1,10 @@
+Thu May 16 13:34:19 2002 Nanbor Wang <nanbor@cs.wustl.edu>
+
+ * ACEXML/examples/SAXPrint/main.cpp: Added constness to
+ <test_string>. This fixed a GCC 3.0 warning.
+
Wed May 15 17:47:24 UTC 2002 Don Hinton <dhinton@ieee.org>
-
+
* ace/DLL.cpp: Fixed compile error in an AIX ifdef'd
section of code I missed before.
@@ -7,7 +12,7 @@ Wed May 15 17:18:58 UTC 2002 Don Hinton <dhinton@ieee.org>
* ace/DLL.cpp (open):
- Removed unreferenced return value. Thanks to Nanbor
+ Removed unreferenced return value. Thanks to Nanbor
for noticing this.
Wed May 15 16:44:27 UTC 2002 Don Hinton <dhinton@ieee.org>
@@ -20,41 +25,41 @@ 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
+ Modified test to make calles to ACE_DLL::error () in order to test
changes below.
-
+
* ace/DLL.{h,cpp}:
Removed the return in open() after an ACE_Lib_Find error, so that
dlopen() will be called and the appropriate error stored.
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
+ 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
+ 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):
+ * tests/Proactor_Test.cpp (initiate_write_stream):
Applied the Patch Johnny Willemsen sent to fix the test for the
unicode builds.
Tue May 14 19:14:11 2002 Priyanka Gontla <pgontla@ece.uci.edu>
* tests/TP_Reactor_Test.cpp (Connector):
- Fixed the warnings by removing the check condition
+ Fixed the warnings by removing the check condition
'size_t index_ >= 0' which is always going to be true.
* tests/Proactor_Test.cpp: