mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-06-19 09:48:03 +02:00
51632: nmetafy $_ when exporting it to child
This commit is contained in:
parent
b411dc5702
commit
98b4d4bdca
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
2023-04-09 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
|
||||
|
||||
* 51632: Src/exec.c: unmetafy $_ when exporting it to child
|
||||
|
||||
2023-04-03 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
|
||||
|
||||
* 51597: Src/Zle/zle_utils.c: fix 'vared -c var' when var is unset
|
||||
|
|
|
@ -519,7 +519,7 @@ zexecve(char *pth, char **argv, char **newenvp)
|
|||
if (*pth == '/')
|
||||
strcpy(buf + 2, pth);
|
||||
else
|
||||
sprintf(buf + 2, "%s/%s", pwd, pth);
|
||||
sprintf(buf + 2, "%s/%s", unmeta(pwd), pth);
|
||||
zputenv(buf);
|
||||
#ifndef FD_CLOEXEC
|
||||
closedumps();
|
||||
|
|
Loading…
Reference in a new issue