]> granicus.if.org Git - php/commitdiff
Remove this old obsolete code
authorKalle Sommer Nielsen <kalle@php.net>
Mon, 21 Nov 2016 14:18:55 +0000 (15:18 +0100)
committerKalle Sommer Nielsen <kalle@php.net>
Mon, 21 Nov 2016 14:18:55 +0000 (15:18 +0100)
sapi/cgi/cgi_main.c

index 7ded894f178a01611900746668b1654797320d82..a7eb312fd631d62e5a899bf754d4d1049ec34689 100644 (file)
@@ -1774,16 +1774,6 @@ int main(int argc, char *argv[])
        char *decoded_query_string;
        int skip_getopt = 0;
 
-#if 0 && defined(PHP_DEBUG)
-       /* IIS is always making things more difficult.  This allows
-        * us to stop PHP and attach a debugger before much gets started */
-       {
-               char szMessage [256];
-               wsprintf (szMessage, "Please attach a debugger to the process 0x%X [%d] (%s) and click OK", GetCurrentProcessId(), GetCurrentProcessId(), argv[0]);
-               MessageBox(NULL, szMessage, "CGI Debug Time!", MB_OK|MB_SERVICE_NOTIFICATION);
-       }
-#endif
-
 #ifdef HAVE_SIGNAL_H
 #if defined(SIGPIPE) && defined(SIG_IGN)
        signal(SIGPIPE, SIG_IGN); /* ignore SIGPIPE in standalone mode so