Skip to content
Tcl Source Code History Of Ticket b876737a0b
Login

History Of Ticket b876737a0b

Artifacts Associated With Ticket b876737a0b

  1. Ticket change [4d047eb224] (rid 241090) by jan.nijtmans on 2025-06-09 14:36:23:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/x-fossil-wiki"
    4. comment initialized to:
      Example (MacOS):
      <pre>
      $ tclsh9.0
      % tcl::tm::path list
      /Library/Tcl/tcl9/site-tcl /Library/Tcl/tcl9/9.0 /Users/jan/workspace/tcl9.0/macosx/~/Library/Tcl/tcl9/site-tcl /Users/jan/workspace/tcl9.0/macosx/~/Library/Tcl/tcl9/9.0 /usr/local/lib/tcl9/site-tcl /usr/local/lib/tcl9/9.0 /Library/Frameworks/Tcl.framework/Versions/9.0/Resources/tcl9/site-tcl /Library/Frameworks/Tcl.framework/Versions/9.0/Resources/tcl9/9.0
      </pre>
      
      The 3th and 4th entries don't make sense.
      
    5. foundin initialized to: "9.0"
    6. is_private initialized to: "0"
    7. login: "jan.nijtmans"
    8. priority initialized to: "5 Medium"
    9. private_contact initialized to: "0c50e5320704d174412e57b873d8932de15303e0"
    10. resolution initialized to: "None"
    11. severity initialized to: "Important"
    12. status initialized to: "Open"
    13. submitter initialized to: "jan.nijtmans"
    14. subsystem initialized to: "38. Init - Library - Autoload"
    15. title initialized to: "tcl::tm::path doesn't handle tilde expand"
    16. type initialized to: "Bug"
  2. Ticket change [09b850804d] (rid 241101) by apnadkarni on 2025-06-10 02:29:55:

    1. icomment:
      I don't think this fix is correct. As TIP 602 explicitly says
      
      *Note that the commands tcl::tm::add and tcl::tm::roots will not themselves do any tilde expansion.*
      
      Tildes are not special characters in Tcl 9 with the exception in the TIP for initialization at startup from environment variables including `TCL9_0_TM_PATH` etc.
      
      It is up to the caller of tm::add and tm::roots to do tilde expansion or not as they see fit.
      
      In this case, I am not sure where the paths containing ~ are coming from. If from environment variables at startup, then that initialization code should do the expansion before calling tm::add.
      
    2. login: "apnadkarni"
    3. mimetype: "text/x-markdown"
  3. Ticket change [eab2824eab] (rid 241159) by jan.nijtmans on 2025-06-10 15:06:08:

    1. assignee changed to: "jan.nijtmans"
    2. closedate changed to: "2460837.12926366"
    3. closer changed to: "jan.nijtmans"
    4. icomment:
      Fixed [7ad80e3bed1cc1d3|here]
      
      Thanks, Ashok! I moved the handling of "file tildeexpand" to the caller of tcl::tm::roots.
      
    5. login: "jan.nijtmans"
    6. mimetype: "text/x-fossil-wiki"
    7. resolution changed to: "Fixed"
    8. status changed to: "Closed"