From: William A. Rowe Jr Date: Fri, 26 Apr 2002 22:23:06 +0000 (+0000) Subject: After review and testing against all of the PSDK examples (see X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2a7ce1a2125df9b0cd39e574333952c97860bf43;p=apache 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. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94820 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/arch/win32/mod_isapi.c b/modules/arch/win32/mod_isapi.c index 7a155129e3..37fdf100ac 100644 --- a/modules/arch/win32/mod_isapi.c +++ b/modules/arch/win32/mod_isapi.c @@ -121,16 +121,6 @@ BOOL WINAPI ServerSupportFunction (HCONN hConn, DWORD dwHSERequest, 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 @@ apr_status_t isapi_handler (request_rec *r) return OK; /* NOT r->status, even if it has changed. */ } -#pragma optimize("",on) BOOL WINAPI GetServerVariable (HCONN hConn, LPSTR lpszVariableName, LPVOID lpvBuffer, LPDWORD lpdwSizeofBuffer)