Bug #52849 [Asn->Csd]: GNU MP invalid version match
| From: | aharvey@php.net | Date: | Wed, 15 Sep 2010 10:52:07 +0000 |
| Subject: | Bug #52849 [Asn->Csd]: GNU MP invalid version match | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-154392@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=52849&edit=1
ID: 52849
Updated by: aharvey@php.net
Reported by: jariberg at gmail dot com
-Summary: Invalid version match
+Summary: GNU MP invalid version match
-Status: Assigned
+Status: Closed
Type: Bug
Package: GNU MP related
Operating System: All
PHP Version: 5.3.3
Assigned To: aharvey
Block user comment: N
New Comment:
This bug has been fixed in SVN.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2010-09-15 12:51:57] aharvey@php.net
Automatic comment from SVN on behalf of aharvey
Revision: http://svn.php.net/viewvc/?view=revision&revision=303391
Log: Fix bug #52849 (GNU MP invalid version match).
------------------------------------------------------------------------
[2010-09-15 10:44:23] jariberg at gmail dot com
Changed summary text
------------------------------------------------------------------------
[2010-09-15 10:40:47] jariberg at gmail dot com
Description:
------------
in PHP's ext/gmp/gmp.c file the GNU_MP version match is invalid:
The current GNU MP version match only takes into account if the
installed GMP
version is < 5.0.
Original code:
__GNU_MP_VERSION >= 4 && __GNU_MP_VERSION_MINOR >= 2
Correct code:
(((__GNU_MP_VERSION >= 4) && (__GNU_MP_VERSION_MINOR >= 2)) ||
(__GNU_MP_VERSION
>= 5))
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=52849&edit=1