Artifacts Associated With Ticket 651e828a52
Ticket change [816421b8bf] (rid 136633) by apnadkarni on 2014-01-30 15:55:18:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
On Windows 8.1, tcl_platform(osVersion) is reported as 6.2 even though it is actually 6.3. This is due to a change in behaviour of the GetVersionEx Win32 API which reports 6.2 if the exe does not contain a manifest. Jan has fixed this in the trunk by adding the appropriate manifest. However, this is not a permanent fix. When Windows 8.2 (or whatever) rolls around, the manifest will have to change AGAIN and existing tclsh would still be broken. Moreover, the manifest fix only fixes tclsh and wish, not when the tcl dll is loaded from other executables. Therefore, a better fix might be to use the undocumented RtlGetVersion function which returns the real OS version. It has the same interface as GetVersionEx (the returned struct is the same though typedef'ed differently), but has to be loaded dynamically from ntdll.dll. This will permanently solve the problem for future versions and all executables that load the tcl dll (unless Microsoft breaks that function in the future as well). See http://wixtoolset.org/issues/4061/ and http://msdn.microsoft.com/en-us/library/windows/hardware/ff561910(v=vs.85).aspx
- foundin initialized to: "8.6.1"
- is_private initialized to: "0"
- login: "apnadkarni"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- severity initialized to: "Minor"
- status initialized to: "Open"
- submitter initialized to: "apnadkarni"
- subsystem initialized to: "69. Other"
- title initialized to: "Wrong Windows version reported for Windows 8.1"
- type initialized to: "Bug"
Ticket change [2c916a161e] (rid 136695) by jan.nijtmans on 2014-02-03 15:18:01:
- assignee changed to: "jan.nijtmans"
- closedate changed to: "2456692.1375144"
- closer changed to: "jan.nijtmans"
- icomment:
Fixed in core-8-5-branch [8aefc70fdb] and trunk [818d7d0f1a]
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"
- resolution changed to: "Fixed"
- status changed to: "Closed"