From 584e7ffd6a7e6335495f507e8dec4f7708e5b5f8 Mon Sep 17 00:00:00 2001 From: chrfranke <chrfranke@4ea69e1a-61f1-4043-bf83-b5c94c648137> Date: Wed, 19 Jun 2019 19:59:25 +0000 Subject: [PATCH] os_win32.cpp: Decode Windows 10 1903 and Server 1903 build number. git-svn-id: https://svn.code.sf.net/p/smartmontools/code/trunk@4926 4ea69e1a-61f1-4043-bf83-b5c94c648137 --- smartmontools/ChangeLog | 2 ++ smartmontools/os_win32.cpp | 2 ++ 2 files changed, 4 insertions(+) diff --git a/smartmontools/ChangeLog b/smartmontools/ChangeLog index 34372045b..8af3c0ba2 100644 --- a/smartmontools/ChangeLog +++ b/smartmontools/ChangeLog @@ -2,6 +2,8 @@ $Id$ 2019-06-19 Christian Franke <franke@computer.org> + os_win32.cpp: Decode Windows 10 1903 and Server 1903 build number. + smartctl.8.in: Fix typo introduced 15 years ago in r1789. drivedb.h: diff --git a/smartmontools/os_win32.cpp b/smartmontools/os_win32.cpp index ab352620f..640322664 100644 --- a/smartmontools/os_win32.cpp +++ b/smartmontools/os_win32.cpp @@ -4025,6 +4025,7 @@ std::string win_smart_interface::get_os_version_str() case 16299: w = "w10-1709"; break; case 17134: w = "w10-1803"; break; case 17763: w = "w10-1809"; break; + case 18362: w = "w10-1903"; break; default: w = "w10"; build = vi.dwBuildNumber; break; } break; @@ -4034,6 +4035,7 @@ std::string win_smart_interface::get_os_version_str() case 16299: w = "2016-1709"; break; case 17134: w = "2016-1803"; break; case 17763: w = "2019"; break; + case 18362: w = "2019-1903"; break; default: w = (vi.dwBuildNumber < 17763 ? "2016" : "2019"); -- GitLab