diff options
Diffstat (limited to 'Src/exec.c')
-rw-r--r-- | Src/exec.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Src/exec.c b/Src/exec.c index 336983e46..120b55eb5 100644 --- a/Src/exec.c +++ b/Src/exec.c @@ -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]; |