diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2008-10-12 19:03:33 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2008-10-12 19:03:33 +0000 |
commit | d0d8d597464d6a8f2c62c3baca79dcd7c06e4dfe (patch) | |
tree | a062136046e6f07f3ca0dafbd5caa6906709db99 /TAO | |
parent | 82ca8413aae67ce3c738bf02b1a3e49770447e19 (diff) | |
download | ATCD-d0d8d597464d6a8f2c62c3baca79dcd7c06e4dfe.tar.gz |
Diffstat (limited to 'TAO')
58 files changed, 81 insertions, 82 deletions
diff --git a/TAO/examples/Kokyu_dsrt_schedulers/fp_example/client.cpp b/TAO/examples/Kokyu_dsrt_schedulers/fp_example/client.cpp index 9c1e33337a4..b1603de385b 100644 --- a/TAO/examples/Kokyu_dsrt_schedulers/fp_example/client.cpp +++ b/TAO/examples/Kokyu_dsrt_schedulers/fp_example/client.cpp @@ -157,7 +157,7 @@ ACE_TMAIN(int argc, ACE_TCHAR *argv[]) if (CORBA::is_nil (server.in ())) { ACE_ERROR_RETURN ((LM_ERROR, - "Object reference <%C> is nil.\n", + "Object reference <%s> is nil.\n", ior), 1); } diff --git a/TAO/examples/Kokyu_dsrt_schedulers/mif_example/client.cpp b/TAO/examples/Kokyu_dsrt_schedulers/mif_example/client.cpp index 28d8d0b9dce..fd07c9d8814 100644 --- a/TAO/examples/Kokyu_dsrt_schedulers/mif_example/client.cpp +++ b/TAO/examples/Kokyu_dsrt_schedulers/mif_example/client.cpp @@ -157,7 +157,7 @@ ACE_TMAIN(int argc, ACE_TCHAR *argv[]) if (CORBA::is_nil (server.in ())) { ACE_ERROR_RETURN ((LM_ERROR, - "Object reference <%C> is nil.\n", + "Object reference <%s> is nil.\n", ior), 1); } diff --git a/TAO/examples/Kokyu_dsrt_schedulers/muf_example/client.cpp b/TAO/examples/Kokyu_dsrt_schedulers/muf_example/client.cpp index 05e43fabd1e..e5b449da7e8 100644 --- a/TAO/examples/Kokyu_dsrt_schedulers/muf_example/client.cpp +++ b/TAO/examples/Kokyu_dsrt_schedulers/muf_example/client.cpp @@ -162,7 +162,7 @@ ACE_TMAIN(int argc, ACE_TCHAR *argv[]) if (CORBA::is_nil (server.in ())) { ACE_ERROR_RETURN ((LM_ERROR, - "Object reference <%C> is nil.\n", + "Object reference <%s> is nil.\n", ior), 1); } diff --git a/TAO/examples/PluggableUDP/tests/Performance/client.cpp b/TAO/examples/PluggableUDP/tests/Performance/client.cpp index 7893b79a8d3..712fbef8d35 100644 --- a/TAO/examples/PluggableUDP/tests/Performance/client.cpp +++ b/TAO/examples/PluggableUDP/tests/Performance/client.cpp @@ -85,7 +85,7 @@ ACE_TMAIN(int argc, ACE_TCHAR *argv[]) if (CORBA::is_nil (udp_var.in ())) { ACE_ERROR_RETURN ((LM_ERROR, - "Object reference <%C> is nil.\n", + "Object reference <%s> is nil.\n", ior), 1); } diff --git a/TAO/examples/PluggableUDP/tests/SimplePerformance/client.cpp b/TAO/examples/PluggableUDP/tests/SimplePerformance/client.cpp index a7478048574..7c894276bbb 100644 --- a/TAO/examples/PluggableUDP/tests/SimplePerformance/client.cpp +++ b/TAO/examples/PluggableUDP/tests/SimplePerformance/client.cpp @@ -79,7 +79,7 @@ int ACE_TMAIN (int argc, ACE_TCHAR *argv[]) if (CORBA::is_nil (server.in ())) { ACE_ERROR_RETURN ((LM_ERROR, - "Object reference <%C> is nil.\n", + "Object reference <%s> is nil.\n", iorFile), 1); } @@ -88,7 +88,7 @@ int ACE_TMAIN (int argc, ACE_TCHAR *argv[]) orb->object_to_string (server.in ()); ACE_DEBUG ((LM_DEBUG, - "Client: orb->object_to_string:\n%s\n", + "Client: orb->object_to_string: <%C>\n", string.in ())); Client client (server.in (), niter); diff --git a/TAO/performance-tests/RTCorba/Multiple_Endpoints/Single_Endpoint/client.cpp b/TAO/performance-tests/RTCorba/Multiple_Endpoints/Single_Endpoint/client.cpp index f6623f98598..b6513c6e159 100644 --- a/TAO/performance-tests/RTCorba/Multiple_Endpoints/Single_Endpoint/client.cpp +++ b/TAO/performance-tests/RTCorba/Multiple_Endpoints/Single_Endpoint/client.cpp @@ -159,7 +159,7 @@ ACE_TMAIN(int argc, ACE_TCHAR *argv[]) if (CORBA::is_nil (server.in ())) { ACE_ERROR_RETURN ((LM_ERROR, - "Object reference <%C> is nil.\n", + "Object reference <%s> is nil.\n", ior), 1); } diff --git a/TAO/tests/AMI/client.cpp b/TAO/tests/AMI/client.cpp index 54b9e442187..f2fdd14ffbd 100644 --- a/TAO/tests/AMI/client.cpp +++ b/TAO/tests/AMI/client.cpp @@ -202,7 +202,7 @@ ACE_TMAIN(int argc, ACE_TCHAR *argv[]) if (CORBA::is_nil (server.in ())) { ACE_ERROR_RETURN ((LM_ERROR, - "Object reference <%C> is nil.\n", + "Object reference <%s> is nil.\n", ior), 1); } diff --git a/TAO/tests/AMI/simple_client.cpp b/TAO/tests/AMI/simple_client.cpp index 1a36094c5c9..d30f6cee7a8 100644 --- a/TAO/tests/AMI/simple_client.cpp +++ b/TAO/tests/AMI/simple_client.cpp @@ -124,7 +124,7 @@ public: if (ACE_OS::strcmp (ex.whatDidTheRightThing.in (), "Hello world") != 0) { ACE_ERROR ((LM_ERROR, - "ERROR: ex.whatDidTheRightThing not ok: <%s>\n", + "ERROR: ex.whatDidTheRightThing not ok: <%C>\n", ex.whatDidTheRightThing.in ())); result = 1; } @@ -209,7 +209,7 @@ ACE_TMAIN(int argc, ACE_TCHAR *argv[]) if (CORBA::is_nil (ami_test_var.in ())) { ACE_ERROR_RETURN ((LM_ERROR, - "Object reference <%C> is nil.\n", + "Object reference <%s> is nil.\n", ior), 1); } diff --git a/TAO/tests/AMI_Timeouts/client.cpp b/TAO/tests/AMI_Timeouts/client.cpp index 82a7154f84e..64b2aa35e9b 100644 --- a/TAO/tests/AMI_Timeouts/client.cpp +++ b/TAO/tests/AMI_Timeouts/client.cpp @@ -79,7 +79,7 @@ ACE_TMAIN(int argc, ACE_TCHAR *argv[]) if (CORBA::is_nil (timeout_var.in ())) { ACE_ERROR_RETURN ((LM_ERROR, - "Object reference <%C> is nil.\n", + "Object reference <%s> is nil.\n", ior), 1); } diff --git a/TAO/tests/BiDirectional/client.cpp b/TAO/tests/BiDirectional/client.cpp index 2dbeefc15f6..96d755b73fe 100644 --- a/TAO/tests/BiDirectional/client.cpp +++ b/TAO/tests/BiDirectional/client.cpp @@ -101,12 +101,11 @@ ACE_TMAIN(int argc, ACE_TCHAR *argv[]) if (CORBA::is_nil (server.in ())) { ACE_ERROR_RETURN ((LM_ERROR, - "Object reference <%C> is nil.\n", + "Object reference <%s> is nil.\n", ior), 1); } - Callback_i callback_impl (orb.in ()); PortableServer::ObjectId_var id = diff --git a/TAO/tests/BiDirectional_DelayedUpcall/client.cpp b/TAO/tests/BiDirectional_DelayedUpcall/client.cpp index 35d97f9cedc..438b5e31be5 100644 --- a/TAO/tests/BiDirectional_DelayedUpcall/client.cpp +++ b/TAO/tests/BiDirectional_DelayedUpcall/client.cpp @@ -102,7 +102,7 @@ ACE_TMAIN(int argc, ACE_TCHAR *argv[]) if (CORBA::is_nil (server.in ())) { ACE_ERROR_RETURN ((LM_ERROR, - "Object reference <%C> is nil.\n", + "Object reference <%s> is nil.\n", ior), 1); } diff --git a/TAO/tests/BiDirectional_NestedUpcall/client.cpp b/TAO/tests/BiDirectional_NestedUpcall/client.cpp index 7e5203a41e4..54f68876b18 100644 --- a/TAO/tests/BiDirectional_NestedUpcall/client.cpp +++ b/TAO/tests/BiDirectional_NestedUpcall/client.cpp @@ -102,7 +102,7 @@ ACE_TMAIN(int argc, ACE_TCHAR *argv[]) if (CORBA::is_nil (server.in ())) { ACE_ERROR_RETURN ((LM_ERROR, - "Object reference <%C> is nil.\n", + "Object reference <%s> is nil.\n", ior), 1); } diff --git a/TAO/tests/Big_AMI/client.cpp b/TAO/tests/Big_AMI/client.cpp index e2a2cb1b722..a5d4ba5ad5f 100644 --- a/TAO/tests/Big_AMI/client.cpp +++ b/TAO/tests/Big_AMI/client.cpp @@ -151,7 +151,7 @@ ACE_TMAIN(int argc, ACE_TCHAR *argv[]) if (CORBA::is_nil (ami_test_var.in ())) { ACE_ERROR_RETURN ((LM_ERROR, - "Object reference <%C> is nil.\n", + "Object reference <%s> is nil.\n", ior), 1); } diff --git a/TAO/tests/Bug_2174_Regression/client.cpp b/TAO/tests/Bug_2174_Regression/client.cpp index 60776a00ae6..c2d15a95592 100644 --- a/TAO/tests/Bug_2174_Regression/client.cpp +++ b/TAO/tests/Bug_2174_Regression/client.cpp @@ -61,7 +61,7 @@ int ACE_TMAIN (int argc, ACE_TCHAR *argv[]) if (CORBA::is_nil (server.in ())) { ACE_ERROR_RETURN ((LM_ERROR, - "Object reference <%C> is nil.\n", + "Object reference <%s> is nil.\n", ior), 1); } diff --git a/TAO/tests/Bug_2356_Regression/client.cpp b/TAO/tests/Bug_2356_Regression/client.cpp index 4d81bb96136..6c8b5a4b771 100644 --- a/TAO/tests/Bug_2356_Regression/client.cpp +++ b/TAO/tests/Bug_2356_Regression/client.cpp @@ -145,7 +145,7 @@ ACE_TMAIN(int argc, ACE_TCHAR *argv[]) if (CORBA::is_nil (ami_test_var.in ())) { ACE_ERROR_RETURN ((LM_ERROR, - "Object reference <%C> is nil.\n", + "Object reference <%s> is nil.\n", ior), 1); } diff --git a/TAO/tests/Bug_2494_Regression/client.cpp b/TAO/tests/Bug_2494_Regression/client.cpp index a479c53770e..9552bd3e8ed 100644 --- a/TAO/tests/Bug_2494_Regression/client.cpp +++ b/TAO/tests/Bug_2494_Regression/client.cpp @@ -86,8 +86,8 @@ struct Worker : ACE_Task_Base catch (CORBA::Exception& ex) { ACE_DEBUG ((LM_ERROR, - ACE_TEXT ("(%P|%t) Exception caught: \n%s\n"), - ACE_TEXT_CHAR_TO_TCHAR (ex._info ().c_str ()))); + ACE_TEXT ("(%P|%t) Exception caught: \n%C\n"), + ex._info ().c_str ())); return 1; } } @@ -113,7 +113,7 @@ ACE_TMAIN(int argc, ACE_TCHAR *argv[]) if (CORBA::is_nil (server.in ())) { ACE_ERROR_RETURN ((LM_ERROR, - "Object reference <%C> is nil.\n", + "Object reference <%s> is nil.\n", ior), 1); } @@ -130,8 +130,8 @@ ACE_TMAIN(int argc, ACE_TCHAR *argv[]) } catch (CORBA::Exception& ex) { - ACE_DEBUG ((LM_ERROR, ACE_TEXT ("(%P|%t) ERROR: Exception caught: \n%s\n"), - ACE_TEXT_CHAR_TO_TCHAR (ex._info ().c_str ()))); + ACE_DEBUG ((LM_ERROR, ACE_TEXT ("(%P|%t) ERROR: Exception caught: \n%C\n"), + ex._info ().c_str ())); return 1; } diff --git a/TAO/tests/Bug_2734_Regression/client.cpp b/TAO/tests/Bug_2734_Regression/client.cpp index 56643266922..689a85e3493 100644 --- a/TAO/tests/Bug_2734_Regression/client.cpp +++ b/TAO/tests/Bug_2734_Regression/client.cpp @@ -104,7 +104,7 @@ int ACE_TMAIN (int argc, ACE_TCHAR *argv[]) if (CORBA::is_nil (server.in ())) { ACE_ERROR_RETURN ((LM_ERROR, - "Object reference <%C> is nil.\n", + "Object reference <%s> is nil.\n", ior), 1); } @@ -235,9 +235,9 @@ int ACE_TMAIN (int argc, ACE_TCHAR *argv[]) for (int i = 0; i < 4; i++) { timeout_count_total += timeout_count[i]; in_time_count_total += in_time_count[i]; - ACE_DEBUG ((LM_DEBUG, "in_time_count[%s]= %d timeout_count[%s]= %d\n", - ACE_TEXT_CHAR_TO_TCHAR (to_type_names[i]), in_time_count[i], - ACE_TEXT_CHAR_TO_TCHAR (to_type_names[i]), timeout_count[i])); + ACE_DEBUG ((LM_DEBUG, "in_time_count[%C]= %d timeout_count[%C]= %d\n", + to_type_names[i], in_time_count[i], + to_type_names[i], timeout_count[i])); } if (timeout_count_total == 0) diff --git a/TAO/tests/Bug_2805_Regression/client.cpp b/TAO/tests/Bug_2805_Regression/client.cpp index cd642520aa7..845d502273d 100644 --- a/TAO/tests/Bug_2805_Regression/client.cpp +++ b/TAO/tests/Bug_2805_Regression/client.cpp @@ -205,7 +205,7 @@ ACE_TMAIN(int argc, ACE_TCHAR *argv[]) if (CORBA::is_nil (server.in ())) { ACE_ERROR_RETURN ((LM_ERROR, - "Object reference <%C> is nil.\n", + "Object reference <%s> is nil.\n", ior), 1); } diff --git a/TAO/tests/Bug_2909_Regression/client.cpp b/TAO/tests/Bug_2909_Regression/client.cpp index bcefbe6e7c9..c8b1be558cd 100644 --- a/TAO/tests/Bug_2909_Regression/client.cpp +++ b/TAO/tests/Bug_2909_Regression/client.cpp @@ -188,7 +188,7 @@ ACE_TMAIN(int argc, ACE_TCHAR *argv[]) if (CORBA::is_nil (server.in ())) { ACE_ERROR_RETURN ((LM_ERROR, - "Object reference <%C> is nil.\n", + "Object reference <%s> is nil.\n", ior), 1); } diff --git a/TAO/tests/DII_AMI_Forward/client.cpp b/TAO/tests/DII_AMI_Forward/client.cpp index 2f1e5e7ab78..6077ffc9852 100644 --- a/TAO/tests/DII_AMI_Forward/client.cpp +++ b/TAO/tests/DII_AMI_Forward/client.cpp @@ -63,7 +63,7 @@ do_primary_test (CORBA::Object_var &server, if (CORBA::is_nil (server.in ())) { ACE_ERROR ((LM_ERROR, - "Object reference <%C> is nil.\n", + "Object reference <%s> is nil.\n", ior)); return; } @@ -77,7 +77,7 @@ do_primary_test (CORBA::Object_var &server, catch (CORBA::Exception &ex) { ACE_ERROR ((LM_ERROR, - "Client caught exception: %s\n",ex._name())); + "Client caught exception: %C\n",ex._name())); } } diff --git a/TAO/tests/DIOP/client.cpp b/TAO/tests/DIOP/client.cpp index 9e126878b38..ebb233285eb 100644 --- a/TAO/tests/DIOP/client.cpp +++ b/TAO/tests/DIOP/client.cpp @@ -92,7 +92,7 @@ ACE_TMAIN(int argc, ACE_TCHAR *argv[]) if (CORBA::is_nil (udp_var.in ())) ACE_ERROR_RETURN ((LM_ERROR, - "Object reference <%C> is nil.\n", + "Object reference <%s> is nil.\n", ior), 1); diff --git a/TAO/tests/DSI_AMI_Gateway/client.cpp b/TAO/tests/DSI_AMI_Gateway/client.cpp index 1e826372f2a..93f9893fe24 100644 --- a/TAO/tests/DSI_AMI_Gateway/client.cpp +++ b/TAO/tests/DSI_AMI_Gateway/client.cpp @@ -82,7 +82,7 @@ ACE_TMAIN(int argc, ACE_TCHAR *argv[]) if (CORBA::is_nil (server.in ())) { ACE_ERROR_RETURN ((LM_ERROR, - "Object reference <%C> is nil.\n", + "Object reference <%s> is nil.\n", ior), 1); } @@ -138,7 +138,7 @@ ACE_TMAIN(int argc, ACE_TCHAR *argv[]) " x = %d\n" " i = %d\n" " length = %d\n" - " name = <%s>\n", + " name = <%C>\n", r, the_out_structure->i, the_out_structure->seq.length (), @@ -163,15 +163,15 @@ ACE_TMAIN(int argc, ACE_TCHAR *argv[]) { if (test_user_exception == 1) ACE_DEBUG ((LM_DEBUG, - "Client: caught expected user exception: %s\n", + "Client: caught expected user exception: %C\n", ex._name())); else ex._tao_print_exception ("Client: exception caught - "); ACE_DEBUG ((LM_DEBUG, "error code: %d\n" - "error info: %s\n" - "status: %s\n", + "error info: %C\n" + "status: %C\n", ex.error_code, ex.error_message.in (), ex.status_message.in ())); @@ -182,7 +182,7 @@ ACE_TMAIN(int argc, ACE_TCHAR *argv[]) { if (test_system_exception == 1) ACE_DEBUG ((LM_DEBUG, - "Client: caught expected system exception: %s\n", + "Client: caught expected system exception: %C\n", ex._name())); else ex._tao_print_exception ("Client: exception caught - "); diff --git a/TAO/tests/DSI_Gateway/client.cpp b/TAO/tests/DSI_Gateway/client.cpp index b246f60252f..066fe3dd849 100644 --- a/TAO/tests/DSI_Gateway/client.cpp +++ b/TAO/tests/DSI_Gateway/client.cpp @@ -82,7 +82,7 @@ ACE_TMAIN(int argc, ACE_TCHAR *argv[]) if (CORBA::is_nil (server.in ())) { ACE_ERROR_RETURN ((LM_ERROR, - "Object reference <%C> is nil.\n", + "Object reference <%s> is nil.\n", ior), 1); } @@ -170,7 +170,7 @@ ACE_TMAIN(int argc, ACE_TCHAR *argv[]) ACE_DEBUG ((LM_DEBUG, "error code: %d\n" - "error info: %s\n" + "error info: %C\n" "status: %C\n", ex.error_code, ex.error_message.in (), diff --git a/TAO/tests/Faults/client.cpp b/TAO/tests/Faults/client.cpp index dd06d444811..5a9ca57dfac 100644 --- a/TAO/tests/Faults/client.cpp +++ b/TAO/tests/Faults/client.cpp @@ -103,7 +103,7 @@ ACE_TMAIN(int argc, ACE_TCHAR *argv[]) if (CORBA::is_nil (server.in ())) { ACE_ERROR_RETURN ((LM_ERROR, - "Object reference <%C> is nil.\n", + "Object reference <%s> is nil.\n", ior), 1); } diff --git a/TAO/tests/Faults/middle.cpp b/TAO/tests/Faults/middle.cpp index 7968b420e94..94cac6ee205 100644 --- a/TAO/tests/Faults/middle.cpp +++ b/TAO/tests/Faults/middle.cpp @@ -82,7 +82,7 @@ ACE_TMAIN(int argc, ACE_TCHAR *argv[]) if (CORBA::is_nil (server.in ())) { ACE_ERROR_RETURN ((LM_ERROR, - "Object reference <%C> is nil.\n", + "Object reference <%s> is nil.\n", ior), 1); } diff --git a/TAO/tests/Faults/pong.cpp b/TAO/tests/Faults/pong.cpp index dc51e7fb2f4..322c2cefc01 100644 --- a/TAO/tests/Faults/pong.cpp +++ b/TAO/tests/Faults/pong.cpp @@ -153,7 +153,7 @@ ACE_TMAIN(int argc, ACE_TCHAR *argv[]) if (CORBA::is_nil (server.in ())) { ACE_ERROR_RETURN ((LM_ERROR, - "Object reference <%C> is nil.\n", + "Object reference <%s> is nil.\n", ior), 1); } diff --git a/TAO/tests/Forwarding/client.cpp b/TAO/tests/Forwarding/client.cpp index d451008cd67..c92a7dcf9b6 100644 --- a/TAO/tests/Forwarding/client.cpp +++ b/TAO/tests/Forwarding/client.cpp @@ -160,7 +160,7 @@ Worker::run_test (void) if (CORBA::is_nil (server.in ())) { ACE_ERROR ((LM_ERROR, - "Object reference <%C> is nil.\n", + "Object reference <%s> is nil.\n", ior)); return; } diff --git a/TAO/tests/MProfile/client.cpp b/TAO/tests/MProfile/client.cpp index bf39c2137a9..82281029544 100644 --- a/TAO/tests/MProfile/client.cpp +++ b/TAO/tests/MProfile/client.cpp @@ -93,7 +93,7 @@ ACE_TMAIN(int argc, ACE_TCHAR *argv[]) if (CORBA::is_nil (server.in ())) { ACE_ERROR_RETURN ((LM_ERROR, - "Object reference <%C> is nil.\n", + "Object reference <%s> is nil.\n", ior), 1); } diff --git a/TAO/tests/MProfile_Connection_Timeout/client.cpp b/TAO/tests/MProfile_Connection_Timeout/client.cpp index 70494c31980..4037d69546c 100644 --- a/TAO/tests/MProfile_Connection_Timeout/client.cpp +++ b/TAO/tests/MProfile_Connection_Timeout/client.cpp @@ -124,7 +124,7 @@ ACE_TMAIN(int argc, ACE_TCHAR *argv[]) if (CORBA::is_nil (server.in ())) { ACE_ERROR_RETURN ((LM_ERROR, - "Object reference <%C> is nil.\n", + "Object reference <%s> is nil.\n", ior), 1); } diff --git a/TAO/tests/MT_BiDir/client.cpp b/TAO/tests/MT_BiDir/client.cpp index 3af6ef37361..32fc32eb646 100644 --- a/TAO/tests/MT_BiDir/client.cpp +++ b/TAO/tests/MT_BiDir/client.cpp @@ -99,7 +99,7 @@ ACE_TMAIN(int argc, ACE_TCHAR *argv[]) if (CORBA::is_nil (sender.in ())) { ACE_ERROR_RETURN ((LM_ERROR, - "Object reference <%C> is nil.\n", + "Object reference <%s> is nil.\n", ior), 1); } diff --git a/TAO/tests/MT_Client/client.cpp b/TAO/tests/MT_Client/client.cpp index 0647083f057..e9326f57905 100644 --- a/TAO/tests/MT_Client/client.cpp +++ b/TAO/tests/MT_Client/client.cpp @@ -95,7 +95,7 @@ ACE_TMAIN(int argc, ACE_TCHAR *argv[]) if (CORBA::is_nil (server.in ())) { ACE_ERROR_RETURN ((LM_ERROR, - "Object reference <%C> is nil.\n", + "Object reference <%s> is nil.\n", ior), 1); } diff --git a/TAO/tests/MT_Client/orb_creation.cpp b/TAO/tests/MT_Client/orb_creation.cpp index 596287ee550..1aaae1ef783 100644 --- a/TAO/tests/MT_Client/orb_creation.cpp +++ b/TAO/tests/MT_Client/orb_creation.cpp @@ -88,7 +88,7 @@ ACE_TMAIN(int argc, ACE_TCHAR *argv[]) if (CORBA::is_nil (server.in ())) { ACE_ERROR_RETURN ((LM_ERROR, - "Object reference <%C> is nil.\n", + "Object reference <%s> is nil.\n", ior), 1); } diff --git a/TAO/tests/MT_Server/client.cpp b/TAO/tests/MT_Server/client.cpp index 9ffc25b4fa1..bbd7c0fbf61 100644 --- a/TAO/tests/MT_Server/client.cpp +++ b/TAO/tests/MT_Server/client.cpp @@ -65,7 +65,7 @@ ACE_TMAIN(int argc, ACE_TCHAR *argv[]) if (CORBA::is_nil (server.in ())) { ACE_ERROR_RETURN ((LM_ERROR, - "Object reference <%C> is nil.\n", + "Object reference <%s> is nil.\n", ior), 1); } diff --git a/TAO/tests/Muxed_GIOP_Versions/client.cpp b/TAO/tests/Muxed_GIOP_Versions/client.cpp index 1d686d03137..e6b2d2fabc3 100644 --- a/TAO/tests/Muxed_GIOP_Versions/client.cpp +++ b/TAO/tests/Muxed_GIOP_Versions/client.cpp @@ -99,7 +99,7 @@ ACE_TMAIN(int argc, ACE_TCHAR *argv[]) if (CORBA::is_nil (server.in ())) { ACE_ERROR_RETURN ((LM_ERROR, - "Object reference <%C> is nil.\n", + "Object reference <%s> is nil.\n", ior), 1); } diff --git a/TAO/tests/Native_Exceptions/client.cpp b/TAO/tests/Native_Exceptions/client.cpp index 211bcdbfa23..f5f1f82d65e 100644 --- a/TAO/tests/Native_Exceptions/client.cpp +++ b/TAO/tests/Native_Exceptions/client.cpp @@ -59,7 +59,7 @@ ACE_TMAIN(int argc, ACE_TCHAR *argv[]) if (CORBA::is_nil (server.in ())) { ACE_ERROR_RETURN ((LM_ERROR, - "Object reference <%C> is nil.\n", + "Object reference <%s> is nil.\n", ior), 1); } diff --git a/TAO/tests/No_Server_MT_Connect_Test/client.cpp b/TAO/tests/No_Server_MT_Connect_Test/client.cpp index cb36dfaed2d..a63fac3b1ee 100644 --- a/TAO/tests/No_Server_MT_Connect_Test/client.cpp +++ b/TAO/tests/No_Server_MT_Connect_Test/client.cpp @@ -91,7 +91,7 @@ ACE_TMAIN(int argc, ACE_TCHAR *argv[]) if (CORBA::is_nil (server.in ())) { ACE_ERROR_RETURN ((LM_ERROR, - "Object reference <%C> is nil.\n", + "Object reference <%s> is nil.\n", ior), 1); } diff --git a/TAO/tests/ORT/client.cpp b/TAO/tests/ORT/client.cpp index 8bbfda121c7..9d0945ebd74 100644 --- a/TAO/tests/ORT/client.cpp +++ b/TAO/tests/ORT/client.cpp @@ -53,7 +53,7 @@ ACE_TMAIN(int argc, ACE_TCHAR *argv[]) if (CORBA::is_nil (server.in ())) { ACE_ERROR_RETURN ((LM_ERROR, - "Object reference <%C> is nil.\n", + "Object reference <%s> is nil.\n", ior), 1); } diff --git a/TAO/tests/OctetSeq/client.cpp b/TAO/tests/OctetSeq/client.cpp index 394d242ecd3..ecaf3588334 100644 --- a/TAO/tests/OctetSeq/client.cpp +++ b/TAO/tests/OctetSeq/client.cpp @@ -75,7 +75,7 @@ ACE_TMAIN(int argc, ACE_TCHAR *argv[]) if (CORBA::is_nil (server.in ())) { ACE_ERROR_RETURN ((LM_ERROR, - "Object reference <%C> is nil.\n", + "Object reference <%s> is nil.\n", ior), 1); } @@ -87,7 +87,7 @@ ACE_TMAIN(int argc, ACE_TCHAR *argv[]) if (ACE_OS::strcmp (repository_id.in (), "IDL:Test/Database:1.0") != 0) { ACE_ERROR_RETURN ((LM_ERROR, - "Repository id is wrong <%s>\n", + "Repository id is wrong <%C>\n", repository_id.in ()), 1); } diff --git a/TAO/tests/POA/Bug_1592_Regression/client.cpp b/TAO/tests/POA/Bug_1592_Regression/client.cpp index e5687e1dbe7..8f40fd25861 100644 --- a/TAO/tests/POA/Bug_1592_Regression/client.cpp +++ b/TAO/tests/POA/Bug_1592_Regression/client.cpp @@ -57,7 +57,7 @@ ACE_TMAIN(int argc, ACE_TCHAR *argv[]) if (CORBA::is_nil (server.in ())) { ACE_ERROR_RETURN ((LM_ERROR, - "Object reference <%C> is nil.\n", + "Object reference <%s> is nil.\n", ior), 1); } diff --git a/TAO/tests/Portable_Interceptors/Benchmark/client.cpp b/TAO/tests/Portable_Interceptors/Benchmark/client.cpp index a5832a25c08..6eef1cd21d9 100644 --- a/TAO/tests/Portable_Interceptors/Benchmark/client.cpp +++ b/TAO/tests/Portable_Interceptors/Benchmark/client.cpp @@ -201,7 +201,7 @@ ACE_TMAIN(int argc, ACE_TCHAR *argv[]) if (CORBA::is_nil (server.in ())) { ACE_ERROR_RETURN ((LM_ERROR, - "Object reference <%C> is nil.\n", + "Object reference <%s> is nil.\n", ior), 1); } diff --git a/TAO/tests/Portable_Interceptors/Bug_1559/client.cpp b/TAO/tests/Portable_Interceptors/Bug_1559/client.cpp index 2c7caed87ff..aa45de26dcc 100644 --- a/TAO/tests/Portable_Interceptors/Bug_1559/client.cpp +++ b/TAO/tests/Portable_Interceptors/Bug_1559/client.cpp @@ -96,7 +96,7 @@ ACE_TMAIN(int argc, ACE_TCHAR *argv[]) if (CORBA::is_nil (server.in ())) { ACE_ERROR_RETURN ((LM_ERROR, - "Object reference <%C> is nil.\n", + "Object reference <%s> is nil.\n", ior), 1); } diff --git a/TAO/tests/Portable_Interceptors/Bug_2510_Regression/client.cpp b/TAO/tests/Portable_Interceptors/Bug_2510_Regression/client.cpp index 1eea5613b0b..c93387bb632 100644 --- a/TAO/tests/Portable_Interceptors/Bug_2510_Regression/client.cpp +++ b/TAO/tests/Portable_Interceptors/Bug_2510_Regression/client.cpp @@ -82,7 +82,7 @@ ACE_TMAIN(int argc, ACE_TCHAR *argv[]) if (CORBA::is_nil (server.in ())) { ACE_ERROR_RETURN ((LM_ERROR, - "Object reference <%C> is nil.\n", + "Object reference <%s> is nil.\n", ior), 1); } diff --git a/TAO/tests/Portable_Interceptors/Bug_3079/client.cpp b/TAO/tests/Portable_Interceptors/Bug_3079/client.cpp index afb75cebf6c..4b7d9a3b65e 100644 --- a/TAO/tests/Portable_Interceptors/Bug_3079/client.cpp +++ b/TAO/tests/Portable_Interceptors/Bug_3079/client.cpp @@ -83,7 +83,7 @@ ACE_TMAIN(int argc, ACE_TCHAR *argv[]) if (CORBA::is_nil (server.in ())) { ACE_ERROR_RETURN ((LM_ERROR, - "Object reference <%C> is nil.\n", + "Object reference <%s> is nil.\n", ior1), 1); } diff --git a/TAO/tests/Portable_Interceptors/Bug_3080/client.cpp b/TAO/tests/Portable_Interceptors/Bug_3080/client.cpp index 52b63a1937a..6f5ff90ed13 100644 --- a/TAO/tests/Portable_Interceptors/Bug_3080/client.cpp +++ b/TAO/tests/Portable_Interceptors/Bug_3080/client.cpp @@ -75,7 +75,7 @@ ACE_TMAIN(int argc, ACE_TCHAR *argv[]) if (CORBA::is_nil (server.in ())) { ACE_ERROR_RETURN ((LM_ERROR, - "Object reference <%C> is nil.\n", + "Object reference <%s> is nil.\n", ior1), 1); } diff --git a/TAO/tests/Portable_Interceptors/Dynamic/client.cpp b/TAO/tests/Portable_Interceptors/Dynamic/client.cpp index b3bf4783168..ab68b954615 100644 --- a/TAO/tests/Portable_Interceptors/Dynamic/client.cpp +++ b/TAO/tests/Portable_Interceptors/Dynamic/client.cpp @@ -61,7 +61,7 @@ run_test (Test_Interceptors::Visual_ptr server) ACE_DEBUG ((LM_DEBUG, "the_structure() result is:\n" " flag = %d\n" - " message = %s\n", + " message = %C\n", v->flag, v->message.in ())); @@ -117,7 +117,7 @@ ACE_TMAIN(int argc, ACE_TCHAR *argv[]) if (CORBA::is_nil (server.in ())) { ACE_ERROR_RETURN ((LM_ERROR, - "Object reference <%C> is nil.\n", + "Object reference <%s> is nil.\n", ior), 1); } diff --git a/TAO/tests/Portable_Interceptors/ForwardRequest/client.cpp b/TAO/tests/Portable_Interceptors/ForwardRequest/client.cpp index f9971fe0674..11c70f59631 100644 --- a/TAO/tests/Portable_Interceptors/ForwardRequest/client.cpp +++ b/TAO/tests/Portable_Interceptors/ForwardRequest/client.cpp @@ -86,7 +86,7 @@ ACE_TMAIN(int argc, ACE_TCHAR *argv[]) if (CORBA::is_nil (server.in ())) { ACE_ERROR_RETURN ((LM_ERROR, - "Object reference <%C> is nil.\n", + "Object reference <%s> is nil.\n", ior1), 1); } diff --git a/TAO/tests/Portable_Interceptors/IORInterceptor/client.cpp b/TAO/tests/Portable_Interceptors/IORInterceptor/client.cpp index c505cd13e44..e662312423c 100644 --- a/TAO/tests/Portable_Interceptors/IORInterceptor/client.cpp +++ b/TAO/tests/Portable_Interceptors/IORInterceptor/client.cpp @@ -69,7 +69,7 @@ ACE_TMAIN(int argc, ACE_TCHAR *argv[]) if (CORBA::is_nil (server.in ())) { ACE_ERROR_RETURN ((LM_ERROR, - "Object reference <%C> is nil.\n", + "Object reference <%s> is nil.\n", ior), 1); } diff --git a/TAO/tests/Portable_Interceptors/ORB_Shutdown/client.cpp b/TAO/tests/Portable_Interceptors/ORB_Shutdown/client.cpp index efdd7d8b46a..68bde6ac847 100644 --- a/TAO/tests/Portable_Interceptors/ORB_Shutdown/client.cpp +++ b/TAO/tests/Portable_Interceptors/ORB_Shutdown/client.cpp @@ -58,7 +58,7 @@ ACE_TMAIN(int argc, ACE_TCHAR *argv[]) if (CORBA::is_nil (server.in ())) { ACE_ERROR_RETURN ((LM_ERROR, - "Object reference <%C> is nil.\n", + "Object reference <%s> is nil.\n", ior), 1); } diff --git a/TAO/tests/Portable_Interceptors/PICurrent/client.cpp b/TAO/tests/Portable_Interceptors/PICurrent/client.cpp index f6267836dd6..38702e83179 100644 --- a/TAO/tests/Portable_Interceptors/PICurrent/client.cpp +++ b/TAO/tests/Portable_Interceptors/PICurrent/client.cpp @@ -98,7 +98,7 @@ ACE_TMAIN(int argc, ACE_TCHAR *argv[]) if (CORBA::is_nil (server.in ())) { ACE_ERROR_RETURN ((LM_ERROR, - "Object reference <%C> is nil.\n", + "Object reference <%s> is nil.\n", ior), 1); } diff --git a/TAO/tests/Portable_Interceptors/Redirection/client.cpp b/TAO/tests/Portable_Interceptors/Redirection/client.cpp index 4ba0e14327c..0825bae9023 100644 --- a/TAO/tests/Portable_Interceptors/Redirection/client.cpp +++ b/TAO/tests/Portable_Interceptors/Redirection/client.cpp @@ -79,7 +79,7 @@ ACE_TMAIN(int argc, ACE_TCHAR *argv[]) if (CORBA::is_nil (server.in ())) { ACE_ERROR_RETURN ((LM_ERROR, - "Object reference <%C> is nil.\n", + "Object reference <%s> is nil.\n", ior1), 1); } diff --git a/TAO/tests/Portable_Interceptors/Request_Interceptor_Flow/client.cpp b/TAO/tests/Portable_Interceptors/Request_Interceptor_Flow/client.cpp index 72310c12dfa..bc18fba7e18 100644 --- a/TAO/tests/Portable_Interceptors/Request_Interceptor_Flow/client.cpp +++ b/TAO/tests/Portable_Interceptors/Request_Interceptor_Flow/client.cpp @@ -179,7 +179,7 @@ ACE_TMAIN(int argc, ACE_TCHAR *argv[]) if (CORBA::is_nil (server.in ())) { ACE_ERROR_RETURN ((LM_ERROR, - "Object reference <%C> is nil.\n", + "Object reference <%s> is nil.\n", ior), 1); } diff --git a/TAO/tests/Portable_Interceptors/Service_Context_Manipulation/client.cpp b/TAO/tests/Portable_Interceptors/Service_Context_Manipulation/client.cpp index c08882e9577..f44e09e9bfe 100644 --- a/TAO/tests/Portable_Interceptors/Service_Context_Manipulation/client.cpp +++ b/TAO/tests/Portable_Interceptors/Service_Context_Manipulation/client.cpp @@ -97,7 +97,7 @@ ACE_TMAIN(int argc, ACE_TCHAR *argv[]) if (CORBA::is_nil (server.in ())) { ACE_ERROR_RETURN ((LM_ERROR, - "Object reference <%C> is nil.\n", + "Object reference <%s> is nil.\n", ior), 1); } diff --git a/TAO/tests/Smart_Proxies/Benchmark/client.cpp b/TAO/tests/Smart_Proxies/Benchmark/client.cpp index aad78acf7b9..891debe9049 100644 --- a/TAO/tests/Smart_Proxies/Benchmark/client.cpp +++ b/TAO/tests/Smart_Proxies/Benchmark/client.cpp @@ -152,7 +152,7 @@ ACE_TMAIN(int argc, ACE_TCHAR *argv[]) if (CORBA::is_nil (server.in ())) ACE_ERROR_RETURN ((LM_ERROR, - "Object reference <%C> is nil.\n", + "Object reference <%s> is nil.\n", ior), 1); Marker marker; diff --git a/TAO/tests/Smart_Proxies/On_Demand/client.cpp b/TAO/tests/Smart_Proxies/On_Demand/client.cpp index 085d4b50b33..558dddea467 100644 --- a/TAO/tests/Smart_Proxies/On_Demand/client.cpp +++ b/TAO/tests/Smart_Proxies/On_Demand/client.cpp @@ -73,7 +73,7 @@ ACE_TMAIN(int argc, ACE_TCHAR *argv[]) if (CORBA::is_nil (server.in ())) ACE_ERROR_RETURN ((LM_ERROR, - "Object reference <%C> is nil.\n", + "Object reference <%s> is nil.\n", ior), 1); diff --git a/TAO/tests/Smart_Proxies/client.cpp b/TAO/tests/Smart_Proxies/client.cpp index 8e04f7588f1..621d6fd794f 100644 --- a/TAO/tests/Smart_Proxies/client.cpp +++ b/TAO/tests/Smart_Proxies/client.cpp @@ -86,7 +86,7 @@ ACE_TMAIN(int argc, ACE_TCHAR *argv[]) if (CORBA::is_nil (server.in ())) ACE_ERROR_RETURN ((LM_ERROR, - "Object reference <%C> is nil.\n", + "Object reference <%s> is nil.\n", ior), 1); @@ -97,8 +97,8 @@ ACE_TMAIN(int argc, ACE_TCHAR *argv[]) { status = 1; ACE_ERROR ((LM_ERROR, - "ERROR: The Smart Proxy IOR is:\n%s\n" - "but should have been: %s\n", + "ERROR: The Smart Proxy IOR is:\n%C\n" + "but should have been: %C\n", sm_ior.in (), Smart_Test_Proxy::fake_ior ().c_str ())); } diff --git a/TAO/tests/Smart_Proxies/dtor/client.cpp b/TAO/tests/Smart_Proxies/dtor/client.cpp index 7d1d5afc551..0d9bb73f23a 100644 --- a/TAO/tests/Smart_Proxies/dtor/client.cpp +++ b/TAO/tests/Smart_Proxies/dtor/client.cpp @@ -58,7 +58,7 @@ int ACE_TMAIN (int argc, ACE_TCHAR *argv[]) if (CORBA::is_nil (server.in())) { ACE_ERROR_RETURN ((LM_ERROR, - "Object reference <%C> is nil.\n", + "Object reference <%s> is nil.\n", ior), 1); } diff --git a/TAO/tests/Strategies/client.cpp b/TAO/tests/Strategies/client.cpp index 35f608d685c..72b531d4f32 100644 --- a/TAO/tests/Strategies/client.cpp +++ b/TAO/tests/Strategies/client.cpp @@ -81,7 +81,7 @@ ACE_TMAIN(int argc, ACE_TCHAR *argv[]) if (CORBA::is_nil (server.in ())) { ACE_ERROR_RETURN ((LM_ERROR, - "Object reference <%C> is nil.\n", + "Object reference <%s> is nil.\n", ior), 1); } diff --git a/TAO/tests/Timeout/client.cpp b/TAO/tests/Timeout/client.cpp index 56643266922..689a85e3493 100644 --- a/TAO/tests/Timeout/client.cpp +++ b/TAO/tests/Timeout/client.cpp @@ -104,7 +104,7 @@ int ACE_TMAIN (int argc, ACE_TCHAR *argv[]) if (CORBA::is_nil (server.in ())) { ACE_ERROR_RETURN ((LM_ERROR, - "Object reference <%C> is nil.\n", + "Object reference <%s> is nil.\n", ior), 1); } @@ -235,9 +235,9 @@ int ACE_TMAIN (int argc, ACE_TCHAR *argv[]) for (int i = 0; i < 4; i++) { timeout_count_total += timeout_count[i]; in_time_count_total += in_time_count[i]; - ACE_DEBUG ((LM_DEBUG, "in_time_count[%s]= %d timeout_count[%s]= %d\n", - ACE_TEXT_CHAR_TO_TCHAR (to_type_names[i]), in_time_count[i], - ACE_TEXT_CHAR_TO_TCHAR (to_type_names[i]), timeout_count[i])); + ACE_DEBUG ((LM_DEBUG, "in_time_count[%C]= %d timeout_count[%C]= %d\n", + to_type_names[i], in_time_count[i], + to_type_names[i], timeout_count[i])); } if (timeout_count_total == 0) |