Fix bug causing `[' to be wrongly included in character class expressions

in some multibyte locales (Red Hat bug #108484).

Obtained from:	Fedora (Tim Waugh)
This commit is contained in:
tjr 2004-07-04 16:25:41 +00:00
parent 631556e5b2
commit 71d184a8d2

View File

@ -588,7 +588,7 @@ parse_bracket_exp_mb ()
work_mbc->coll_elems[work_mbc->ncoll_elems++] = elem;
}
}
wc = WEOF;
wc1 = wc = WEOF;
}
else
/* We treat '[' as a normal character here. */