Skip to content
Tcl Source Code History Of Ticket 1c6f6503d4
Login

History Of Ticket 1c6f6503d4

Artifacts Associated With Ticket 1c6f6503d4

  1. Ticket change [fc0571ce13] (rid 145366) by danckaert on 2016-03-09 16:26:57:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/x-fossil-wiki"
    4. 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.
      
    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: "Fix auto_execok on Windows"
    16. type initialized to: "Patch"
  2. Add attachment "patch" [ea0ba3a037] (rid 145367) by danckaert on 2016-03-09 16:28:38.

  3. Delete attachment "patch" [113dabc6cc] (rid 153934) by danckaert on 2017-05-24 07:32:13.

  4. Add attachment "winsearch.patch" [1b80b0e2ce] (rid 153935) by danckaert on 2017-05-24 07:34:33.

  5. Ticket change [cd71888cbf] (rid 153936) by danckaert on 2017-05-24 07:37:51:

    1. icomment:
      I've replaced the patch with an updated version. Previous one did not always return a list.
      
    2. login: "danckaert"
    3. mimetype: "text/x-fossil-wiki"
  6. Ticket change [15454a4b33] (rid 153937) by jan.nijtmans on 2017-05-24 08:40:32:

    1. assignee changed to: "jan.nijtmans"
    2. icomment:
      I like this solution! Not enough severity to rush it into 8.6.7, but I'll have a closer look soon.
      
    3. login: "jan.nijtmans"
    4. mimetype: "text/plain"
  7. Ticket change [5bacf943c7] (rid 253651) by apnadkarni on 2026-05-18 10:36:17:

    1. icomment:
      Fixed in TIP 753 commit [de961e8d](https://core.tcl-lang.org/tcl/info/de961e8dee5470e6).
      
    2. login: "apnadkarni"
    3. mimetype: "text/x-markdown"
  8. Ticket change [b2208305f5] (rid 253652) by apnadkarni on 2026-05-18 10:36:37:

    1. closedate changed to: "2461178.9421002199"
    2. closer changed to: "apnadkarni"
    3. login: "apnadkarni"
    4. mimetype: "text/plain"
    5. resolution changed to: "Fixed"
    6. status changed to: "Closed"