Re: PHP 4.0 Bug #5105 Updated: Crash in session module (Arithmetic exception)

From: Date: Sun, 18 Jun 2000 07:37:02 +0000
Subject: Re: PHP 4.0 Bug #5105 Updated: Crash in session module (Arithmetic exception)
References: 1 2 3  Groups: php.dev 
Request: Send a blank email to php-dev+get-21668@lists.php.net to get a copy of this message
On Sun, Jun 18, 2000 at 07:24:44AM +0300, Andi Gutmans wrote: > I don't know how this happened but it was supposed to be fpsetmask > (~FP_X_IMP). I have updated the CVS. Let us know if it helps. > Also if you have time please change the code to the following and let me > know if it compiles: > Change the: > fpsetmask(FP_X_IMP); > to: > { > fp_except mask; > mask = fpgetmask(); > fpsetmask(mask & ~FP_X_IMP); > } That change works fine (except fp_except should be fp_except_t). That bug report (#5105) can be closed. Thanks for the quick fixes guys! -- Jon Parise (jon@csh.rit.edu) . Rochester Inst. of Technology http://www.csh.rit.edu/~jon/ : Computer Science House Member

« previous php.dev (#21668) next »