]> granicus.if.org Git - apache/commitdiff
More explanation
authorWilliam A. Rowe Jr <wrowe@apache.org>
Mon, 6 Aug 2001 02:27:26 +0000 (02:27 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Mon, 6 Aug 2001 02:27:26 +0000 (02:27 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89931 13f79535-47bb-0310-9956-ffa450edef68

server/request.c

index afdf79e1f7f90fc396755e0050a8542187a9bbe0..78c7ea5bf6c2f24a364875e39768ca557e95eb33 100644 (file)
@@ -1402,8 +1402,11 @@ AP_DECLARE(request_rec *) ap_sub_req_lookup_dirent(const apr_finfo_t *dirent,
 
     if ((dirent->valid & APR_FINFO_MIN) != APR_FINFO_MIN) {
         /*
-         * If this is an APR_LNK that resolves to an APR_DIR, then 
-         * we will rerun everything anyways... this should be safe.
+         * apr_dir_read isn't very complete on this platform, so
+         * we need another apr_lstat (or simply apr_stat if we allow
+         * all symlinks here.)  If this is an APR_LNK that resolves 
+         * to an APR_DIR, then we will rerun everything anyways... 
+         * this should be safe.
          */
         if (ap_allow_options(rnew) & OPT_SYM_LINKS) {
             if (((rv = apr_stat(&rnew->finfo, rnew->filename,