tjr 1f410c73aa Fix computation of the 'n' argument to mbrtowc (through XMBRTOWC) to avoid
reading past 'stop' in various places when converting multibyte characters.
Reading too far caused truncation to not be detected when it should have
been, eventually causing regexec() to loop infinitely in with certain
combinations of patterns and strings in multibyte locales.

PR:		74020
MFC after:	4 weeks
2004-11-21 03:14:32 +00:00
..
2004-11-09 16:49:14 +00:00
2004-11-16 21:01:31 +00:00
2004-10-18 02:06:18 +00:00
2004-11-15 14:16:31 +00:00