summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/tests/FT_App/StubFaultAnalyzer.cpp
diff options
context:
space:
mode:
authorjohn_c <john_c@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2006-05-08 23:00:05 +0000
committerjohn_c <john_c@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2006-05-08 23:00:05 +0000
commitd1160e68b1301a8b0e120ba8da56bb2e7d4fb49e (patch)
treecf04398acb7ad9fb45311eb105d60975028bbc03 /TAO/orbsvcs/tests/FT_App/StubFaultAnalyzer.cpp
parent1c3dd540264435be21072a3a69a8a8e969bd2b1a (diff)
downloadATCD-oci_wchar_refactor_post_1_5_1_branch.tar.gz
Fri May 5 14:33:29 UTC 2006 Ciju John <john_c@ociweb.com>oci_wchar_refactor_post_1_5_1_branch
Diffstat (limited to 'TAO/orbsvcs/tests/FT_App/StubFaultAnalyzer.cpp')
-rw-r--r--TAO/orbsvcs/tests/FT_App/StubFaultAnalyzer.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/TAO/orbsvcs/tests/FT_App/StubFaultAnalyzer.cpp b/TAO/orbsvcs/tests/FT_App/StubFaultAnalyzer.cpp
index 56731cf5f59..2f1ddc40202 100644
--- a/TAO/orbsvcs/tests/FT_App/StubFaultAnalyzer.cpp
+++ b/TAO/orbsvcs/tests/FT_App/StubFaultAnalyzer.cpp
@@ -4,6 +4,7 @@
#include "StubFaultAnalyzer.h"
#include "ace/Get_Opt.h"
+#include "ace/Argv_Type_Converter.h"
#include "orbsvcs/PortableGroup/PG_Properties_Encoder.h"
// FUZZ: disable check_for_streams_include
#include "ace/streams.h"
@@ -25,7 +26,7 @@ StubFaultAnalyzer::~StubFaultAnalyzer ()
int StubFaultAnalyzer::parse_args (int argc, char * argv[])
{
int optionError = 0;
- ACE_Get_Opt get_opts (argc, argv, "o:r:d:n:");
+ ACE_Get_Arg_Opt<char> get_opts (argc, argv, "o:r:d:n:");
int c;
while ((c = get_opts ()) != -1)
{
@@ -228,7 +229,7 @@ int StubFaultAnalyzer::init (CORBA::ORB_ptr orb ACE_ENV_ARG_DECL)
if (result == 0 && this->readyFile_ != 0)
{
- FILE *ready = ACE_OS::fopen (this->readyFile_, "w");
+ FILE *ready = ACE_OS::fopen (this->readyFile_, ACE_TEXT("w"));
if ( ready )
{
ACE_OS::fprintf (ready, "ready\n");