mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-03 18:30:49 +02:00
commit bash-20171013 snapshot
This commit is contained in:
+3
-3
@@ -229,9 +229,9 @@ singlebyte:
|
||||
else
|
||||
{
|
||||
m = mbrtowc (&wc, string + start, end - start, &state);
|
||||
/* Have to go through case conversion even for single-byte chars, to
|
||||
accommodate single-byte characters where the corresponding upper
|
||||
or lower case equivalent is multibyte. */
|
||||
/* Have to go through wide case conversion even for single-byte
|
||||
chars, to accommodate single-byte characters where the
|
||||
corresponding upper or lower case equivalent is multibyte. */
|
||||
if (MB_INVALIDCH (m))
|
||||
{
|
||||
wc = (unsigned char)string[start];
|
||||
|
||||
Reference in New Issue
Block a user