From dae7a27fff239e97c5862b2f434284ec4d0d55b5 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Fri, 18 Jan 2008 16:41:36 +0000 Subject: 24406: use deep copy of Cline structure to avoid recursion problem --- Src/Zle/compmatch.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Src/Zle') diff --git a/Src/Zle/compmatch.c b/Src/Zle/compmatch.c index 6dff2243e..bf9d2cb0d 100644 --- a/Src/Zle/compmatch.c +++ b/Src/Zle/compmatch.c @@ -2003,8 +2003,8 @@ sub_join(Cline a, Cline b, Cline e, int anew) ca = a->prefix; while (n) { - e->prefix = cp_cline(n, 0); - a->prefix = cp_cline(ca, 0); + e->prefix = cp_cline(n, 1); + a->prefix = cp_cline(ca, 1); if (anew) { int f = e->flags; -- cgit 1.4.1