about summary refs log tree commit diff
path: root/Src/builtin.c
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>2000-03-15 09:39:05 +0000
committerTanaka Akira <akr@users.sourceforge.net>2000-03-15 09:39:05 +0000
commit2bb32164c71a0cb61e48d818b1209b952435a63f (patch)
tree681b988d22970d49e7203027359caf4812e07d5d /Src/builtin.c
parent05eb5d93b193379d8a4671f7a7121c4fc73ffeee (diff)
downloadzsh-2bb32164c71a0cb61e48d818b1209b952435a63f.tar.gz
zsh-2bb32164c71a0cb61e48d818b1209b952435a63f.tar.xz
zsh-2bb32164c71a0cb61e48d818b1209b952435a63f.zip
zsh-workers/10144
Diffstat (limited to 'Src/builtin.c')
-rw-r--r--Src/builtin.c4
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);
     }