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
/*
* 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;