diff options
author | Abdullah Sowayan <sowayan@users.noreply.github.com> | 2007-06-29 01:34:03 +0000 |
---|---|---|
committer | Abdullah Sowayan <sowayan@users.noreply.github.com> | 2007-06-29 01:34:03 +0000 |
commit | c5982b67ad295b131f6a3018321736241a17ef4f (patch) | |
tree | 04307a926b4d15576ea15d2e86d98e49e0eeb468 /TAO/tests/OBV/ValueBox/Test_impl.cpp | |
parent | 893ef20831727d7e4b35ca5b07d1baffeada3c70 (diff) | |
download | ATCD-c5982b67ad295b131f6a3018321736241a17ef4f.tar.gz |
Fri Jun 29 01:27:22 UTC 2007 Abdullah Sowayan <abdullah.sowayan@lmco.com>
Diffstat (limited to 'TAO/tests/OBV/ValueBox/Test_impl.cpp')
-rw-r--r-- | TAO/tests/OBV/ValueBox/Test_impl.cpp | 12 |
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; } |