cvs: ZendEngine2(PHP_5_2) /tests bug42143.phpt php-src NEWS php-src/win32/build config.w32.h.in

[email protected] ("Pierre-Alain Joye") Fri, 29 May 2009 07:29:20 -0000
Newsgroups php.zend-engine.cvs
Message-ID <cvspajoye1243582160@cvsserver>
pajoye		Fri May 29 07:29:20 2009 UTC

  Added files:                 (Branch: PHP_5_2)
    /ZendEngine2/tests	bug42143.phpt 

  Modified files:              
    /php-src	NEWS 
    /php-src/win32/build	config.w32.h.in 
  Log:
  - #42143, the constant NAN is reported as 0 on Windows
  
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.1531&r2=1.2027.2.547.2.1532&diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.1531 php-src/NEWS:1.2027.2.547.2.1532
--- php-src/NEWS:1.2027.2.547.2.1531	Fri May 29 02:35:56 2009
+++ php-src/NEWS	Fri May 29 07:29:20 2009
@@ -7,6 +7,8 @@
   (Scott)
 - Fixed bug #48378 (exif_read_data() segfaults on certain corrupted .jpeg 
   files). (Pierre)
+- Fixed bug #42143 (The constant NAN is reported as 0 on Windows)
+  (Kanwaljeet Singla, Venkat Raman Don)
 
 27 May 2009, PHP 5.2.10RC1
 - Updated timezone database to version 2009.8 (2009h) (Derick)
http://cvs.php.net/viewvc.cgi/php-src/win32/build/config.w32.h.in?r1=1.7.2.4.2.3&r2=1.7.2.4.2.4&diff_format=u
Index: php-src/win32/build/config.w32.h.in
diff -u php-src/win32/build/config.w32.h.in:1.7.2.4.2.3 php-src/win32/build/config.w32.h.in:1.7.2.4.2.4
--- php-src/win32/build/config.w32.h.in:1.7.2.4.2.3	Wed Jul 11 17:36:56 2007
+++ php-src/win32/build/config.w32.h.in	Fri May 29 07:29:20 2009
@@ -1,6 +1,6 @@
 /*
 	Build Configuration Template for Win32.
-	$Id: config.w32.h.in,v 1.7.2.4.2.3 2007/07/11 17:36:56 johannes Exp $
+	$Id: config.w32.h.in,v 1.7.2.4.2.4 2009/05/29 07:29:20 pajoye Exp $
 */
 
 /* Default PHP / PEAR directories */
@@ -145,7 +145,7 @@
 
 #undef HAVE_ATOF_ACCEPTS_NAN
 #undef HAVE_ATOF_ACCEPTS_INF
-#define HAVE_HUGE_VAL_NAN 1
+#define HAVE_HUGE_VAL_NAN 0
 
 /* vs.net 2005 has a 64-bit time_t.  This will likely break
  * 3rdParty libs that were built with older compilers; switch

http://cvs.php.net/viewvc.cgi/ZendEngine2/tests/bug42143.phpt?view=markup&rev=1.1
Index: ZendEngine2/tests/bug42143.phpt
+++ ZendEngine2/tests/bug42143.phpt