diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2004-11-29 13:19:38 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2004-11-29 13:19:38 +0000 |
commit | 67fbc3901cc709cf41fe4001641f1ac06d01fe0f (patch) | |
tree | 2e3d0f7fe409dc761f6377e9997e3cb1fdba5dd4 /TAO/orbsvcs/tests/FT_App/ReplicationManagerFaultConsumerAdapter.cpp | |
parent | 991a3748f01151503806925f168e694c95da07ac (diff) | |
download | ATCD-67fbc3901cc709cf41fe4001641f1ac06d01fe0f.tar.gz |
ChangeLogTag: Mon Nov 29 13:15:12 UTC 2004 Martin Corino <mcorino@remedy.nl>
Diffstat (limited to 'TAO/orbsvcs/tests/FT_App/ReplicationManagerFaultConsumerAdapter.cpp')
-rwxr-xr-x | TAO/orbsvcs/tests/FT_App/ReplicationManagerFaultConsumerAdapter.cpp | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/TAO/orbsvcs/tests/FT_App/ReplicationManagerFaultConsumerAdapter.cpp b/TAO/orbsvcs/tests/FT_App/ReplicationManagerFaultConsumerAdapter.cpp index 66e48bc950c..5a4d6bb4115 100755 --- a/TAO/orbsvcs/tests/FT_App/ReplicationManagerFaultConsumerAdapter.cpp +++ b/TAO/orbsvcs/tests/FT_App/ReplicationManagerFaultConsumerAdapter.cpp @@ -8,6 +8,7 @@ #include "orbsvcs/FT_ReplicationManager/FT_DefaultFaultAnalyzer.h" // FUZZ: disable check_for_streams_include #include "ace/streams.h" +#include "ace/OS_NS_stdio.h" ReplicationManagerFaultConsumerAdapter::ReplicationManagerFaultConsumerAdapter() : orb_(CORBA::ORB::_nil()) @@ -334,9 +335,12 @@ int ReplicationManagerFaultConsumerAdapter::init ( // Signal that we are ready to go. if (result == 0 && this->readyFile_ != 0) { - ofstream ready (this->readyFile_, ios::out); - ready << "ready" << endl; - ready.close(); + FILE* ready = ACE_OS::fopen (this->readyFile_, "w"); + if (ready) + { + ACE_OS::fprintf (ready, "ready\n"); + ACE_OS::fclose (ready); + } } } |