diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /sys-devel/parity/files |
reinit the tree, so we can have metadata
Diffstat (limited to 'sys-devel/parity/files')
-rw-r--r-- | sys-devel/parity/files/parity-1.2.6-debugging.patch | 17 |
1 files changed, 17 insertions, 0 deletions
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; + } + |