From 14231691e15744c0aac39224e9aa0d84835313fe Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Tue, 18 Nov 2008 10:07:31 +0000 Subject: 26061: fix clash between process subst and numeric glob 26062: additional compmatch change, missed from 26047 --- Src/Zle/compmatch.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Src/Zle') diff --git a/Src/Zle/compmatch.c b/Src/Zle/compmatch.c index 77dc5958d..c4523ae47 100644 --- a/Src/Zle/compmatch.c +++ b/Src/Zle/compmatch.c @@ -1812,7 +1812,6 @@ bld_line(Cmatcher mp, ZLE_STRING_T line, char *mword, char *word, /* we now reuse mp, lpat, wpat for the global matchers */ MB_METACHARINIT(); while (llen && wlen) { - convchar_t wchr; int wmtp; convchar_t *wp; Cpattern tmpgenpat; @@ -1835,7 +1834,7 @@ bld_line(Cmatcher mp, ZLE_STRING_T line, char *mword, char *word, if (curgenpat->tp == CPAT_CHAR) lchr = curgenpat->u.chr; else - lchr = wchr; + lchr = *wp; if (sfx) *--line = lchr; -- cgit 1.4.1