From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Cleanup of byte-compiled files missing? Date: Wed, 22 Sep 2010 09:18:47 +0200 Message-ID: <83sk12w8iw.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1285139998 30636 80.91.229.12 (22 Sep 2010 07:19:58 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 22 Sep 2010 07:19:58 +0000 (UTC) Cc: emacs-devel@gnu.org To: Glenn Morris Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Sep 22 09:19:56 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OyJcJ-0007n6-EW for ged-emacs-devel@m.gmane.org; Wed, 22 Sep 2010 09:19:54 +0200 Original-Received: from localhost ([127.0.0.1]:35038 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OyJcA-0001NI-4s for ged-emacs-devel@m.gmane.org; Wed, 22 Sep 2010 03:19:38 -0400 Original-Received: from [140.186.70.92] (port=43115 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OyJc0-0001M3-G3 for emacs-devel@gnu.org; Wed, 22 Sep 2010 03:19:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OyJbz-0007qy-Bv for emacs-devel@gnu.org; Wed, 22 Sep 2010 03:19:28 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:59078) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OyJbz-0007qm-5K; Wed, 22 Sep 2010 03:19:27 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0L950080007V2A00@a-mtaout22.012.net.il>; Wed, 22 Sep 2010 09:18:45 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([77.127.203.3]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0L95007GV0B8R360@a-mtaout22.012.net.il>; Wed, 22 Sep 2010 09:18:45 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:130598 Archived-At: > From: Glenn Morris > 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.