diff options
author | Paul Ackersviller <packersv@users.sourceforge.net> | 2007-10-15 02:02:04 +0000 |
---|---|---|
committer | Paul Ackersviller <packersv@users.sourceforge.net> | 2007-10-15 02:02:04 +0000 |
commit | 0f47e719fa5e1764c3748decfc31975c3f05adaf (patch) | |
tree | 9dca75577ee9a5a933f78deb95757e6514db8f1e /Src | |
parent | 5cedeebb18ec43eb8282975579b98ebc26a03ea2 (diff) | |
download | zsh-0f47e719fa5e1764c3748decfc31975c3f05adaf.tar.gz zsh-0f47e719fa5e1764c3748decfc31975c3f05adaf.tar.xz zsh-0f47e719fa5e1764c3748decfc31975c3f05adaf.zip |
Merge of 22473: modify zsh-users/10343 to print interpreter using nice characters.
Diffstat (limited to 'Src')
-rw-r--r-- | Src/exec.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/Src/exec.c b/Src/exec.c index 1b54b7e0f..7335ac7e8 100644 --- a/Src/exec.c +++ b/Src/exec.c @@ -399,9 +399,12 @@ zexecve(char *pth, char **argv) char *buf; if (*ptr) *ptr = '\0'; - buf = tricat("%s: bad interpreter: ", ptr2, - ": %e"); - zerr(buf, pth, eno); + /* + * TODO: needs variable argument handling + * in zerrmsg() etc. to do this properly. + */ + buf = dyncat(pth, ": bad interpreter: %s: %e"); + zerr(buf, ptr2, eno); } else if (*ptr) { *ptr = '\0'; argv[-2] = ptr2; |