Return-Path: owner-new-httpd Received: by taz.hyperreal.com (8.6.10/8.6.5) id JAA29929; Wed, 3 May 1995 09:50:12 -0700 Received: from ooo.lanl.gov by taz.hyperreal.com (8.6.10/8.6.5) with ESMTP id JAA29923; Wed, 3 May 1995 09:50:09 -0700 Received: by ooo.lanl.gov (1.37.109.16/16.2) id AA153459772; Wed, 3 May 1995 10:49:32 -0600 From: Rob Hartill Message-Id: <199505031649.AA153459772@ooo.lanl.gov> Subject: SYSV cgi subprocesses exit codes To: new-httpd@hyperreal.com (Apache) Date: Wed, 3 May 95 10:49:31 MDT X-Organization: Theoretical Division, T-8. Los Alamos National Laboratory X-Snail: LANL Theoretical Divi' T-8, MS B285, P.O Box 1663, Los Alamos NM 87545 X-Marks-The-Spot: Doh ! Mailer: Elm [revision: 70.85] Sender: owner-new-httpd@apache.org Precedence: bulk Reply-To: new-httpd@apache.org According to http://www-iwi.unisg.ch/~dlincke/httpd-ext.html There's a bug in httpd's POSIX/SYSV signal handling routines. The signal handler for CGI child processes is being set to SIG_IGN instead of SIG_DFL resulting in wait(2), waitpid(2) etc. returning incorrect exit statuses for child processes of CGI processes. This was something I was having problems with. Someone suggested I use a "SYSV" CFLAG, but that didn't work. Patch id B92 works for me. +1 robh