summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/tests/FT_App/FT_TestReplica_i.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/FT_TestReplica_i.cpp
parent1c3dd540264435be21072a3a69a8a8e969bd2b1a (diff)
downloadATCD-d1160e68b1301a8b0e120ba8da56bb2e7d4fb49e.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/FT_TestReplica_i.cpp')
-rw-r--r--TAO/orbsvcs/tests/FT_App/FT_TestReplica_i.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/TAO/orbsvcs/tests/FT_App/FT_TestReplica_i.cpp b/TAO/orbsvcs/tests/FT_App/FT_TestReplica_i.cpp
index ad89659b3bc..3cd2451a91e 100644
--- a/TAO/orbsvcs/tests/FT_App/FT_TestReplica_i.cpp
+++ b/TAO/orbsvcs/tests/FT_App/FT_TestReplica_i.cpp
@@ -451,7 +451,7 @@ void FT_TestReplica_i::request_quit()
void FT_TestReplica_i::store(long counter)
{
- FILE * f = ACE_OS::fopen("Persistent.dat", "w");
+ FILE * f = ACE_OS::fopen("Persistent.dat", ACE_TEXT("w"));
if(f != 0)
{
unsigned char* buffer = 0;
@@ -472,7 +472,7 @@ void FT_TestReplica_i::store(long counter)
long FT_TestReplica_i::load ()
{
long counter = 0;
- FILE * f = ACE_OS::fopen("Persistent.dat","r");
+ FILE * f = ACE_OS::fopen("Persistent.dat",ACE_TEXT("r"));
if(f != 0)
{
unsigned char buffer[sizeof(long)];