stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From far...@apache.org
Subject svn commit: r553587 - /incubator/stdcxx/trunk/tests/self/0.new.cpp
Date Thu, 05 Jul 2007 18:13:04 GMT
Author: faridz
Date: Thu Jul  5 11:13:04 2007
New Revision: 553587

URL: http://svn.apache.org/viewvc?view=rev&rev=553587
Log:
2007-07-05 Farid Zaripov <Farid_Zaripov@epam.com>

	* 0.new.cpp: Catch SIGSEGV signal as SIGABRT.

Modified:
    incubator/stdcxx/trunk/tests/self/0.new.cpp

Modified: incubator/stdcxx/trunk/tests/self/0.new.cpp
URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/tests/self/0.new.cpp?view=diff&rev=553587&r1=553586&r2=553587
==============================================================================
--- incubator/stdcxx/trunk/tests/self/0.new.cpp (original)
+++ incubator/stdcxx/trunk/tests/self/0.new.cpp Thu Jul  5 11:13:04 2007
@@ -61,6 +61,7 @@
 #define FAIL(code)                                              \
     fail = line = __LINE__;                                     \
     signal (SIGABRT, handle_ABRT);                              \
+    signal (SIGSEGV, handle_ABRT);                              \
     if (0 == setjmp (env)) {                                    \
         code;                                                   \
         exit_status = 1;                                        \
@@ -72,6 +73,7 @@
 #define PASS(code)                                              \
     fail = -1; line = __LINE__;                                 \
     signal (SIGABRT, handle_ABRT);                              \
+    signal (SIGSEGV, handle_ABRT);                              \
     if (0 == setjmp (env)) {                                    \
         code;                                                   \
     }                                                           \



Mime
View raw message