You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by st...@locus.apache.org on 2000/06/12 20:07:34 UTC

cvs commit: apache-2.0/src/os/win32 mod_isapi.c

stoddard    00/06/12 11:07:33

  Modified:    src/os/win32 mod_isapi.c
  Log:
  Fix Win32 compile break caused by Ryan's stat cleanup.
  
  Revision  Changes    Path
  1.11      +2 -2      apache-2.0/src/os/win32/mod_isapi.c
  
  Index: mod_isapi.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/os/win32/mod_isapi.c,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- mod_isapi.c	2000/04/28 18:27:55	1.10
  +++ mod_isapi.c	2000/06/12 18:07:31	1.11
  @@ -150,7 +150,7 @@
       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 @@
   
               /* 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] = '\\';