stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From far...@apache.org
Subject svn commit: r577004 - /incubator/stdcxx/trunk/util/exec.cpp
Date Tue, 18 Sep 2007 18:03:43 GMT
Author: faridz
Date: Tue Sep 18 11:03:42 2007
New Revision: 577004

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

	* exec.cpp [_WIN32]: Added STATUS_INVALID_CRUNTIME_PARAMETER
	to the nt_status_map (detected on x64 Windows).

Modified:
    incubator/stdcxx/trunk/util/exec.cpp

Modified: incubator/stdcxx/trunk/util/exec.cpp
URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/util/exec.cpp?rev=577004&r1=577003&r2=577004&view=diff
==============================================================================
--- incubator/stdcxx/trunk/util/exec.cpp (original)
+++ incubator/stdcxx/trunk/util/exec.cpp Tue Sep 18 11:03:42 2007
@@ -62,10 +62,13 @@
 #    define SIGSTKFLT 16  // STATUS_FLOAT_STACK_CHECK translated into SIGSTKFLT
 #  endif
 #  ifndef STATUS_INVALID_PARAMETER
-#    define STATUS_INVALID_PARAMETER     ((DWORD)0xC000000DL)
+#    define STATUS_INVALID_PARAMETER          ((DWORD)0xC000000DL)
 #  endif
 #  ifndef STATUS_STACK_BUFFER_OVERRUN
-#    define STATUS_STACK_BUFFER_OVERRUN  ((DWORD)0xC0000409L)
+#    define STATUS_STACK_BUFFER_OVERRUN       ((DWORD)0xC0000409L)
+#  endif
+#  ifndef STATUS_INVALID_CRUNTIME_PARAMETER
+#    define STATUS_INVALID_CRUNTIME_PARAMETER ((DWORD)0xC0000417L)
 #  endif
 #endif
 #include <sys/stat.h> /* for S_* */
@@ -872,23 +875,24 @@
     DWORD nt_status;
     int   signal;
 } nt_status_map [] = {
-    { STATUS_BREAKPOINT,              SIGTRAP   },
-    { STATUS_ACCESS_VIOLATION,        SIGSEGV   },
-    { STATUS_STACK_OVERFLOW,          SIGSEGV   },
-    { STATUS_STACK_BUFFER_OVERRUN,    SIGSEGV   },
-    { STATUS_IN_PAGE_ERROR,           SIGBUS    },
-    { STATUS_ILLEGAL_INSTRUCTION,     SIGILL    },
-    { STATUS_PRIVILEGED_INSTRUCTION,  SIGILL    },
-    { STATUS_FLOAT_DENORMAL_OPERAND,  SIGFPE    },
-    { STATUS_FLOAT_DIVIDE_BY_ZERO,    SIGFPE    },
-    { STATUS_FLOAT_INEXACT_RESULT,    SIGFPE    },
-    { STATUS_FLOAT_INVALID_OPERATION, SIGFPE    },
-    { STATUS_FLOAT_OVERFLOW,          SIGFPE    },
-    { STATUS_FLOAT_UNDERFLOW,         SIGFPE    },
-    { STATUS_INTEGER_DIVIDE_BY_ZERO,  SIGFPE    },
-    { STATUS_INTEGER_OVERFLOW,        SIGFPE    },
-    { STATUS_FLOAT_STACK_CHECK,       SIGSTKFLT },
-    { STATUS_INVALID_PARAMETER,       SIGSYS    }
+    { STATUS_BREAKPOINT,                 SIGTRAP   },
+    { STATUS_ACCESS_VIOLATION,           SIGSEGV   },
+    { STATUS_STACK_OVERFLOW,             SIGSEGV   },
+    { STATUS_STACK_BUFFER_OVERRUN,       SIGSEGV   },
+    { STATUS_IN_PAGE_ERROR,              SIGBUS    },
+    { STATUS_ILLEGAL_INSTRUCTION,        SIGILL    },
+    { STATUS_PRIVILEGED_INSTRUCTION,     SIGILL    },
+    { STATUS_FLOAT_DENORMAL_OPERAND,     SIGFPE    },
+    { STATUS_FLOAT_DIVIDE_BY_ZERO,       SIGFPE    },
+    { STATUS_FLOAT_INEXACT_RESULT,       SIGFPE    },
+    { STATUS_FLOAT_INVALID_OPERATION,    SIGFPE    },
+    { STATUS_FLOAT_OVERFLOW,             SIGFPE    },
+    { STATUS_FLOAT_UNDERFLOW,            SIGFPE    },
+    { STATUS_INTEGER_DIVIDE_BY_ZERO,     SIGFPE    },
+    { STATUS_INTEGER_OVERFLOW,           SIGFPE    },
+    { STATUS_FLOAT_STACK_CHECK,          SIGSTKFLT },
+    { STATUS_INVALID_PARAMETER,          SIGSYS    },
+    { STATUS_INVALID_CRUNTIME_PARAMETER, SIGSYS    }
 };
 
 



Mime
View raw message