Overview
| Artifact ID: | 22e155a333ef60daad1e05b893dcea3859448e23 |
|---|---|
| Ticket: | 1224888fffffffffffffffffffffffffffffffff
possible to have an empty info nameofexecutable |
| User & Date: | davidw on 2005-06-21 23:35:13 |
Changes
- icomment:
Logged In: YES user_id=240 The patch was a quick hack and the objections to it are quite valid... I'm sure we can come up with something better. However, even if Apache isn't doing things quite right, I don't think it's egregiously wrong, either, and I think that Tcl ought to be "liberal with what it accepts" as a general principle. How does this sound for an algorithm: 1) If argv0 has slashes in it, we are ok, we just use that. 2) If there are no slashes, and a file that matches pwd+argv0 exists and is executable, use that. 3) Search the PATH. 4) Can't figure anything out, so just make it NULL.
- login: "davidw"
- mimetype: "text/plain"
- username: "davidw"