summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOssama Othman <ossama-othman@users.noreply.github.com>2003-08-29 05:31:11 +0000
committerOssama Othman <ossama-othman@users.noreply.github.com>2003-08-29 05:31:11 +0000
commit01b2816357c28474cbb3eb18304aea3786eade5e (patch)
tree2cfae68ec8bede5aefb9550dd08539041cdb31dc
parent5dc06470381fd77820bf180f58e67f0cd7987703 (diff)
downloadATCD-01b2816357c28474cbb3eb18304aea3786eade5e.tar.gz
ChangeLogTag:Thu Aug 28 22:29:03 2003 Ossama Othman <ossama@dre.vanderbilt.edu>
-rw-r--r--ChangeLog7
-rw-r--r--tests/Bug_1576_Regression_Test.cpp12
2 files changed, 13 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index 5f481003dcc..01ff9c02593 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+Thu Aug 28 22:29:03 2003 Ossama Othman <ossama@dre.vanderbilt.edu>
+
+ From Don Hinton <dhinton@dresystems.com>
+ * tests/Bug_1576_Regression_Test.cpp:
+
+ Updated to work in wchar builds.
+
Thu Aug 28 07:57:33 2003 Chad Elliott <elliott_c@ociweb.com>
* bin/MakeProjectCreator/modules/Driver.pm:
diff --git a/tests/Bug_1576_Regression_Test.cpp b/tests/Bug_1576_Regression_Test.cpp
index c0bff1eff6a..d389d83a440 100644
--- a/tests/Bug_1576_Regression_Test.cpp
+++ b/tests/Bug_1576_Regression_Test.cpp
@@ -23,7 +23,7 @@ run_main (int, ACE_TCHAR *[])
ACE_DLL dll;
- char const dll_name[] = "NOT_A_DLL.so";
+ const ACE_TCHAR * dll_name = ACE_TEXT ("NOT_A_DLL.so");
// Normally applications should check the return value, but if they
// ignore it...
@@ -32,30 +32,30 @@ run_main (int, ACE_TCHAR *[])
if(result == -1)
{
ACE_DEBUG ((LM_DEBUG,
- "Load failed, as expected (%s)\n",
+ ACE_TEXT ("Load failed, as expected (%s)\n"),
dll.error ()));
}
else
{
ACE_ERROR((LM_ERROR,
- "Success loading %s ? It should have failed!\n",
+ ACE_TEXT ("Success loading %s ? It should have failed!\n"),
dll_name));
}
// ... and then use the DLL library, the program crashes (instead of
// just getting an error ...
- void * symbol = dll.symbol ("SHOULD_CRASH");
+ void * symbol = dll.symbol (ACE_TEXT ("SHOULD_CRASH"));
if(symbol == 0)
{
ACE_DEBUG((LM_DEBUG,
- "Symbol lookup failed, as expected (%s)\n",
+ ACE_TEXT ("Symbol lookup failed, as expected (%s)\n"),
dll.error ()));
}
else
{
ACE_ERROR ((LM_ERROR,
- "Found symbol ? It should have failed!\n"));
+ ACE_TEXT ("Found symbol ? It should have failed!\n")));
}
ACE_END_TEST;