From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- sys-devel/parity/files/parity-1.2.6-debugging.patch | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 sys-devel/parity/files/parity-1.2.6-debugging.patch (limited to 'sys-devel/parity/files/parity-1.2.6-debugging.patch') diff --git a/sys-devel/parity/files/parity-1.2.6-debugging.patch b/sys-devel/parity/files/parity-1.2.6-debugging.patch new file mode 100644 index 000000000000..709f46ee9734 --- /dev/null +++ b/sys-devel/parity/files/parity-1.2.6-debugging.patch @@ -0,0 +1,17 @@ +--- parity.runtime/diagnose.c.orig 2012-09-28 17:12:54 +0200 ++++ parity.runtime/diagnose.c 2012-09-28 17:11:14 +0200 +@@ -745,9 +745,11 @@ + CloseHandle(hCore); + } + +- // abort on fatal exceptions +- TerminateProcess(GetCurrentProcess(), 1); +- ExitProcess(1); ++ if (!IsDebuggerPresent()) { ++ // abort on fatal exceptions ++ TerminateProcess(GetCurrentProcess(), 1); ++ ExitProcess(1); ++ } + return EXCEPTION_CONTINUE_SEARCH; + } + -- cgit v1.2.3