From 4b7dfd5a9c0e8f5aeacd14b2e629993550eef2b7 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Wed, 26 Apr 2017 21:34:04 +0300 Subject: Add STATUS_DLL_INIT_FAILED process exit status description --- butl/process.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'butl') diff --git a/butl/process.cxx b/butl/process.cxx index c427aa8..c0355d4 100644 --- a/butl/process.cxx +++ b/butl/process.cxx @@ -1282,7 +1282,7 @@ namespace butl switch (status) { case STATUS_ACCESS_VIOLATION: return "access violation"; - case STATUS_STACK_OVERFLOW: return "stack overflow"; + case STATUS_DLL_INIT_FAILED: return "DLL initialization failed"; case STATUS_INTEGER_DIVIDE_BY_ZERO: return "integer divided by zero"; // VC-compiled program that calls abort() terminates with this error code @@ -1291,6 +1291,7 @@ namespace butl // program exits with status 3 for both VC and MinGW GCC. Sounds weird. // case STATUS_STACK_BUFFER_OVERRUN: return "stack buffer overrun"; + case STATUS_STACK_OVERFLOW: return "stack overflow"; default: { -- cgit v1.1