From owner-freebsd-hackers Tue Sep 4 0: 9: 7 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from gull.mail.pas.earthlink.net (gull.mail.pas.earthlink.net [207.217.121.85]) by hub.freebsd.org (Postfix) with ESMTP id 51EFF37B40B; Tue, 4 Sep 2001 00:09:01 -0700 (PDT) Received: from mindspring.com (dialup-209.247.140.38.Dial1.SanJose1.Level3.net [209.247.140.38]) by gull.mail.pas.earthlink.net (EL-8_9_3_3/8.9.3) with ESMTP id AAA13547; Tue, 4 Sep 2001 00:09:00 -0700 (PDT) Message-ID: <3B947E37.D3E11452@mindspring.com> Date: Tue, 04 Sep 2001 00:09:43 -0700 From: Terry Lambert Reply-To: tlambert2@mindspring.com X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: obrien@freebsd.org Cc: freebsd-hackers@freebsd.org Subject: Re: signal handling descrpancy (FreeBSD oaf fix/Evolution) References: <20010902095503.A64412@dragon.nuxi.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG David O'Brien wrote: > > Hi Hackers, et.al. > > The PIM Evolution, http://www.ximian.com/products/ximian_evolution/, > does not run on FreeBSD. The authors have made a change so that it will. > However, we would like to know if FreeBSD is the odd-man-out, or if the > authors were lucky Evolution ran on Solaris and Linux. There's some oddity in FreeBSD's SIGCHLD handling. If you ignore the signal, it's supposed to "magically reap" when child processes exit, according to my copy of "Go SOLO 2" (The Single UNIX Specification). FreeBSD makes you explicitly set the handler/mask the signal yourself. Technically, either way could be considered correct; there was a patch to -current that "fixed" FreeBSD; I'm not sure if it was MFC'ed to the 4.4 branch or not... There was a big discussion on -current about "proper handling", if I recall correctly. FWIW, I opposed the change (which implied SA_CLDWAIT, I think, with no way to turn it off to get historical behaviour for programs which needed it). I hate POSIX signal handling... -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message