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

From: Date: Mon, 25 Apr 2005 10:22:00 +0000
Subject: cvs: php-src(PHP_4_3) /ext/gmp gmp.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-31578@lists.php.net to get a copy of this message
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);

« previous php.cvs (#31578) next »