httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dgau...@hyperreal.org
Subject cvs commit: apache-1.3/src/modules/standard mod_userdir.c
Date Sat, 21 Feb 1998 00:50:05 GMT
dgaudet     98/02/20 16:50:05

  Modified:    src/modules/standard mod_userdir.c
  Log:
  Fix multiple UserDir problem introduced during 1.3b4-dev.
  
  Revision  Changes    Path
  1.29      +4 -1      apache-1.3/src/modules/standard/mod_userdir.c
  
  Index: mod_userdir.c
  ===================================================================
  RCS file: /export/home/cvs/apache-1.3/src/modules/standard/mod_userdir.c,v
  retrieving revision 1.28
  retrieving revision 1.29
  diff -u -r1.28 -r1.29
  --- mod_userdir.c	1998/02/14 03:26:58	1.28
  +++ mod_userdir.c	1998/02/21 00:50:02	1.29
  @@ -313,7 +313,10 @@
            */
           if (filename && (!*userdirs || stat(filename, &statbuf) != -1)) {
               r->filename = pstrcat(r->pool, filename, dname, NULL);
  -	    if (*userdirs)
  +	    /* when statbuf contains info on r->filename we can save a syscall
  +	     * by copying it to r->finfo
  +	     */
  +	    if (*userdirs && dname[0] == 0)
   		r->finfo = statbuf;
               return OK;
           }
  
  
  

Mime
View raw message