Overview
| Artifact ID: | 70c43eadbe4d79818b395218ba5e24bf96ecff9281bb954e3179441168309bcc |
|---|---|
| Ticket: | 1224888fffffffffffffffffffffffffffffffff
possible to have an empty info nameofexecutable |
| User & Date: | aspect on 2017-11-16 12:55:34 |
Changes
- icomment:
The errors below come from readlink's silly failure to terminate its result. I've pushed a patch that handles it properly and passes the test suite. The implementation in TclpFindExecutable looks pretty good, but it could do with being broken out into individually-testable parts. Looking at the linked SO discussion, it seems all we're missing for "full" coverage is the Solaris getexecname() and FreeBSD sysctl approaches. Both these platforms apparently "often" have /proc/ with one of the paths included in exenames[]. I think this branch (once brought up to date with trunk) should eliminate the need for kitcreator's workaround. I know we have people who can test on FreeBSD (gahr?) but how about Solaris/Illumos? Anyone have access to one of those?
- login: "aspect"
- mimetype: "text/plain"