cvs: Zend(PHP_4_3) / zend_operators.h php-src NEWS php-src/tests/lang bug28800.phpt
| From: | Ilia Alshanetsky | Date: | Fri, 16 Jul 2004 02:24:46 +0000 |
| Subject: | cvs: Zend(PHP_4_3) / zend_operators.h php-src NEWS php-src/tests/lang bug28800.phpt | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-2740@lists.php.net to get a copy of this message | ||
iliaa Thu Jul 15 22:24:46 2004 EDT
Added files: (Branch: PHP_4_3)
/php-src/tests/lang bug28800.phpt
Modified files:
/php-src NEWS
/Zend zend_operators.h
Log:
MFH: Fixed bug #28800 (strings beginning with "inf" improperly converted).
http://cvs.php.net/diff.php/php-src/NEWS?r1=1.1247.2.701&r2=1.1247.2.702&ty=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.1247.2.701 php-src/NEWS:1.1247.2.702
--- php-src/NEWS:1.1247.2.701 Wed Jul 14 21:46:28 2004
+++ php-src/NEWS Thu Jul 15 22:24:45 2004
@@ -22,6 +22,7 @@
- Fixed bug #28868 (Internal wrapper registry not thread safe). (Sara)
- Fixed bug #28818 (Apache 2 sapis do not export st_dev).
(xuefer at 21cn dot com, Ilia).
+- Fixed bug #28800 (strings beginning with "inf" improperly converted). (Ilia)
- Fixed bug #28723 (Fixed mbstring config.m4 to work on OSes where test
command does not support -e parameter). (Ilia)
- Fixed bug #28692 (\0 in Authenticate header passed via safe_mode). (Ilia)
http://cvs.php.net/diff.php/Zend/zend_operators.h?r1=1.55.2.1&r2=1.55.2.2&ty=u
Index: Zend/zend_operators.h
diff -u Zend/zend_operators.h:1.55.2.1 Zend/zend_operators.h:1.55.2.2
--- Zend/zend_operators.h:1.55.2.1 Tue Dec 31 11:23:05 2002
+++ Zend/zend_operators.h Thu Jul 15 22:24:46 2004
@@ -81,6 +81,8 @@
*lval = local_lval;
}
return IS_LONG;
+ } else if (end_ptr_long == str && *end_ptr_long != '\0') { /* ignore partial
string matches */
+ return 0;
}
} else {
end_ptr_long=NULL;
http://cvs.php.net/co.php/php-src/tests/lang/bug28800.phpt?r=1.1&p=1
Index: php-src/tests/lang/bug28800.phpt
+++ php-src/tests/lang/bug28800.phpt