From 2bb32164c71a0cb61e48d818b1209b952435a63f Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Wed, 15 Mar 2000 09:39:05 +0000 Subject: zsh-workers/10144 --- Src/builtin.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Src/builtin.c') 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); } -- cgit 1.4.1