Module: wine Branch: master Commit: 8908bdbb737a76a99fb194d5a465063fa35c2f08 URL: https://source.winehq.org/git/wine.git/?a=commit;h=8908bdbb737a76a99fb194d5a...
Author: Huw Davies huw@codeweavers.com Date: Mon Oct 8 13:57:52 2018 +0100
winedbg: Ignore ^C events in the parent 32-bit process.
Signed-off-by: Huw Davies huw@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
programs/winedbg/winedbg.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/programs/winedbg/winedbg.c b/programs/winedbg/winedbg.c index 0e45186..8634c0f 100644 --- a/programs/winedbg/winedbg.c +++ b/programs/winedbg/winedbg.c @@ -652,6 +652,7 @@ static void restart_if_wow64(void) if (CreateProcessW( filename, GetCommandLineW(), NULL, NULL, FALSE, 0, NULL, NULL, &si, &pi )) { WINE_TRACE( "restarting %s\n", wine_dbgstr_w(filename) ); + SetConsoleCtrlHandler( NULL, TRUE ); /* Ignore ^C */ WaitForSingleObject( pi.hProcess, INFINITE ); GetExitCodeProcess( pi.hProcess, &exit_code ); ExitProcess( exit_code );