summaryrefslogtreecommitdiff
path: root/TAO/tests/OBV/ValueBox/Test_impl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/OBV/ValueBox/Test_impl.cpp')
-rw-r--r--TAO/tests/OBV/ValueBox/Test_impl.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/TAO/tests/OBV/ValueBox/Test_impl.cpp b/TAO/tests/OBV/ValueBox/Test_impl.cpp
index 6ef251b7b85..ec5b020d1c5 100644
--- a/TAO/tests/OBV/ValueBox/Test_impl.cpp
+++ b/TAO/tests/OBV/ValueBox/Test_impl.cpp
@@ -20,11 +20,11 @@ void rotate_string(char *s)
unsigned char c;
size_t l;
- l = strlen(s);
+ l = ACE_OS::strlen(s);
if (l>1)
{
c = s[l-1];
- memmove(&s[1], &s[0], l-1);
+ ACE_OS::memmove(&s[1], &s[0], l-1);
s[0] = c;
}
}
@@ -106,14 +106,14 @@ Test_impl::string_op2 (const char * p1,
{
rotate_string (p2);
- p3 = CORBA::string_alloc (strlen(p2));
- strcpy (p3, p2);
+ p3 = CORBA::string_alloc (ACE_OS::strlen(p2));
+ ACE_OS::strcpy (p3, p2);
rotate_string ((char *) p1);
char *return_string;
- return_string = CORBA::string_alloc (strlen(p1));
- strcpy (return_string, p1);
+ return_string = CORBA::string_alloc (ACE_OS::strlen(p1));
+ ACE_OS::strcpy (return_string, p1);
return return_string;
}