You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by sf...@apache.org on 2014/05/14 21:55:18 UTC
svn commit: r1594689 - in /apr/apr/branches/1.6.x: ./ threadproc/unix/proc.c
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;