Re: PHP 4.0 Bug #5105 Updated: Crash in session module (Arithmetic exception)
| From: | Andi Gutmans | Date: | Sun, 18 Jun 2000 15:44:51 +0000 |
| Subject: | Re: PHP 4.0 Bug #5105 Updated: Crash in session module (Arithmetic exception) | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-21681@lists.php.net to get a copy of this message | ||
I got the fp_except from the freebsd man pages. Are you sure fp_except_t
exists on FreeBSD 3.x and 4.x?
Andi
On Sun, 18 Jun 2000, Jon Parise wrote:
> 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!
>
>