Skip to content
Tcl Source Code History Of Ticket e21fc32c2aa
Login

History Of Ticket e21fc32c2aa

Artifacts Associated With Ticket e21fc32c2aa

  1. Ticket change [0a5740e08e] (rid 145258) by danckaert on 2016-03-08 14:35:59:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/x-fossil-wiki"
    4. 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].
      
    5. foundin initialized to: "8.6.5"
    6. is_private initialized to: "0"
    7. login: "danckaert"
    8. priority initialized to: "5 Medium"
    9. private_contact initialized to: "0e8530048dde617c952863a9160a09c72773c1ee"
    10. resolution initialized to: "None"
    11. severity initialized to: "Minor"
    12. status initialized to: "Open"
    13. submitter initialized to: "danckaert"
    14. subsystem initialized to: "38. Init - Library - Autoload"
    15. title initialized to:
      auto_execok does not check executability on Windows
      
    16. type initialized to: "Patch"
  2. Add attachment "patch" [6d00f20553] (rid 145259) by danckaert on 2016-03-08 14:36:53.

  3. Ticket change [a9efb2a6cc] (rid 145260) by danckaert on 2016-03-08 14:37:53:

    1. icomment: "I've attached a patch to fix this."
    2. login: "danckaert"
    3. mimetype: "text/x-fossil-wiki"
  4. Ticket change [c742f54a94] (rid 145365) by danckaert on 2016-03-09 16:12:33:

    1. closedate changed to: "2457457.17538542"
    2. closer changed to: "danckaert"
    3. 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.
      
    4. login: "danckaert"
    5. mimetype: "text/plain"
    6. status changed to: "Deleted"
  5. Ticket change [1f4af3f722] (rid 253650) by apnadkarni on 2026-05-18 10:34:26:

    1. closedate changed to: "2461178.9405859257"
    2. closer changed to: "apnadkarni"
    3. icomment:
      Needs a two-part fix. One is partly fixed in TIP 753. Other part pending is `file executable`.
      
    4. login: "apnadkarni"
    5. mimetype: "text/x-markdown"