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...@apache.org on 2002/05/23 16:56:11 UTC

cvs commit: httpd-2.0/modules/experimental mod_disk_cache.c

trawick     02/05/23 07:56:11

  Modified:    .        CHANGES
               modules/experimental mod_disk_cache.c
  Log:
  Fix a file permissions problem which prevented mod_disk_cache
  from working on Unix.
  
  Revision  Changes    Path
  1.782     +3 -0      httpd-2.0/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/CHANGES,v
  retrieving revision 1.781
  retrieving revision 1.782
  diff -u -r1.781 -r1.782
  --- CHANGES	23 May 2002 12:58:36 -0000	1.781
  +++ CHANGES	23 May 2002 14:56:10 -0000	1.782
  @@ -1,5 +1,8 @@
   Changes with Apache 2.0.37
   
  +  *) Fix a file permissions problem which prevented mod_disk_cache
  +     from working on Unix.  [Jeff Trawick]
  +
     *) Add "-k start|startssl|restart|graceful|stop" support to httpd
        for the Unix MPMs.  These have semantics very similar to the
        old apachectl commands of the same name.
  
  
  
  1.34      +1 -1      httpd-2.0/modules/experimental/mod_disk_cache.c
  
  Index: mod_disk_cache.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/experimental/mod_disk_cache.c,v
  retrieving revision 1.33
  retrieving revision 1.34
  diff -u -r1.33 -r1.34
  --- mod_disk_cache.c	17 May 2002 11:33:09 -0000	1.33
  +++ mod_disk_cache.c	23 May 2002 14:56:11 -0000	1.34
  @@ -548,7 +548,7 @@
   
           rv = apr_file_open(&dobj->hfd, dobj->hdrsfile,
                              APR_WRITE | APR_CREATE | APR_EXCL,
  -                           0, r->pool);
  +                           APR_OS_DEFAULT, r->pool);
           if (rv != APR_SUCCESS) {
               return rv;
           }