diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 2000-02-04 12:05:53 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 2000-02-04 12:05:53 +0000 |
commit | a260aa4a4c752b0fe319729da83ca0481db95270 (patch) | |
tree | d9ce3e6874d26801bced0cb0dac21f93a314d953 /Src/exec.c | |
parent | bf601158a3b00402794fc0bbf401883fac3e64c1 (diff) | |
download | zsh-a260aa4a4c752b0fe319729da83ca0481db95270.tar.gz zsh-a260aa4a4c752b0fe319729da83ca0481db95270.tar.xz zsh-a260aa4a4c752b0fe319729da83ca0481db95270.zip |
zsh-workers/9558
Diffstat (limited to 'Src/exec.c')
-rw-r--r-- | Src/exec.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Src/exec.c b/Src/exec.c index 45f771bd2..e021a4581 100644 --- a/Src/exec.c +++ b/Src/exec.c @@ -3096,6 +3096,8 @@ loadautofn(Shfunc shf) zerr("%s: function definition file not found", shf->nam, 0); return 1; } + if (!prog) + prog = &dummy_eprog; PERMALLOC { shf->funcdef = dupeprog(stripkshdef(prog, shf->nam)); } LASTALLOC; |