Commit 527c136c authored by Greg Ames's avatar Greg Ames
Browse files

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


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87911 13f79535-47bb-0310-9956-ffa450edef68
parent b7813c64
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -1278,10 +1278,10 @@ void ap_process_resource_config(server_rec *s, const char *fname,
    /* 
     * 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;