You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by tr...@locus.apache.org on 2000/06/15 19:39:20 UTC

cvs commit: apache-2.0/src/lib/apr/file_io/win32 open.c

trawick     00/06/15 10:39:18

  Modified:    src/lib/apr/include apr_file_io.h
               src/lib/apr/file_io/os2 open.c
               src/lib/apr/file_io/unix open.c
               src/lib/apr/file_io/win32 open.c
  Log:
  Change filename arg of ap_remove_file() from char * to const char *.
  
  Revision  Changes    Path
  1.54      +2 -2      apache-2.0/src/lib/apr/include/apr_file_io.h
  
  Index: apr_file_io.h
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/include/apr_file_io.h,v
  retrieving revision 1.53
  retrieving revision 1.54
  diff -u -r1.53 -r1.54
  --- apr_file_io.h	2000/06/15 15:33:21	1.53
  +++ apr_file_io.h	2000/06/15 17:39:10	1.54
  @@ -170,7 +170,7 @@
   
   /*
   
  -=head1 ap_status_t ap_remove_file(char *path, ap_pool_t *cont) 
  +=head1 ap_status_t ap_remove_file(const char *path, ap_pool_t *cont) 
   
   B<delete the specified file.>
   
  @@ -182,7 +182,7 @@
   
   =cut
    */
  -ap_status_t ap_remove_file(char *path, ap_pool_t *cont);
  +ap_status_t ap_remove_file(const char *path, ap_pool_t *cont);
   
   /*
   
  
  
  
  1.27      +1 -1      apache-2.0/src/lib/apr/file_io/os2/open.c
  
  Index: open.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/file_io/os2/open.c,v
  retrieving revision 1.26
  retrieving revision 1.27
  diff -u -r1.26 -r1.27
  --- open.c	2000/05/13 08:11:58	1.26
  +++ open.c	2000/06/15 17:39:13	1.27
  @@ -180,7 +180,7 @@
   
   
   
  -ap_status_t ap_remove_file(char *path, ap_pool_t *cntxt)
  +ap_status_t ap_remove_file(const char *path, ap_pool_t *cntxt)
   {
       ULONG rc = DosDelete(path);
       return APR_OS2_STATUS(rc);
  
  
  
  1.54      +1 -1      apache-2.0/src/lib/apr/file_io/unix/open.c
  
  Index: open.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/file_io/unix/open.c,v
  retrieving revision 1.53
  retrieving revision 1.54
  diff -u -r1.53 -r1.54
  --- open.c	2000/06/12 21:08:24	1.53
  +++ open.c	2000/06/15 17:39:16	1.54
  @@ -169,7 +169,7 @@
       return rv;
   }
   
  -ap_status_t ap_remove_file(char *path, ap_pool_t *cont)
  +ap_status_t ap_remove_file(const char *path, ap_pool_t *cont)
   {
       if (unlink(path) == 0) {
           return APR_SUCCESS;
  
  
  
  1.41      +1 -1      apache-2.0/src/lib/apr/file_io/win32/open.c
  
  Index: open.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/file_io/win32/open.c,v
  retrieving revision 1.40
  retrieving revision 1.41
  diff -u -r1.40 -r1.41
  --- open.c	2000/05/23 02:19:36	1.40
  +++ open.c	2000/06/15 17:39:17	1.41
  @@ -184,7 +184,7 @@
       return stat;
   }
   
  -ap_status_t ap_remove_file(char *path, ap_pool_t *cont)
  +ap_status_t ap_remove_file(const char *path, ap_pool_t *cont)
   {
       char *temp = canonical_filename(cont, path);