mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-27 04:40:59 +01:00
zsh-workers/10144
This commit is contained in:
parent
05eb5d93b1
commit
2bb32164c7
6 changed files with 240 additions and 67 deletions
|
|
@ -3184,7 +3184,7 @@ execautofn(Estate state, int do_exec)
|
|||
if (prog->alloc == EA_MAP)
|
||||
shf->funcdef = stripkshdef(prog, shf->nam);
|
||||
else
|
||||
shf->funcdef = zdupeprog(stripkshdef(prog, shf->nam));
|
||||
shf->funcdef = dupeprog(stripkshdef(prog, shf->nam), 0);
|
||||
shf->flags &= ~PM_UNDEFINED;
|
||||
}
|
||||
popheap();
|
||||
|
|
@ -3217,7 +3217,7 @@ loadautofn(Shfunc shf)
|
|||
if (prog->alloc == EA_MAP)
|
||||
shf->funcdef = stripkshdef(prog, shf->nam);
|
||||
else
|
||||
shf->funcdef = zdupeprog(stripkshdef(prog, shf->nam));
|
||||
shf->funcdef = dupeprog(stripkshdef(prog, shf->nam), 0);
|
||||
shf->flags &= ~PM_UNDEFINED;
|
||||
|
||||
popheap();
|
||||
|
|
@ -3359,7 +3359,7 @@ runshfunc(Eprog prog, FuncWrap wrap, char *name)
|
|||
* list of its contents. */
|
||||
|
||||
/**/
|
||||
static Eprog
|
||||
Eprog
|
||||
getfpfunc(char *s)
|
||||
{
|
||||
char **pp, buf[PATH_MAX];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue