php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #55258
Patch windows-7-version-detect-fix revision 2011-07-21 13:29 UTC by xiaomao5 at live dot com

Patch windows-7-version-detect-fix for Unknown/Other Function Bug #55258

Patch version 2011-07-21 13:29 UTC

Return to Bug #55258 | Download this patch
Patch Revisions:

Developer: xiaomao5@live.com

--- php-svn-5.3.5/ext/standard/info.c	2011-02-10 15:46:13.510742100 -0500
+++ php-improved/ext/standard/info.c	2011-02-13 17:38:43.016601500 -0500
@@ -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 Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Nov 24 02:01:28 2024 UTC