httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject cvs commit: httpd-2.0/modules/arch/win32 mod_isapi.c
Date Fri, 26 Apr 2002 22:23:06 GMT
wrowe       02/04/26 15:23:06

  Modified:    modules/arch/win32 mod_isapi.c
  Log:
    After review and testing against all of the PSDK examples (see
    http://www.apache.org/~wrowe/ for commentary on building the
    examples and making them work) ... this disable-optimization
    should no longer be required.
  
  Revision  Changes    Path
  1.64      +0 -11     httpd-2.0/modules/arch/win32/mod_isapi.c
  
  Index: mod_isapi.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/arch/win32/mod_isapi.c,v
  retrieving revision 1.63
  retrieving revision 1.64
  diff -u -r1.63 -r1.64
  --- mod_isapi.c	22 Apr 2002 08:08:37 -0000	1.63
  +++ mod_isapi.c	26 Apr 2002 22:23:06 -0000	1.64
  @@ -121,16 +121,6 @@
                                      LPVOID lpvBuffer, LPDWORD lpdwSize,
                                      LPDWORD lpdwDataType);
   
  -/*
  -    The optimiser blows it totally here. What happens is that autos are addressed relative
to the
  -    stack pointer, which, of course, moves around. The optimiser seems to lose track of
it somewhere
  -    between setting HttpExtensionProc's address and calling through it. We work around
the problem by 
  -    forcing it to use frame pointers.
  -
  -    The revisions below may eliminate this artifact.
  -*/
  -#pragma optimize("y",off)
  -
   /* Our isapi server config structure */
   
   typedef struct {
  @@ -547,7 +537,6 @@
       
       return OK;		/* NOT r->status, even if it has changed. */
   }
  -#pragma optimize("",on)
   
   BOOL WINAPI GetServerVariable (HCONN hConn, LPSTR lpszVariableName,
                                  LPVOID lpvBuffer, LPDWORD lpdwSizeofBuffer)
  
  
  

Mime
View raw message