Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 849a1079895757dac5a23cced9b3170adc06b2eca4ec988a9930f546a2507812
Ticket: 7de2d722bd599da5db26b42ed8addb16a66c832c
cmdAH-25.2 (Tcl_FileObjCmd: owned) fails on Windows
User & Date: sebres on 2019-09-12 18:11:03
Changes

  1. icomment:
    As for SystemRoot vs WinDir, yes we can switch it (also in init.tcl etc, because auto_execok may then also stop to work or add some invalid path).
    
    SystemRoot is readonly in opposite to WinDir and WinDir was superseded by SystemRoot at some point (but does not exists in earlier Windows versions).
    (see also https://superuser.com/questions/638321/what-is-difference-between-windir-and-systemroot).
    
    Also I suspect many scripts still depending on env(WinDir), so possibly still better to cover that...
    
    So crucial question is what exactly overwrites it in your case? Just good to know.<br/>
    Does it also happen if you starts only this test alone, so using <code>-file cmdAH.test -match cmdAH-25.3.1</code>?<br/>
    Can you possibly extend your tests (init.tcl, tcltest.tcl, whatever) with some trace over ::env in order to see who exactly changes that?
    
  2. login: "sebres"
  3. mimetype: "text/x-fossil-wiki"