Artifacts Associated With Ticket e21fc32c2aaa7cd0
Ticket change [0a5740e08e] (rid 145258) by danckaert on 2016-03-08 14:35:59:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/x-fossil-wiki"
- comment initialized to:
On Windows, [auto_execok] lies when there is a (non-executable) file without extension next to the same file with .exe extension. For example, when the current directory contains "foo" and "foo.exe", [auto_execok foo] will return "foo". This can be fixed by checking for executability before returning. This was probably not done in the past because [file executable] was not reliable on Windows. However, these issues were fixed in http://core.tcl.tk/tcl/info/23cc9bf170fd4489. So I think [file executable] can now safely be used in [auto_execok].
- 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:
auto_execok does not check executability on Windows
- type initialized to: "Patch"
Add attachment "patch" [6d00f20553] (rid 145259) by danckaert on 2016-03-08 14:36:53.
Ticket change [a9efb2a6cc] (rid 145260) by danckaert on 2016-03-08 14:37:53:
- icomment: "I've attached a patch to fix this."
- login: "danckaert"
- mimetype: "text/x-fossil-wiki"
Ticket change [c742f54a94] (rid 145365) by danckaert on 2016-03-09 16:12:33:
- closedate changed to: "2457457.17538542"
- closer changed to: "danckaert"
- icomment:
Sorry, apparently [file executable] only checks the file extension, which is not sufficient either. Furthermore, there are other issues with auto_execok. So forget this patch. I will delete this ticket and create another one instead.
- login: "danckaert"
- mimetype: "text/plain"
- status changed to: "Deleted"
Ticket change [1f4af3f722] (rid 253650) by apnadkarni on 2026-05-18 10:34:26:
- closedate changed to: "2461178.9405859257"
- closer changed to: "apnadkarni"
- icomment:
Needs a two-part fix. One is partly fixed in TIP 753. Other part pending is `file executable`.
- login: "apnadkarni"
- mimetype: "text/x-markdown"