cvs: /php4/sapi/cgi cgi_main.c
| From: | Frank M. Kromann | Date: | Wed, 19 Apr 2000 17:28:54 +0000 |
| Subject: | cvs: /php4/sapi/cgi cgi_main.c | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-13758@lists.php.net to get a copy of this message | ||
fmk Wed Apr 19 10:28:54 2000 EDT
Modified files:
/php4/sapi/cgi cgi_main.c
Log:
SIGPIPE is unknown on WIN32 platforms
Index: php4/sapi/cgi/cgi_main.c
diff -u php4/sapi/cgi/cgi_main.c:1.35 php4/sapi/cgi/cgi_main.c:1.36
--- php4/sapi/cgi/cgi_main.c:1.35 Wed Apr 19 08:37:43 2000
+++ php4/sapi/cgi/cgi_main.c Wed Apr 19 10:28:23 2000
@@ -338,11 +338,13 @@
#endif
+#ifndef WIN32 /* SIGPIPE is unknown on WIN32 platforms fmk@swwwing.com */
#if HAVE_SIGNAL_H
signal(SIGPIPE,SIG_IGN); /* ignore SIGPIPE in standalone mode so that sockets created via
fsockopen() don't kill PHP if the remote site closes it.
in apache|apxs mode apache does that for us!
thies@digicol.de 20000419 */
+#endif
#endif
#ifndef ZTS