Return-Path: Delivered-To: apmail-apr-commits-archive@www.apache.org Received: (qmail 70143 invoked from network); 10 Jun 2009 15:41:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 10 Jun 2009 15:41:55 -0000 Received: (qmail 96320 invoked by uid 500); 10 Jun 2009 15:42:06 -0000 Delivered-To: apmail-apr-commits-archive@apr.apache.org Received: (qmail 96259 invoked by uid 500); 10 Jun 2009 15:42:06 -0000 Mailing-List: contact commits-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: Reply-To: dev@apr.apache.org List-Id: Delivered-To: mailing list commits@apr.apache.org Received: (qmail 96250 invoked by uid 99); 10 Jun 2009 15:42:06 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Jun 2009 15:42:06 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Jun 2009 15:42:04 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 459402388898; Wed, 10 Jun 2009 15:41:44 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r783398 - /apr/apr/trunk/threadproc/unix/proc.c Date: Wed, 10 Jun 2009 15:41:41 -0000 To: commits@apr.apache.org From: rpluem@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20090610154144.459402388898@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: rpluem Date: Wed Jun 10 15:41:40 2009 New Revision: 783398 URL: http://svn.apache.org/viewvc?rev=783398&view=rev Log: * We need to disable inheritance in the case of success like in the cases for stdout and stdin. Modified: apr/apr/trunk/threadproc/unix/proc.c Modified: apr/apr/trunk/threadproc/unix/proc.c URL: http://svn.apache.org/viewvc/apr/apr/trunk/threadproc/unix/proc.c?rev=783398&r1=783397&r2=783398&view=diff ============================================================================== --- apr/apr/trunk/threadproc/unix/proc.c (original) +++ apr/apr/trunk/threadproc/unix/proc.c Wed Jun 10 15:41:40 2009 @@ -78,7 +78,7 @@ if ((err != APR_NO_PIPE) && (err != APR_NO_FILE)) { if ((rv = apr_file_pipe_create_ex(&attr->parent_err, &attr->child_err, - err, attr->pool)) != APR_SUCCESS) + err, attr->pool)) == APR_SUCCESS) rv = apr_file_inherit_unset(attr->parent_err); if (rv != APR_SUCCESS) return rv;