summaryrefslogtreecommitdiff
path: root/TAO/tests/Crashed_Callback
diff options
context:
space:
mode:
authorkitty <kitty@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-06-16 02:01:49 +0000
committerkitty <kitty@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-06-16 02:01:49 +0000
commit17dbb59750de4f012ef664ec4e3bfad1067be137 (patch)
tree7eab7c7499a118ee0d4687efaa426b54de8ee5dc /TAO/tests/Crashed_Callback
parent4c0a8337d45f928e38ca2ae5a8d7dd287dc9de1f (diff)
downloadATCD-17dbb59750de4f012ef664ec4e3bfad1067be137.tar.gz
ChangeLogTag: Fri Jun 15 20:55:13 2001 Krishnakumar B <kitty@cs.wustl.edu>
Diffstat (limited to 'TAO/tests/Crashed_Callback')
-rw-r--r--TAO/tests/Crashed_Callback/Crashed_Callback.cpp10
1 files changed, 9 insertions, 1 deletions
diff --git a/TAO/tests/Crashed_Callback/Crashed_Callback.cpp b/TAO/tests/Crashed_Callback/Crashed_Callback.cpp
index 0e26ff16ba1..637c20c582f 100644
--- a/TAO/tests/Crashed_Callback/Crashed_Callback.cpp
+++ b/TAO/tests/Crashed_Callback/Crashed_Callback.cpp
@@ -21,7 +21,15 @@ Crashed_Callback::crash_now_please (CORBA::Environment &)
ACE_THROW_SPEC ((CORBA::SystemException))
{
ACE_DEBUG ((LM_DEBUG,
- "(%P|%t) Crashed_Callback - crashing application %a\n"));
+ "(%P|%t) Crashed_Callback - crashing application \n"));
+// Tru64 seems to hang and not abort and dump core when abort() is called
+// here. This needs further investigation. This fix is a temporary one.
+#if defined (DIGITAL_UNIX) || defined (DEC_CXX)
+ ACE_OS::_exit();
+#else
+ ACE_OS::abort();
+#endif
+
}
void