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:
parent
dfbaec0a6d
commit
95cc51cfbd
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=131578
@ -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. */
|
||||||
|
Loading…
Reference in New Issue
Block a user