Overview
| Artifact ID: | 0a5740e08e232aa8d1a07c9ebf90c52e0447e5a8 |
|---|---|
| Ticket: | e21fc32c2aaa7cd019815dde0249386021f4c74d
auto_execok does not check executability on Windows |
| User & Date: | danckaert on 2016-03-08 14:35:59 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/x-fossil-wiki"
- comment changed 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 changed to: "8.6.5"
- is_private changed to: "0"
- login: "danckaert"
- priority changed to: "5 Medium"
- private_contact changed to: "0e8530048dde617c952863a9160a09c72773c1ee"
- resolution changed to: "None"
- severity changed to: "Minor"
- status changed to: "Open"
- submitter changed to: "danckaert"
- subsystem changed to: "38. Init - Library - Autoload"
- title changed to:
auto_execok does not check executability on Windows
- type changed to: "Patch"