From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#12829: 24.3.50; emacs_abort () called from w32proc.c:1128 Date: Sat, 17 Nov 2012 18:50:43 +0200 Message-ID: <837gpk2mxo.fsf@gnu.org> References: <509E96E4.1080702@optusnet.com.au> <831ufs4sff.fsf@gnu.org> <50A7AEDA.8060801@cs.ucla.edu> <838va02q64.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1353171138 28118 80.91.229.3 (17 Nov 2012 16:52:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 17 Nov 2012 16:52:18 +0000 (UTC) Cc: 12829-done@debbugs.gnu.org To: eggert@cs.ucla.edu, stephen_powell@optusnet.com.au Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Nov 17 17:52:28 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TZld6-0001e8-3a for geb-bug-gnu-emacs@m.gmane.org; Sat, 17 Nov 2012 17:52:28 +0100 Original-Received: from localhost ([::1]:59429 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TZlcw-0003oy-3R for geb-bug-gnu-emacs@m.gmane.org; Sat, 17 Nov 2012 11:52:18 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:55704) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TZlcr-0003no-Fm for bug-gnu-emacs@gnu.org; Sat, 17 Nov 2012 11:52:16 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TZlco-0001KD-CJ for bug-gnu-emacs@gnu.org; Sat, 17 Nov 2012 11:52:13 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40848) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TZlco-0001Jz-8z for bug-gnu-emacs@gnu.org; Sat, 17 Nov 2012 11:52:10 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TZlde-0005pX-T8 for bug-gnu-emacs@gnu.org; Sat, 17 Nov 2012 11:53:02 -0500 Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sat, 17 Nov 2012 16:53:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 12829 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 12829@debbugs.gnu.org, eliz@gnu.org, stephen_powell@optusnet.com.au Original-Received: via spool by 12829-done@debbugs.gnu.org id=D12829.135317113322349 (code D ref 12829); Sat, 17 Nov 2012 16:53:01 +0000 Original-Received: (at 12829-done) by debbugs.gnu.org; 17 Nov 2012 16:52:13 +0000 Original-Received: from localhost ([127.0.0.1]:51098 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TZlcq-0005oO-A9 for submit@debbugs.gnu.org; Sat, 17 Nov 2012 11:52:13 -0500 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:43421) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TZlcm-0005oF-TL for 12829-done@debbugs.gnu.org; Sat, 17 Nov 2012 11:52:10 -0500 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MDN002005921V00@a-mtaout22.012.net.il> for 12829-done@debbugs.gnu.org; Sat, 17 Nov 2012 18:51:14 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MDN002CN5HB2010@a-mtaout22.012.net.il>; Sat, 17 Nov 2012 18:51:11 +0200 (IST) In-reply-to: <838va02q64.fsf@gnu.org> X-012-Sender: halo1@inter.net.il X-Spam-Score: 1.5 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-Spam-Score: 0.7 (/) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:67063 Archived-At: > Date: Sat, 17 Nov 2012 17:40:51 +0200 > From: Eli Zaretskii > Cc: stephen_powell@optusnet.com.au, 12829@debbugs.gnu.org > > > Date: Sat, 17 Nov 2012 07:35:54 -0800 > > From: Paul Eggert > > CC: Stephen Powell , > > 12829@debbugs.gnu.org > > > > On 11/16/2012 11:09 PM, Eli Zaretskii wrote: > > > Any news? Should I commit the changes? > > > > I don't see anything about it that would break things, > > though I'm looking only at the non-Windows part. > > Thanks, I will install in a short while. Done as trunk revision 110922. I'm closing the bug report. > > The following change to wait_for_termination_1 > > would be simpler, assuming the Windows waitpid emulation > > is good enough now. > > > > === modified file 'src/sysdep.c' > > --- src/sysdep.c 2012-11-14 04:55:41 +0000 > > +++ src/sysdep.c 2012-11-17 15:33:25 +0000 > > @@ -289,10 +289,6 @@ wait_for_termination_1 (pid_t pid, int i > > { > > while (1) > > { > > -#ifdef WINDOWSNT > > - wait (0); > > - break; > > -#else /* not WINDOWSNT */ > > int status; > > int wait_result = waitpid (pid, &status, 0); > > if (wait_result < 0) > > @@ -306,7 +302,6 @@ wait_for_termination_1 (pid_t pid, int i > > break; > > } > > > > -#endif /* not WINDOWSNT */ > > if (interruptible) > > QUIT; > > } > > Yes, I plan to do that Done as well. I also removed the remaining fragments that catered to systems without WNOHANG, as there are no such system anymore.