apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s.@apache.org
Subject svn commit: r1594689 - in /apr/apr/branches/1.6.x: ./ threadproc/unix/proc.c
Date Wed, 14 May 2014 19:55:18 GMT
Author: sf
Date: Wed May 14 19:55:17 2014
New Revision: 1594689

URL: http://svn.apache.org/r1594689
Log:
Backport r741867 from trunk, which fixes a logic error.

The original commit message was:

  Fix typo


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

Propchange: apr/apr/branches/1.6.x/
------------------------------------------------------------------------------
  Merged /apr/apr/trunk:r741867

Modified: apr/apr/branches/1.6.x/threadproc/unix/proc.c
URL: http://svn.apache.org/viewvc/apr/apr/branches/1.6.x/threadproc/unix/proc.c?rev=1594689&r1=1594688&r2=1594689&view=diff
==============================================================================
--- apr/apr/branches/1.6.x/threadproc/unix/proc.c (original)
+++ apr/apr/branches/1.6.x/threadproc/unix/proc.c Wed May 14 19:55:17 2014
@@ -468,7 +468,7 @@ APR_DECLARE(apr_status_t) apr_proc_creat
                 apr_status_t r;
                 r = (*c->perms_set_fn)((void *)c->data, c->perms,
                                        attr->uid, attr->gid);
-                if (r != APR_SUCCESS || r != APR_ENOTIMPL) {
+                if (r != APR_SUCCESS && r != APR_ENOTIMPL) {
                     _exit(-1);
                 }
                 c = c->next;



Mime
View raw message