httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stodd...@hyperreal.org
Subject cvs commit: apache-1.3/src/main http_core.c
Date Fri, 19 Mar 1999 23:54:10 GMT
stoddard    99/03/19 15:54:10

  Modified:    src/main http_core.c
  Log:
  Fix another Win32 CGI bug...
  
  Revision  Changes    Path
  1.256     +1 -1      apache-1.3/src/main/http_core.c
  
  Index: http_core.c
  ===================================================================
  RCS file: /export/home/cvs/apache-1.3/src/main/http_core.c,v
  retrieving revision 1.255
  retrieving revision 1.256
  diff -u -r1.255 -r1.256
  --- http_core.c	1999/03/19 23:18:01	1.255
  +++ http_core.c	1999/03/19 23:54:08	1.256
  @@ -892,7 +892,7 @@
       }
       else {
           /* Check to see if it's a executable */
  -        IMAGE_DOS_HEADER *hdr = (IMAGE_DOS_HEADER*)interpreter;
  +        IMAGE_DOS_HEADER *hdr = (IMAGE_DOS_HEADER*)buffer;
           if (hdr->e_magic == IMAGE_DOS_SIGNATURE && hdr->e_cblp < 512)
{
               fileType = FileTypeEXE;
           }
  
  
  

Mime
View raw message