Re: cvs: php-src(PHP_4_3) /ext/gmp gmp.c

From: Date: Mon, 25 Apr 2005 10:28:02 +0000
Subject: Re: cvs: php-src(PHP_4_3) /ext/gmp gmp.c
References: 1  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-31579@lists.php.net to get a copy of this message
    This was propably some bug report..? Can you please add
    a test case for this and the NEWS entry?
    --Jani
On Mon, 25 Apr 2005, Stanislav Malyshev wrote:
stas Mon Apr 25 06:22:00 2005 EDT
 Modified files:              (Branch: PHP_4_3)
/php-src/ext/gmp gmp.c Log: Remove broken fix - second operand of GMP operation certainly can be 0 in general case http://cvs.php.net/diff.php/php-src/ext/gmp/gmp.c?r1=1.29.4.13&r2=1.29.4.14&ty=u Index: php-src/ext/gmp/gmp.c diff -u php-src/ext/gmp/gmp.c:1.29.4.13 php-src/ext/gmp/gmp.c:1.29.4.14 --- php-src/ext/gmp/gmp.c:1.29.4.13 Mon Apr 4 12:30:42 2005 +++ php-src/ext/gmp/gmp.c Mon Apr 25 06:21:58 2005 @@ -309,10 +309,6 @@ FETCH_GMP_ZVAL(gmpnum_b, b_arg); } - if (!Z_LVAL_PP(b_arg)) { - RETURN_FALSE; - } - INIT_GMP_NUM(gmpnum_result); if(use_ui && gmp_ui_op) { if(allow_ui_return) { @@ -352,10 +348,6 @@ FETCH_GMP_ZVAL(gmpnum_b, b_arg); } - if (!Z_LVAL_PP(b_arg)) { - RETURN_FALSE; - } - INIT_GMP_NUM(gmpnum_result1); INIT_GMP_NUM(gmpnum_result2);
-- Donate @ http://pecl.php.net/wishlist.php/sniper

« previous php.cvs (#31579) next »