diff options
| author | Eli Zaretskii <eliz@gnu.org> | 2012-01-14 22:15:01 +0200 |
|---|---|---|
| committer | Eli Zaretskii <eliz@gnu.org> | 2012-01-14 22:15:01 +0200 |
| commit | c85efaf73fd8447ea9da54da42a615fd59679f2d (patch) | |
| tree | dbf7adc7350ad033c91cbca6f9dcac2b83d67561 /src/w32fns.c | |
| parent | 688070a52955c1046a3b2a373956725926703c9d (diff) | |
| download | emacs-c85efaf73fd8447ea9da54da42a615fd59679f2d.tar.gz | |
Fix bug #9087 with crashes on MS-Windows under throw-on-input.
src/w32fns.c (signal_user_input): Don't do a QUIT, to avoid
thrashing the stack of the thread.
Diffstat (limited to 'src/w32fns.c')
| -rw-r--r-- | src/w32fns.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/w32fns.c b/src/w32fns.c index 1fcf29fbcfd..510d1e94f16 100644 --- a/src/w32fns.c +++ b/src/w32fns.c @@ -2479,6 +2479,10 @@ signal_user_input (void) if (!NILP (Vthrow_on_input)) { Vquit_flag = Vthrow_on_input; + /* Doing a QUIT from this thread is a bad idea, since this + unwinds the stack of the Lisp thread, and the Windows runtime + rightfully barfs. Disabled. */ +#if 0 /* If we're inside a function that wants immediate quits, do it now. */ if (immediate_quit && NILP (Vinhibit_quit)) @@ -2486,6 +2490,7 @@ signal_user_input (void) immediate_quit = 0; QUIT; } +#endif } } |
