]> granicus.if.org Git - apache/commitdiff
Fix Win32 compile break caused by Ryan's stat cleanup.
authorBill Stoddard <stoddard@apache.org>
Mon, 12 Jun 2000 18:07:31 +0000 (18:07 +0000)
committerBill Stoddard <stoddard@apache.org>
Mon, 12 Jun 2000 18:07:31 +0000 (18:07 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85544 13f79535-47bb-0310-9956-ffa450edef68

modules/arch/win32/mod_isapi.c
os/win32/mod_isapi.c

index ca5789ecf2d41d80d30fff20d7c56a9e16928040..923d69428ce63371d37613018b7539fe449198a8 100644 (file)
@@ -150,7 +150,7 @@ int isapi_handler (request_rec *r)
     if (r->finfo.protection == 0)
             return NOT_FOUND;
 
-    if (S_ISDIR(r->finfo.protection))
+    if (r->finfo.filetype == APR_DIR)
             return FORBIDDEN;
 
     /* Load the module */
@@ -543,7 +543,7 @@ BOOL WINAPI ServerSupportFunction (HCONN hConn, DWORD dwHSERequest,
 
             /* IIS puts a trailing slash on directories, Apache doesn't */
 
-            if (S_ISDIR (subreq->finfo.protection)) {
+            if (subreq->finfo.filetype == APR_DIR) {
                     int l = strlen((char *)lpvBuffer);
 
                     ((char *)lpvBuffer)[l] = '\\';
index ca5789ecf2d41d80d30fff20d7c56a9e16928040..923d69428ce63371d37613018b7539fe449198a8 100644 (file)
@@ -150,7 +150,7 @@ int isapi_handler (request_rec *r)
     if (r->finfo.protection == 0)
             return NOT_FOUND;
 
-    if (S_ISDIR(r->finfo.protection))
+    if (r->finfo.filetype == APR_DIR)
             return FORBIDDEN;
 
     /* Load the module */
@@ -543,7 +543,7 @@ BOOL WINAPI ServerSupportFunction (HCONN hConn, DWORD dwHSERequest,
 
             /* IIS puts a trailing slash on directories, Apache doesn't */
 
-            if (S_ISDIR (subreq->finfo.protection)) {
+            if (subreq->finfo.filetype == APR_DIR) {
                     int l = strlen((char *)lpvBuffer);
 
                     ((char *)lpvBuffer)[l] = '\\';