1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-05 09:14:03 +00:00

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:
Tim J. Robbins 2004-07-04 16:25:41 +00:00
parent dfbaec0a6d
commit 95cc51cfbd
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=131578

View File

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