pajoye                                   Thu, 21 Jul 2011 14:49:55 +0000

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

Log:
- Fixed bug #55258 (Windows Version Detecting Error) (already fixed in 
trunk/5.4)

Bug: https://bugs.php.net/55258 (Open) Windows Version Detecting Error
      
Changed paths:
    U   php/php-src/branches/PHP_5_3/NEWS
    U   php/php-src/branches/PHP_5_3/ext/standard/info.c

Modified: php/php-src/branches/PHP_5_3/NEWS
===================================================================
--- php/php-src/branches/PHP_5_3/NEWS   2011-07-21 14:22:15 UTC (rev 313537)
+++ php/php-src/branches/PHP_5_3/NEWS   2011-07-21 14:49:55 UTC (rev 313538)
@@ -16,6 +16,8 @@
 - Core
   . Removed warning when argument of is_a() or is_subclass_of() is not
     a known class. (Stas)
+  . Fixed bug #55258 (Windows Version Detecting Error).
+    ( xiaomao5 at live dot com, Pierre)
   . Fixed bug #55187 (readlink returns weird characters when false result).
    (Pierre)
   . Fixed bug #55014 (Compile failure due to improper use of ctime_r()). (Ilia)

Modified: php/php-src/branches/PHP_5_3/ext/standard/info.c
===================================================================
--- php/php-src/branches/PHP_5_3/ext/standard/info.c    2011-07-21 14:22:15 UTC 
(rev 313537)
+++ php/php-src/branches/PHP_5_3/ext/standard/info.c    2011-07-21 14:49:55 UTC 
(rev 313538)
@@ -289,7 +289,7 @@
                                        major = "Windows Server 2008";
                                }
                        } else
-                       if ( osvi.dwMinorVersion == 2 ) {
+                       if ( osvi.dwMinorVersion == 1 ) {
                                if( osvi.wProductType == VER_NT_WORKSTATION )  {
                                        major = "Windows 7";
                                } else {

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

Reply via email to