mirror of
https://git.code.sf.net/p/zsh/code
synced 2026-04-18 06:53:35 -04:00
53146: flags cannot be copied from an undefined function (cf. ca6f4466)
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2024-10-16 Bart Schaefer <schaefer@toltec-ubuntu>
|
||||
|
||||
* 53146: Src/exec.c: trace flags cannot be copied from an
|
||||
undefined function (cf. workers/45131)
|
||||
|
||||
2024-09-02 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
|
||||
|
||||
* 53134: configure.ac: use -undefined dynamic_lookup on recent macOS
|
||||
|
||||
@@ -5504,7 +5504,8 @@ execfuncdef(Estate state, Eprog redir_prog)
|
||||
if (funcstack && funcstack->tp == FS_FUNC &&
|
||||
!strcmp(s, funcstack->name)) {
|
||||
Shfunc old = ((Shfunc)shfunctab->getnode(shfunctab, s));
|
||||
shf->node.flags |= old->node.flags & (PM_TAGGED|PM_TAGGED_LOCAL);
|
||||
if (old)
|
||||
shf->node.flags |= old->node.flags & (PM_TAGGED|PM_TAGGED_LOCAL);
|
||||
}
|
||||
shfunctab->addnode(shfunctab, ztrdup(s), shf);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user