httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From grega...@apache.org
Subject cvs commit: httpd-2.0/server config.c
Date Mon, 29 Jan 2001 22:19:22 GMT
gregames    01/01/29 14:19:22

  Modified:    server   config.c
  Log:
  back out recent breakage.  If the lstat isn't executed, finfo isn't
  initialized, and the code was looking at random garbage.
  
  This gets the server a little closer to starting on apache.org.  There's still
  an issue with mod_include not resolving apr_get_username when it's dynamically
  loaded.
  
  Submitted by:	Jeff Trawick
  
  Revision  Changes    Path
  1.109     +3 -3      httpd-2.0/server/config.c
  
  Index: config.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/config.c,v
  retrieving revision 1.108
  retrieving revision 1.109
  diff -u -d -b -u -r1.108 -r1.109
  --- config.c	2001/01/27 21:28:26	1.108
  +++ config.c	2001/01/29 22:19:17	1.109
  @@ -1278,10 +1278,10 @@
       /* 
        * here we want to check if the candidate file is really a
        * directory, and most definitely NOT a symlink (to prevent
  -     * horrible loops).  So we do so above using apr_lstat.
  -     * If so, let's recurse and toss it back into the function.
  +     * horrible loops).  If so, let's recurse and toss it back 
  +     * into the function.
        */
  -    if (finfo.filetype == APR_DIR) {
  +    if (ap_is_rdirectory(ptemp, fname)) {
           apr_dir_t *dirp;
           apr_finfo_t dirent;
   	int current;
  
  
  

Mime
View raw message