projects
/
wine
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27398d4
)
Terminate process on unhandled ^C exception instead of launching the
author
Alexandre Julliard
<julliard@winehq.org>
Tue, 20 Mar 2001 02:01:10 +0000
(
02:01
+0000)
committer
Alexandre Julliard
<julliard@winehq.org>
Tue, 20 Mar 2001 02:01:10 +0000
(
02:01
+0000)
debugger.
win32/except.c
patch
|
blob
|
blame
|
history
diff --git
a/win32/except.c
b/win32/except.c
index
f797e3d
..
696b8e5
100644
(file)
--- a/
win32/except.c
+++ b/
win32/except.c
@@
-201,6
+201,11
@@
DWORD WINAPI UnhandledExceptionFilter(PEXCEPTION_POINTERS epointers)
TerminateProcess( GetCurrentProcess(), epointers->ExceptionRecord->ExceptionCode );
break; /* not reached */
case 0: /* no debugger is present */
+ if (epointers->ExceptionRecord->ExceptionCode == CONTROL_C_EXIT)
+ {
+ /* do not launch the debugger on ^C, simply terminate the process */
+ TerminateProcess( GetCurrentProcess(), 1 );
+ }
break;
default:
FIXME("Unsupported yet debug continue value %d (please report)\n", status);