From cfe895f6620d22c046025027b5252e928279bf20 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 24 May 2017 15:24:29 +0200 Subject: Remove msys instrumentation --- libbutl/process.cxx | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'libbutl/process.cxx') diff --git a/libbutl/process.cxx b/libbutl/process.cxx index 2a85cca..d78b64f 100644 --- a/libbutl/process.cxx +++ b/libbutl/process.cxx @@ -1280,8 +1280,6 @@ namespace butl msys = i->second; } - msys_ = msys; //@@ TMP - for (size_t ret (0); ret != 40; ++ret) { if (!CreateProcess ( @@ -1344,7 +1342,6 @@ namespace butl { exit = process_exit (); exit->status = es; - exit->msys_ = msys_; } else { @@ -1381,7 +1378,6 @@ namespace butl exit = process_exit (); exit->status = es; - exit->msys_ = msys_; } return true; @@ -1468,8 +1464,7 @@ namespace butl switch (status) { case STATUS_ACCESS_VIOLATION: return "access violation"; - case STATUS_DLL_INIT_FAILED: return "DLL initialization failed" + - string (msys_ ? (*msys_ ? " (MSYS)" : " (not MSYS)") : " (unknown)"); + 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 -- cgit v1.1