apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject cvs commit: apr/file_io/unix open.c
Date Mon, 16 Jul 2001 20:53:53 GMT
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;
   }
   
  
  
  

Mime
View raw message