Overview
| Artifact ID: | fc0571ce13f416b146618734dfd7398f4507d9d0 |
|---|---|
| Ticket: | 1c6f6503d4fb512d4d3d6c9cd1cfa50d34c5308c
Fix auto_execok on Windows |
| User & Date: | danckaert on 2016-03-09 16:26:57 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/x-fossil-wiki"
- 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.
- 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: "Fix auto_execok on Windows"
- type changed to: "Patch"