From 8b7e39c0dfaef5a30d5adf40f6ed5568fd8b5d8a Mon Sep 17 00:00:00 2001 From: irfan Date: Wed, 11 Dec 1996 11:02:03 +0000 Subject: *** empty log message *** --- tests/Naming_Test.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'tests/Naming_Test.cpp') diff --git a/tests/Naming_Test.cpp b/tests/Naming_Test.cpp index fcd948a2eb1..09d72e42cd8 100644 --- a/tests/Naming_Test.cpp +++ b/tests/Naming_Test.cpp @@ -127,10 +127,10 @@ main (int argc, char *argv[]) name_options->parse_args (argc, argv); - char temp_file [BUFSIZ]; + TCHAR temp_file [BUFSIZ]; ACE_OS::strcpy (temp_file, ACE::basename (name_options->process_name (), ACE_DIRECTORY_SEPARATOR_CHAR)); - ACE_OS::strcat (temp_file, "XXXXXX"); + ACE_OS::strcat (temp_file, __TEXT ("XXXXXX")); // Set the database name using mktemp to generate a unique file name name_options->database (ACE_OS::mktemp (temp_file)); @@ -153,10 +153,10 @@ main (int argc, char *argv[]) // No more bindings in database so find should return -1 find (ns_context, -1, -1); - ::sprintf (temp_file, "%s%s%s", - name_options->namespace_dir (), - ACE_DIRECTORY_SEPARATOR_STR, - name_options->database ()); + ACE_OS::sprintf (temp_file, __TEXT ("%s%s%s"), + name_options->namespace_dir (), + ACE_DIRECTORY_SEPARATOR_STR, + name_options->database ()); // Remove any existing files. No need to check return value here // since we don't care if the file doesn't exist. -- cgit v1.2.1