cvs: /php4/sapi/cgi cgi_main.c

From: Date: Thu, 20 Apr 2000 07:35:52 +0000
Subject: cvs: /php4/sapi/cgi cgi_main.c
Groups: php.version4 
Request: Send a blank email to php-version4+get-13779@lists.php.net to get a copy of this message
thies Thu Apr 20 00:35:52 2000 EDT Modified files: /php4/sapi/cgi cgi_main.c Log: improve fix Index: php4/sapi/cgi/cgi_main.c diff -u php4/sapi/cgi/cgi_main.c:1.36 php4/sapi/cgi/cgi_main.c:1.37 --- php4/sapi/cgi/cgi_main.c:1.36 Wed Apr 19 10:28:23 2000 +++ php4/sapi/cgi/cgi_main.c Thu Apr 20 00:35:22 2000 @@ -338,8 +338,8 @@ #endif -#ifndef WIN32 /* SIGPIPE is unknown on WIN32 platforms fmk@swwwing.com */ #if HAVE_SIGNAL_H +#if defined(SIGPIPE) && defined(SIG_IGN) 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!

« previous php.version4 (#13779) next »