Artifacts Associated With Ticket 1c6f6503d4fb512d
Ticket change [fc0571ce13] (rid 145366) by danckaert on 2016-03-09 16:26:57:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/x-fossil-wiki"
- comment initialized to:
There are several problems with auto_execok on Windows. See for example these tickets: 4ab2ccc4a2, 1244733, e21fc32c2a. Another issue is that the search path constructed by [auto_execok] is quite ad-hoc, while the path used by [exec] may be dependent on the OS version and even on registry values, as documented on http://msdn.microsoft.com/en-us/library/windows/desktop/aa365527(v=vs.85).aspx. All this can be solved by aligning the search procedure of [auto_execok] with [exec]. To do this, a small helper proc is needed to do call the appropriate C functions from [auto_execok]. I'm attaching a patch to do this. Note that I didn't know where precisely to declare and create the helper functions, so this may require some review.
- foundin initialized to: "8.6.5"
- is_private initialized to: "0"
- login: "danckaert"
- priority initialized to: "5 Medium"
- private_contact initialized to: "0e8530048dde617c952863a9160a09c72773c1ee"
- resolution initialized to: "None"
- severity initialized to: "Minor"
- status initialized to: "Open"
- submitter initialized to: "danckaert"
- subsystem initialized to: "38. Init - Library - Autoload"
- title initialized to: "Fix auto_execok on Windows"
- type initialized to: "Patch"
Add attachment "patch" [ea0ba3a037] (rid 145367) by danckaert on 2016-03-09 16:28:38.
Delete attachment "patch" [113dabc6cc] (rid 153934) by danckaert on 2017-05-24 07:32:13.
Add attachment "winsearch.patch" [1b80b0e2ce] (rid 153935) by danckaert on 2017-05-24 07:34:33.
Ticket change [cd71888cbf] (rid 153936) by danckaert on 2017-05-24 07:37:51:
- icomment:
I've replaced the patch with an updated version. Previous one did not always return a list.
- login: "danckaert"
- mimetype: "text/x-fossil-wiki"
- icomment:
Ticket change [15454a4b33] (rid 153937) by jan.nijtmans on 2017-05-24 08:40:32:
- assignee changed to: "jan.nijtmans"
- icomment:
I like this solution! Not enough severity to rush it into 8.6.7, but I'll have a closer look soon.
- login: "jan.nijtmans"
- mimetype: "text/plain"
Ticket change [5bacf943c7] (rid 253651) by apnadkarni on 2026-05-18 10:36:17:
- icomment:
Fixed in TIP 753 commit [de961e8d](https://core.tcl-lang.org/tcl/info/de961e8dee5470e6).
- login: "apnadkarni"
- mimetype: "text/x-markdown"
- icomment:
Ticket change [b2208305f5] (rid 253652) by apnadkarni on 2026-05-18 10:36:37:
- closedate changed to: "2461178.9421002199"
- closer changed to: "apnadkarni"
- login: "apnadkarni"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"