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 {
|