pajoye                                   Thu, 06 Jan 2011 17:08:46 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=307168

Log:
- fix vc6 random behavior for Fix bug #53632 with x87 fpu

Bug: http://bugs.php.net/53632 (Assigned) PHP hangs on numeric value 
2.2250738585072011e-308
      
Changed paths:
    U   php/php-src/branches/PHP_5_3/Zend/zend_strtod.c

Modified: php/php-src/branches/PHP_5_3/Zend/zend_strtod.c
===================================================================
--- php/php-src/branches/PHP_5_3/Zend/zend_strtod.c     2011-01-06 16:41:32 UTC 
(rev 307167)
+++ php/php-src/branches/PHP_5_3/Zend/zend_strtod.c     2011-01-06 17:08:46 UTC 
(rev 307168)
@@ -2030,6 +2030,10 @@
        return s0;
 }

+/* F* VC6 */
+#if _MSC_VER <= 1300
+# pragma optimize( "", off )
+#endif
 ZEND_API double zend_strtod (CONST char *s00, char **se)
 {
        int bb2, bb5, bbe, bd2, bd5, bbbits, bs2, c, dsign,

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to