dgaudet     98/02/13 19:08:01

  Modified:    src      CHANGES
               src/os/bs2000 os-inline.c os.h
               src/os/emx os-inline.c os.h
               src/os/unix os-inline.c os.h
               src/os/win32 os.h
  Log:
  It's hard to use os_is_path_absolute() unless it takes a const char *.
  
  Revision  Changes    Path
  1.628     +3 -0      apache-1.3/src/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /export/home/cvs/apache-1.3/src/CHANGES,v
  retrieving revision 1.627
  retrieving revision 1.628
  diff -u -r1.627 -r1.628
  --- CHANGES   1998/02/14 01:02:05     1.627
  +++ CHANGES   1998/02/14 03:07:53     1.628
  @@ -1,5 +1,8 @@
   Changes with Apache 1.3b6
   
  +  *) os_is_path_absolute() now takes a const char * instead of a char *.
  +     [Dean Gaudet]
  +
   Changes with Apache 1.3b5
   
     *) Preserve the content encoding given by the AddEncoding directive
  
  
  
  1.2       +1 -1      apache-1.3/src/os/bs2000/os-inline.c
  
  Index: os-inline.c
  ===================================================================
  RCS file: /export/home/cvs/apache-1.3/src/os/bs2000/os-inline.c,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- os-inline.c       1998/01/13 23:11:31     1.1
  +++ os-inline.c       1998/02/14 03:07:55     1.2
  @@ -24,7 +24,7 @@
   
   #endif
   
  -INLINE int os_is_path_absolute(char *file)
  +INLINE int os_is_path_absolute(const char *file)
   {
     return (file && file[0] == '/' ? 1 : 0);
   }
  
  
  
  1.4       +1 -1      apache-1.3/src/os/bs2000/os.h
  
  Index: os.h
  ===================================================================
  RCS file: /export/home/cvs/apache-1.3/src/os/bs2000/os.h,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- os.h      1998/01/31 23:52:49     1.3
  +++ os.h      1998/02/14 03:07:55     1.4
  @@ -20,7 +20,7 @@
   /* Compiler does not support inline, so prototype the inlineable functions
    * as normal
    */
  -extern int os_is_path_absolute(char *f);
  +extern int os_is_path_absolute(const char *f);
   #endif
   
   /* Sorry if this is ugly, but the include order doesn't allow me
  
  
  
  1.2       +1 -1      apache-1.3/src/os/emx/os-inline.c
  
  Index: os-inline.c
  ===================================================================
  RCS file: /export/home/cvs/apache-1.3/src/os/emx/os-inline.c,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- os-inline.c       1997/11/05 12:48:22     1.1
  +++ os-inline.c       1998/02/14 03:07:56     1.2
  @@ -24,7 +24,7 @@
   
   #endif
   
  -INLINE int os_is_path_absolute(char *file)
  +INLINE int os_is_path_absolute(const char *file)
   {
     /* For now, just do the same check that http_request.c and mod_alias.c
      * do. 
  
  
  
  1.2       +1 -1      apache-1.3/src/os/emx/os.h
  
  Index: os.h
  ===================================================================
  RCS file: /export/home/cvs/apache-1.3/src/os/emx/os.h,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- os.h      1997/11/05 12:48:23     1.1
  +++ os.h      1998/02/14 03:07:57     1.2
  @@ -16,7 +16,7 @@
   /* Compiler does not support inline, so prototype the inlineable functions
    * as normal
    */
  -extern int os_is_path_absolute(char *f);
  +extern int os_is_path_absolute(const char *f);
   #endif
   
   /* OS/2 doesn't have symlinks so S_ISLNK is always false */
  
  
  
  1.3       +1 -1      apache-1.3/src/os/unix/os-inline.c
  
  Index: os-inline.c
  ===================================================================
  RCS file: /export/home/cvs/apache-1.3/src/os/unix/os-inline.c,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- os-inline.c       1997/12/26 15:08:13     1.2
  +++ os-inline.c       1998/02/14 03:07:58     1.3
  @@ -24,7 +24,7 @@
   
   #endif
   
  -INLINE int os_is_path_absolute(char *file)
  +INLINE int os_is_path_absolute(const char *file)
   {
     return file[0] == '/';
   }
  
  
  
  1.5       +1 -1      apache-1.3/src/os/unix/os.h
  
  Index: os.h
  ===================================================================
  RCS file: /export/home/cvs/apache-1.3/src/os/unix/os.h,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- os.h      1997/10/07 05:53:42     1.4
  +++ os.h      1998/02/14 03:07:58     1.5
  @@ -16,5 +16,5 @@
   /* Compiler does not support inline, so prototype the inlineable functions
    * as normal
    */
  -extern int os_is_path_absolute(char *f);
  +extern int os_is_path_absolute(const char *f);
   #endif
  
  
  
  1.12      +1 -1      apache-1.3/src/os/win32/os.h
  
  Index: os.h
  ===================================================================
  RCS file: /export/home/cvs/apache-1.3/src/os/win32/os.h,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- os.h      1998/01/23 00:36:43     1.11
  +++ os.h      1998/02/14 03:08:00     1.12
  @@ -75,7 +75,7 @@
   #define NO_OTHER_CHILD
   #define NO_RELIABLE_PIPED_LOGS
   
  -__inline int os_is_path_absolute(char *file)
  +__inline int os_is_path_absolute(const char *file)
   {
     /* For now, just do the same check that http_request.c and mod_alias.c
      * do. 
  
  
  

Reply via email to