Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: fc0571ce13f416b146618734dfd7398f4507d9d0
Ticket: 1c6f6503d4fb512d4d3d6c9cd1cfa50d34c5308c
Fix auto_execok on Windows
User & Date: danckaert on 2016-03-09 16:26:57
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/x-fossil-wiki"
  4. comment changed 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 changed to: "8.6.5"
  6. is_private changed to: "0"
  7. login: "danckaert"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "0e8530048dde617c952863a9160a09c72773c1ee"
  10. resolution changed to: "None"
  11. severity changed to: "Minor"
  12. status changed to: "Open"
  13. submitter changed to: "danckaert"
  14. subsystem changed to: "38. Init - Library - Autoload"
  15. title changed to: "Fix auto_execok on Windows"
  16. type changed to: "Patch"