diff options
author | Ulrich Drepper <drepper@redhat.com> | 2000-01-20 06:47:45 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2000-01-20 06:47:45 +0000 |
commit | ecb7f73a741a075cbfcda59581c54aaba19e1e8d (patch) | |
tree | 26626a3d12c0ec643928e79eeeb967127c228f75 /wcsmbs | |
parent | cba7603cbf3c022a450e6f114d20a9f30710f3c4 (diff) | |
download | glibc-ecb7f73a741a075cbfcda59581c54aaba19e1e8d.zip glibc-ecb7f73a741a075cbfcda59581c54aaba19e1e8d.tar.gz glibc-ecb7f73a741a075cbfcda59581c54aaba19e1e8d.tar.bz2 |
Fix typo in last change.
Diffstat (limited to 'wcsmbs')
-rw-r--r-- | wcsmbs/mbrtowc.c | 2 | ||||
-rw-r--r-- | wcsmbs/mbsrtowcs.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/wcsmbs/mbrtowc.c b/wcsmbs/mbrtowc.c index 288c7d2..1dcd278 100644 --- a/wcsmbs/mbrtowc.c +++ b/wcsmbs/mbrtowc.c @@ -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 { diff --git a/wcsmbs/mbsrtowcs.c b/wcsmbs/mbsrtowcs.c index d32c4ee..bbcf317 100644 --- a/wcsmbs/mbsrtowcs.c +++ b/wcsmbs/mbsrtowcs.c @@ -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. */ |