CVS update: php3

From: Date: Fri, 21 May 1999 19:32:07 +0000
Subject: CVS update: php3
Groups: php.dev 
Request: Send a blank email to php-dev+get-5847@lists.php.net to get a copy of this message
Date: Friday May 21, 1999 @ 15:32 Author: sas Update of /repository/php3 In directory php:/tmp/cvs-serv21760 Modified Files: main.c Log Message: Ignore floating point exceptions (one can easily generate them :( ) Index: php3/main.c diff -u php3/main.c:1.497 php3/main.c:1.498 --- php3/main.c:1.497 Thu May 13 16:15:08 1999 +++ php3/main.c Fri May 21 15:32:06 1999 @@ -29,7 +29,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: main.c,v 1.497 1999/05/13 20:15:08 sas Exp $ */ +/* $Id: main.c,v 1.498 1999/05/21 19:32:06 sas Exp $ */ /* #define CRASH_DETECTION */ @@ -1652,6 +1652,7 @@ setmode(_fileno(stderr), O_BINARY); /* make the stdio mode be binary */ #endif + signal(SIGFPE, SIG_IGN); /* Make sure we detect we are a cgi - a bit redundancy here, but the default case is that we have to check only the first one. */ if (getenv("SERVER_SOFTWARE") @@ -2016,6 +2017,7 @@ return FAILURE; } signal(SIGPIPE, SIG_IGN); + signal(SIGFPE, SIG_IGN); umask(077); while ((c = getopt(argc, argv, "spdu:t:c:PESvh")) != -1) { -- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net For help: php-dev-help@lists.php.net

« previous php.dev (#5847) next »