From xemacs-m  Tue Mar 18 22:43:53 1997
Received: from altair.xemacs.org (steve@xemacs.miranova.com [206.190.83.19])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id WAA21684
	for <xemacs-beta@xemacs.org>; Tue, 18 Mar 1997 22:40:12 -0600 (CST)
Received: (from steve@localhost)
	by altair.xemacs.org (8.8.5/8.8.5) id UAA00845;
	Tue, 18 Mar 1997 20:50:51 -0800
Mail-Copies-To: never
To: xemacs-beta@xemacs.org
Subject: Re: 20.1b8 success on Solaris -- but it's *SLOW*
References: <199703190222.SAA10998@sandman> 	<m2k9n4po96.fsf@altair.xemacs.org> <QQchmn21909.199703190417@crystal.WonderWorks.COM>
X-Url: http://www.miranova.com/%7Esteve/
X-Face: #!T9!#9s-3o8)*uHlX{Ug[xW7E7Wr!*L46-OxqMu\xz23v|R9q}lH?cRS{rCNe^'[`^sr5"
 f8*@r4ipO6Jl!:Ccq<xoV[Qz2u8<8-+Vwf2gzJ44lf_/y9OaQ`@#Q65{U4/TC)i2`~/M&QI$X>p:9I
 OSS'2{-)-4wBnVeg0S\O4Al@)uC[pD|+
X-Attribution: sb
From: Steven L Baur <steve@miranova.com>
In-Reply-To: Kyle Jones's message of Tue, 18 Mar 1997 23:17:42 -0500 (EST)
Mime-Version: 1.0 (generated by tm-edit 7.105)
Content-Type: text/plain; charset=US-ASCII
Date: 18 Mar 1997 20:50:47 -0800
Message-ID: <m24te8pjrs.fsf@altair.xemacs.org>
Lines: 47
X-Mailer: Gnus v5.4.30/XEmacs 20.1(beta9)

Kyle Jones writes:

> Steven L Baur writes:
>> Does this patch help?  No one has commented on it so I haven't applied
>> it.

> Both hunks failed on 20.1-b8 here.  It applied OK to 19.15-b100
> so I'm running it there now, mostly to see if it makes things
> blow up on BSD/OS.  It hasn't broken anything so far.

Due to the MS Windows NT patches.  Try this:

Index: src/process.c
===================================================================
RCS file: /usr/local/xemacs/xemacs-20.0/src/process.c,v
retrieving revision 1.6
diff -u -r1.6 process.c
--- process.c	1997/03/08 23:27:53	1.6
+++ process.c	1997/03/19 04:49:14
@@ -2203,6 +2203,11 @@
   int i;
   struct Lisp_Process *p;
 
+  if (exited_processes_index <= 0)
+    {
+      return;
+    }
+
 #ifdef  EMACS_BLOCK_SIGNAL
   EMACS_BLOCK_SIGNAL (SIGCHLD);
 #endif
@@ -2285,6 +2290,11 @@
 static void
 record_exited_processes (int block_sigchld)
 {
+  if (!sighld_happened)
+    {
+      return;
+    }
+
 #ifdef EMACS_BLOCK_SIGNAL
   if (block_sigchld)
     EMACS_BLOCK_SIGNAL (SIGCHLD);

-- 
steve@miranova.com baur
Unsolicited commercial e-mail will be billed at $250/message.

