mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-12 14:20:13 +00:00
Fix typo in last change.
This commit is contained in:
parent
cba7603cbf
commit
ecb7f73a74
@ -90,7 +90,7 @@ __mbrtowc (wchar_t *pwc, const char *s, size_t n, mbstate_t *ps)
|
||||
else
|
||||
result = inbuf - (const unsigned char *) s;
|
||||
}
|
||||
else if (status == __GCONV_INCOMPLETE_INPUT)
|
||||
else if (status == GCONV_INCOMPLETE_INPUT)
|
||||
result = (size_t) -2;
|
||||
else
|
||||
{
|
||||
|
@ -71,7 +71,7 @@ __mbsrtowcs (dst, src, len, ps)
|
||||
&data, &inbuf, srcend,
|
||||
&result, 0);
|
||||
|
||||
result += (wchar_t *) data.__outbuf - buf;
|
||||
result += (wchar_t *) data.outbuf - buf;
|
||||
}
|
||||
while (status == GCONV_FULL_OUTPUT);
|
||||
|
||||
@ -102,7 +102,7 @@ __mbsrtowcs (dst, src, len, ps)
|
||||
(const unsigned char **) src,
|
||||
srcend, &result, 0);
|
||||
|
||||
result = (wchar_t *) data.__outbuf - dst;
|
||||
result = (wchar_t *) data.outbuf - dst;
|
||||
|
||||
/* We have to determine whether the last character converted
|
||||
is the NUL character. */
|
||||
|
Loading…
Reference in New Issue
Block a user