com php-src: Remove this old obsolete code: sapi/cgi/cgi_main .c
| From: | Kalle Sommer Nielsen | Date: | Mon, 21 Nov 2016 14:18:55 +0000 |
| Subject: | com php-src: Remove this old obsolete code: sapi/cgi/cgi_main .c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-95937@lists.php.net to get a copy of this message | ||
Commit: 8efbcf18a169fe07dd21ab2c9a4c16fe3e18e4e3
Author: Kalle Sommer Nielsen <kalle@php.net> Mon, 21 Nov 2016 15:18:55 +0100
Parents: e59089c6e544d1d2c7a6d9bf29398f50000797c9
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=8efbcf18a169fe07dd21ab2c9a4c16fe3e18e4e3
Log:
Remove this old obsolete code
Changed paths:
M sapi/cgi/cgi_main.c
Diff:
diff --git a/sapi/cgi/cgi_main.c b/sapi/cgi/cgi_main.c
index 7ded894..a7eb312 100644
--- a/sapi/cgi/cgi_main.c
+++ b/sapi/cgi/cgi_main.c
@@ -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