You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by wr...@apache.org on 2001/07/16 22:53:53 UTC

cvs commit: apr/file_io/unix open.c

wrowe       01/07/16 13:53:53

  Modified:    file_io/unix open.c
  Log:
    er, I meant ->flags
  
  Revision  Changes    Path
  1.80      +5 -3      apr/file_io/unix/open.c
  
  Index: open.c
  ===================================================================
  RCS file: /home/cvs/apr/file_io/unix/open.c,v
  retrieving revision 1.79
  retrieving revision 1.80
  diff -u -r1.79 -r1.80
  --- open.c	2001/07/16 20:49:56	1.79
  +++ open.c	2001/07/16 20:53:53	1.80
  @@ -167,9 +167,11 @@
       (*new)->bufpos = 0;
       (*new)->dataRead = 0;
       (*new)->direction = 0;
  -    apr_pool_cleanup_register((*new)->cntxt, (void *)(*new), apr_unix_file_cleanup,
  -                              ((*new)->flag & APR_INHERIT) ? apr_pool_cleanup_null 
  -                                                           : apr_unix_file_cleanup);
  +    apr_pool_cleanup_register((*new)->cntxt, (void *)(*new), 
  +                              apr_unix_file_cleanup,
  +                              ((*new)->flags & APR_INHERIT) 
  +                                  ? apr_pool_cleanup_null 
  +                                  : apr_unix_file_cleanup);
       return APR_SUCCESS;
   }