Artifacts Associated With Ticket b876737a0b
Ticket change [4d047eb224] (rid 241090) by jan.nijtmans on 2025-06-09 14:36:23:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/x-fossil-wiki"
- 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.
- foundin initialized to: "9.0"
- is_private initialized to: "0"
- login: "jan.nijtmans"
- priority initialized to: "5 Medium"
- private_contact initialized to: "0c50e5320704d174412e57b873d8932de15303e0"
- resolution initialized to: "None"
- severity initialized to: "Important"
- status initialized to: "Open"
- submitter initialized to: "jan.nijtmans"
- subsystem initialized to: "38. Init - Library - Autoload"
- title initialized to: "tcl::tm::path doesn't handle tilde expand"
- type initialized to: "Bug"
Ticket change [09b850804d] (rid 241101) by apnadkarni on 2025-06-10 02:29:55:
- 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.
- login: "apnadkarni"
- mimetype: "text/x-markdown"
- icomment:
Ticket change [eab2824eab] (rid 241159) by jan.nijtmans on 2025-06-10 15:06:08:
- assignee changed to: "jan.nijtmans"
- closedate changed to: "2460837.12926366"
- closer changed to: "jan.nijtmans"
- icomment:
Fixed [7ad80e3bed1cc1d3|here] Thanks, Ashok! I moved the handling of "file tildeexpand" to the caller of tcl::tm::roots.
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"
- resolution changed to: "Fixed"
- status changed to: "Closed"