1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-03 10:21:46 +02:00

42043: ZSH_DEBUG_CMD should not WARN_CREATE_GLOBAL

This commit is contained in:
Barton E. Schaefer 2018-01-14 03:07:32 -08:00
parent 0cfa6da3e8
commit b476d89fa2
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2018-01-14 Barton E. Schaefer <schaefer@zsh.org>
* 42043: Src/exec.c: ZSH_DEBUG_CMD should not WARN_CREATE_GLOBAL
2018-01-13 Barton E. Schaefer <schaefer@zsh.org>
* 42264: Doc/Zsh/expn.yo: Follow-up to previous: Clarify that

View file

@ -1319,7 +1319,9 @@ execlist(Estate state, int dont_change_job, int exiting)
noerrexit = NOERREXIT_EXIT | NOERREXIT_RETURN;
if (ltype & Z_SIMPLE) /* skip the line number */
pc2++;
pm = setsparam("ZSH_DEBUG_CMD", getpermtext(state->prog, pc2, 0));
pm = assignsparam("ZSH_DEBUG_CMD",
getpermtext(state->prog, pc2, 0),
0);
exiting = donetrap;
ret = lastval;