apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject cvs commit: apr/threadproc/win32 proc.c
Date Mon, 01 Jul 2002 17:43:02 GMT
wrowe       2002/07/01 10:43:02

  Modified:    threadproc/win32 proc.c
  Log:
    Fat Fingers.  And inherit_set has no return value.  Code compiles on win32
    once again, sorry about that.
  
  Revision  Changes    Path
  1.77      +15 -15    apr/threadproc/win32/proc.c
  
  Index: proc.c
  ===================================================================
  RCS file: /home/cvs/apr/threadproc/win32/proc.c,v
  retrieving revision 1.76
  retrieving revision 1.77
  diff -u -r1.76 -r1.77
  --- proc.c	1 Jul 2002 17:14:21 -0000	1.76
  +++ proc.c	1 Jul 2002 17:43:02 -0000	1.77
  @@ -190,19 +190,19 @@
   
       if (child_in) {
           if (attr->child_in == NULL)
  -            rv = apr_file_dup(&attr->child_in, child_in, attr_pool);
  +            rv = apr_file_dup(&attr->child_in, child_in, attr->pool);
           else
  -            rv = apr_file_dup2(attr->child_in, child_in, attr_pool);
  +            rv = apr_file_dup2(attr->child_in, child_in, attr->pool);
   
           if (rv == APR_SUCCESS)
  -            rv = apr_file_inherit_set(attr->child_in);
  +            apr_file_inherit_set(attr->child_in);
       }
   
       if (parent_in && rv == APR_SUCCESS) {
           if (attr->parent_in == NULL)
  -            rv = apr_file_dup(&attr->parent_in, parent_in, attr_pool);
  +            rv = apr_file_dup(&attr->parent_in, parent_in, attr->pool);
           else
  -            rv = apr_file_dup2(attr->parent_in, parent_in, attr_pool);
  +            rv = apr_file_dup2(attr->parent_in, parent_in, attr->pool);
       }
   
       return rv;
  @@ -216,19 +216,19 @@
   
       if (child_out) {
           if (attr->child_out == NULL)
  -            rv = apr_file_dup(&attr->child_out, child_out, attr_pool);
  +            rv = apr_file_dup(&attr->child_out, child_out, attr->pool);
           else
  -            rv = apr_file_dup2(attr->child_out, child_out, attr_pool);
  +            rv = apr_file_dup2(attr->child_out, child_out, attr->pool);
   
           if (rv == APR_SUCCESS)
  -            rv = apr_file_inherit_set(attr->child_out);
  +            apr_file_inherit_set(attr->child_out);
       }
   
       if (parent_out && rv == APR_SUCCESS) {
           if (attr->parent_out == NULL)
  -            rv = apr_file_dup(&attr->parent_out, parent_out, attr_pool);
  +            rv = apr_file_dup(&attr->parent_out, parent_out, attr->pool);
           else
  -            rv = apr_file_dup2(attr->parent_out, parent_out, attr_pool);
  +            rv = apr_file_dup2(attr->parent_out, parent_out, attr->pool);
       }
   
       return rv;
  @@ -242,19 +242,19 @@
   
       if (child_err) {
           if (attr->child_err == NULL)
  -            rv = apr_file_dup(&attr->child_err, child_err, attr_pool);
  +            rv = apr_file_dup(&attr->child_err, child_err, attr->pool);
           else
  -            rv = apr_file_dup2(attr->child_err, child_err, attr_pool);
  +            rv = apr_file_dup2(attr->child_err, child_err, attr->pool);
   
           if (rv == APR_SUCCESS)
  -            rv = apr_file_inherit_set(attr->child_err);
  +            apr_file_inherit_set(attr->child_err);
       }
   
       if (parent_err && rv == APR_SUCCESS) {
           if (attr->parent_err == NULL)
  -            rv = apr_file_dup(&attr->parent_err, parent_err, attr_pool);
  +            rv = apr_file_dup(&attr->parent_err, parent_err, attr->pool);
           else
  -            rv = apr_file_dup2(attr->parent_err, parent_err, attr_pool);
  +            rv = apr_file_dup2(attr->parent_err, parent_err, attr->pool);
       }
   
       return rv;
  
  
  

Mime
View raw message