From xemacs-m  Tue Jul  1 03:55:44 1997
Received: from frege.math.ethz.ch (root@frege-d-math-north-g-west.math.ethz.ch [129.132.145.3])
	by xemacs.org (8.8.5/8.8.5) with SMTP id DAA02622
	for <xemacs-beta@xemacs.org>; Tue, 1 Jul 1997 03:55:43 -0500 (CDT)
Received: from midget.math.ethz.ch (vroonhof@midget [129.132.145.4]) by frege.math.ethz.ch (8.6.12/Main-STAT-mailer) with ESMTP id KAA02530 for <xemacs-beta@xemacs.org>; Tue, 1 Jul 1997 10:54:05 +0200
Received: (vroonhof@localhost) by midget.math.ethz.ch (8.6.12/D-MATH-client) id KAA22352; Tue, 1 Jul 1997 10:52:37 +0200
To: xemacs-beta@xemacs.org
Subject: SIGCHILD lossage on 19.x series revisited
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
From: Jan Vroonhof <vroonhof@math.ethz.ch>
Date: 01 Jul 1997 10:52:37 +0200
Message-ID: <byg1tzcfxm.fsf@midget.math.ethz.ch>
Lines: 33
X-Mailer: Gnus v5.4.55/XEmacs 19.15


I just found this in sol2-4.h, I am seeing something like this when I
compile in SparcWorks support. I usally compile with gcc 2.7.2. I
didn't see this before and the biggest change I made is that I
compiled with X11R6 instead of R5... This must be it, does somebody
have this test program?

/* XEmacs addition: Raymond Toy says XEmacs completely misses SIGCHLD
   when compiled with GCC 2.7.0 (but not, apparently, with SunPro C?),
   X11R6, and Solaris 2.4.

   Someone else submitted a simple test program that duplicates this
   behavior, and says it has something to do with the fact that X11R6
   links with the threads library. */

#ifdef THIS_IS_X11R6
#define BROKEN_SIGCHLD
#endif

Note that I compile under Sol 2.5 and sol2-5.h has

/* Apparently this is not necessary here, and it causes 10% CPU
   chewage. */
#undef BROKEN_SIGCHLD


I will try to recompile the sparcworks version with the SunPro C
compiler...

Jan

P.S. My 19.15 configure setup on Solaris already does #define vfork fork

