You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by je...@apache.org on 2007/09/29 17:03:04 UTC

svn commit: r580591 - /apr/apr/trunk/threadproc/unix/proc.c

Author: jerenkrantz
Date: Sat Sep 29 08:03:03 2007
New Revision: 580591

URL: http://svn.apache.org/viewvc?rev=580591&view=rev
Log:
Fix compile errors introduced in r580486 due to missing ()s.

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=580591&r1=580590&r2=580591&view=diff
==============================================================================
--- apr/apr/trunk/threadproc/unix/proc.c (original)
+++ apr/apr/trunk/threadproc/unix/proc.c Sat Sep 29 08:03:03 2007
@@ -416,7 +416,7 @@
 
         apr_pool_cleanup_for_exec();
 
-        if ((attr->child_in) && (attr->child_in->filedes == -1) {
+        if ((attr->child_in) && (attr->child_in->filedes == -1)) {
             close(STDIN_FILENO);
         }
         else if (attr->child_in) {
@@ -425,7 +425,7 @@
             apr_file_close(attr->child_in);
         }
 
-        if ((attr->child_out) && (attr->child_out->filedes == -1) {
+        if ((attr->child_out) && (attr->child_out->filedes == -1)) {
             close(STDOUT_FILENO);
         }
         else if (attr->child_out) {
@@ -434,7 +434,7 @@
             apr_file_close(attr->child_out);
         }
 
-        if ((attr->child_err) && (attr->child_err->filedes == -1) {
+        if ((attr->child_err) && (attr->child_err->filedes == -1)) {
             close(STDERR_FILENO);
         }
         else if (attr->child_err) {
@@ -574,15 +574,15 @@
     }
 
     /* Parent process */
-    if ((attr->child_in && (attr->child_in->filedes == -1)) {
+    if ((attr->child_in && (attr->child_in->filedes == -1))) {
         apr_file_close(attr->child_in);
     }
 
-    if ((attr->child_out) && (attr->child_out->filedes == -1) {
+    if ((attr->child_out) && (attr->child_out->filedes == -1)) {
         apr_file_close(attr->child_out);
     }
 
-    if ((attr->child_err) && (attr->child_err->filedes == -1) {
+    if ((attr->child_err) && (attr->child_err->filedes == -1)) {
         apr_file_close(attr->child_err);
     }