emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cleanup of byte-compiled files missing?


From: Eli Zaretskii
Subject: Re: Cleanup of byte-compiled files missing?
Date: Wed, 22 Sep 2010 09:18:47 +0200

> From: Glenn Morris <address@hidden>
> Date: Tue, 21 Sep 2010 21:33:47 -0400
> 
> !       if (sig == SIGTERM || sig == SIGHUP || sig == SIGINT)
>           Fkill_emacs (make_number (sig));
>   
>         shut_down_emacs (sig, 0, Qnil);
> ***************
> *** 1236,1241 ****
> --- 1236,1242 ----
>   #ifdef SIGSYS
>         signal (SIGSYS, fatal_error_signal);
>   #endif
> +       if ( noninteractive ) signal (SIGINT, fatal_error_signal);

This will need to be "fixed" on MS-Windows, where a console program
interrupted with SIGINT runs the signal handler in a separate thread,
courtesy of MS runtime, which Emacs code doesn't expect.  If someone
wants to work on that, look in job.c from GNU Make, where I fixed a
similar problem.  Or maybe careful study of the issue will conclude
that running the handler in a separate thread is fine in Emacs, and
nothing special should be done.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]