mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
Merge remote-tracking branch 'origin/maint-0.2.2'
This commit is contained in:
commit
2725a88d5e
5
changes/windows_8
Normal file
5
changes/windows_8
Normal file
@ -0,0 +1,5 @@
|
||||
o Minor bugfixes:
|
||||
- The next version of Windows will be called Windows 8, and it has a major
|
||||
version of 6, minor version of 2. Correctly identify that version instead
|
||||
of calling it "Very recent version". Fixes bug 4153; reported by funkstar.
|
||||
|
@ -1861,6 +1861,7 @@ get_uname(void)
|
||||
static struct {
|
||||
unsigned major; unsigned minor; const char *version;
|
||||
} win_version_table[] = {
|
||||
{ 6, 2, "Windows 8" },
|
||||
{ 6, 1, "Windows 7" },
|
||||
{ 6, 0, "Windows Vista" },
|
||||
{ 5, 2, "Windows Server 2003" },
|
||||
@ -1917,7 +1918,7 @@ get_uname(void)
|
||||
plat, extra);
|
||||
} else {
|
||||
if (info.dwMajorVersion > 6 ||
|
||||
(info.dwMajorVersion==6 && info.dwMinorVersion>1))
|
||||
(info.dwMajorVersion==6 && info.dwMinorVersion>2))
|
||||
tor_snprintf(uname_result, sizeof(uname_result),
|
||||
"Very recent version of Windows [major=%d,minor=%d] %s",
|
||||
(int)info.dwMajorVersion,(int)info.dwMinorVersion,
|
||||
|
Loading…
Reference in New Issue
Block a user