summaryrefslogtreecommitdiff
path: root/TAO
diff options
context:
space:
mode:
Diffstat (limited to 'TAO')
-rw-r--r--TAO/ChangeLog7
-rw-r--r--TAO/examples/Simple/grid/Grid_Client_i.cpp2
-rw-r--r--TAO/orbsvcs/examples/LoadBalancing/client.cpp8
3 files changed, 12 insertions, 5 deletions
diff --git a/TAO/ChangeLog b/TAO/ChangeLog
index c59bf79930c..ad7f597c58c 100644
--- a/TAO/ChangeLog
+++ b/TAO/ChangeLog
@@ -1,3 +1,10 @@
+Sun Nov 28 15:14:12 UTC 2004 Martin Corino <mcorino@remedy.nl>
+
+ * examples/Simple/grid/Grid_Client_i.cpp:
+ * orbsvcs/examples/LoadBalancing/client.cpp:
+ Fixed problems with use of iostreams for
+ ACE_LACKS_IOSTREAM_TOTALLY builds (VxWorks DIAB).
+
Sun Nov 28 15:07:12 UTC 2004 Johnny Willemsen <jwillemsen@remedy.nl>
* orbsvcs/tests/Notify/notify_tests.GNU:
diff --git a/TAO/examples/Simple/grid/Grid_Client_i.cpp b/TAO/examples/Simple/grid/Grid_Client_i.cpp
index b27072dac0c..1c00ff70576 100644
--- a/TAO/examples/Simple/grid/Grid_Client_i.cpp
+++ b/TAO/examples/Simple/grid/Grid_Client_i.cpp
@@ -23,7 +23,7 @@ Grid_Client_i::Grid_Client_i (void)
//Destructor.
Grid_Client_i::~Grid_Client_i (void)
{
- cout << "Called " << endl;
+ ACE_DEBUG ((LM_DEBUG, "Called \n"));
//no-op
}
diff --git a/TAO/orbsvcs/examples/LoadBalancing/client.cpp b/TAO/orbsvcs/examples/LoadBalancing/client.cpp
index 55eaf45d865..47508dba78e 100644
--- a/TAO/orbsvcs/examples/LoadBalancing/client.cpp
+++ b/TAO/orbsvcs/examples/LoadBalancing/client.cpp
@@ -76,7 +76,7 @@ main (int argc, char *argv[])
1);
}
- cout << "Starting Client " << number << endl;
+ ACE_DEBUG ((LM_DEBUG, "Starting Client %d\n", number));
for (int i = 0; i < niterations; ++i)
{
@@ -87,9 +87,9 @@ main (int argc, char *argv[])
CORBA::Double price = stock->price ();
- cout << "The price of a stock in \""
- << full_name.in () << "\" is $"
- << price << endl;
+ ACE_DEBUG ((LM_DEBUG, "The price of a stock in \"%s\" is $%f\n",
+ full_name.in (),
+ price));
}
//stockfactory->shutdown (ACE_ENV_SINGLE_ARG_PARAMETER);