]> granicus.if.org Git - apache/commitdiff
apr_stat() in http_request.c only needs size, type, mtime, ctime & atime values from
authorBill Stoddard <stoddard@apache.org>
Wed, 31 Jan 2001 20:01:16 +0000 (20:01 +0000)
committerBill Stoddard <stoddard@apache.org>
Wed, 31 Jan 2001 20:01:16 +0000 (20:01 +0000)
the file. Modify apr_stat() under windows to accomodate apr_stat( APR_FINFO_MIN)

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87931 13f79535-47bb-0310-9956-ffa450edef68

modules/http/http_request.c

index ef83646be6f5e0c35a4b9560e81524f7065d4d05..d47f6274c46b65b9071ea5d10fa3c0942fe6522c 100644 (file)
@@ -282,7 +282,7 @@ static int get_path_info(request_rec *r)
          * an APR_PATHINCOMPLETE result to indicate that we are staring at
          * an partial virtual root.  Only OS2/Win32/Netware need apply it :-)
          */
-        rv = apr_stat(&r->finfo, path, APR_FINFO_NORM, r->pool);
+        rv = apr_stat(&r->finfo, path, APR_FINFO_MIN, r->pool);
 
         if (cp != end)
             *cp = '/';