From 0f782379dee926042c0752b570d56701dada7914 Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Tue, 27 Jul 1999 16:34:33 +0000 Subject: zsh-workers:7298 --- Src/Zle/zle_tricky.c | 1 + 1 file changed, 1 insertion(+) diff --git a/Src/Zle/zle_tricky.c b/Src/Zle/zle_tricky.c index 0a79c5cce..cb2f90125 100644 --- a/Src/Zle/zle_tricky.c +++ b/Src/Zle/zle_tricky.c @@ -2617,6 +2617,7 @@ comp_match(char *pfx, char *sfx, char *w, Comp cp, chuck(r); /* We still break it into parts here, trying to build a sensible * cline list for these matches, too. */ + w = dupstring(w); wl = strlen(w); *clp = bld_parts(w, wl, wl, NULL); *exact = 0; -- cgit 1.4.1