diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 2000-03-15 09:39:05 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 2000-03-15 09:39:05 +0000 |
commit | 2bb32164c71a0cb61e48d818b1209b952435a63f (patch) | |
tree | 681b988d22970d49e7203027359caf4812e07d5d /Src/builtin.c | |
parent | 05eb5d93b193379d8a4671f7a7121c4fc73ffeee (diff) | |
download | zsh-2bb32164c71a0cb61e48d818b1209b952435a63f.tar.gz zsh-2bb32164c71a0cb61e48d818b1209b952435a63f.tar.xz zsh-2bb32164c71a0cb61e48d818b1209b952435a63f.zip |
zsh-workers/10144
Diffstat (limited to 'Src/builtin.c')
-rw-r--r-- | Src/builtin.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Src/builtin.c b/Src/builtin.c index 73876b1fa..bbb8f1457 100644 --- a/Src/builtin.c +++ b/Src/builtin.c @@ -124,7 +124,7 @@ static struct builtin builtins[] = BUILTIN("where", 0, bin_whence, 0, -1, 0, "pmsw", "ca"), BUILTIN("which", 0, bin_whence, 0, -1, 0, "ampsw", "c"), BUILTIN("zmodload", 0, bin_zmodload, 0, -1, 0, "ILabcfdipue", NULL), - BUILTIN("zcompile", 0, bin_zcompile, 0, -1, 0, "tUmr", NULL), + BUILTIN("zcompile", 0, bin_zcompile, 0, -1, 0, "tUmrcM", NULL), }; /****************************************/ @@ -3895,7 +3895,7 @@ bin_trap(char *name, char **argv, char *ops, int func) zwarnnam(name, "undefined signal: %s", *argv, 0); break; } - t = zdupeprog(prog); + t = dupeprog(prog, 0); if (settrap(sig, t)) freeeprog(t); } |