apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jor...@apache.org
Subject cvs commit: apr/file_io/unix filedup.c
Date Mon, 17 Nov 2003 11:31:02 GMT
jorton      2003/11/17 03:31:02

  Modified:    file_io/unix filedup.c
  Log:
  * file_io/unix/filedup.c (file_dup): Renamed from _file_dup - the C
  library reserves identifiers beginning with an undercore.  Callers
  changed.
  
  Revision  Changes    Path
  1.65      +5 -5      apr/file_io/unix/filedup.c
  
  Index: filedup.c
  ===================================================================
  RCS file: /home/cvs/apr/file_io/unix/filedup.c,v
  retrieving revision 1.64
  retrieving revision 1.65
  diff -u -u -r1.64 -r1.65
  --- filedup.c	17 Nov 2003 01:41:17 -0000	1.64
  +++ filedup.c	17 Nov 2003 11:31:01 -0000	1.65
  @@ -58,9 +58,9 @@
   #include "apr_thread_mutex.h"
   #include "apr_arch_inherit.h"
   
  -static apr_status_t _file_dup(apr_file_t **new_file, 
  -                              apr_file_t *old_file, apr_pool_t *p,
  -                              int which_dup)
  +static apr_status_t file_dup(apr_file_t **new_file, 
  +                             apr_file_t *old_file, apr_pool_t *p,
  +                             int which_dup)
   {
       int rv;
       
  @@ -141,13 +141,13 @@
   APR_DECLARE(apr_status_t) apr_file_dup(apr_file_t **new_file,
                                          apr_file_t *old_file, apr_pool_t *p)
   {
  -    return _file_dup(new_file, old_file, p, 1);
  +    return file_dup(new_file, old_file, p, 1);
   }
   
   APR_DECLARE(apr_status_t) apr_file_dup2(apr_file_t *new_file,
                                           apr_file_t *old_file, apr_pool_t *p)
   {
  -    return _file_dup(&new_file, old_file, p, 2);
  +    return file_dup(&new_file, old_file, p, 2);
   }
   
   APR_DECLARE(apr_status_t) apr_file_setaside(apr_file_t **new_file,
  
  
  

Mime
View raw message