apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rpl...@apache.org
Subject svn commit: r783399 - in /apr/apr/branches/1.4.x: ./ threadproc/unix/proc.c
Date Wed, 10 Jun 2009 15:44:06 GMT
Author: rpluem
Date: Wed Jun 10 15:44:03 2009
New Revision: 783399

URL: http://svn.apache.org/viewvc?rev=783399&view=rev
Log:
Merge r783398 from trunk:

* We need to disable inheritance in the case of success like in the
  cases for stdout and stdin.

Submitted by: rpluem
Reviewed by: rpluem

Modified:
    apr/apr/branches/1.4.x/   (props changed)
    apr/apr/branches/1.4.x/threadproc/unix/proc.c

Propchange: apr/apr/branches/1.4.x/
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Wed Jun 10 15:44:03 2009
@@ -1 +1 @@
-/apr/apr/trunk:733052,748888,782838
+/apr/apr/trunk:733052,748888,782838,783398

Modified: apr/apr/branches/1.4.x/threadproc/unix/proc.c
URL: http://svn.apache.org/viewvc/apr/apr/branches/1.4.x/threadproc/unix/proc.c?rev=783399&r1=783398&r2=783399&view=diff
==============================================================================
--- apr/apr/branches/1.4.x/threadproc/unix/proc.c (original)
+++ apr/apr/branches/1.4.x/threadproc/unix/proc.c Wed Jun 10 15:44:03 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;



Mime
View raw message