]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Fix typo in last change.
authorUlrich Drepper <drepper@redhat.com>
Thu, 20 Jan 2000 06:47:45 +0000 (06:47 +0000)
committerUlrich Drepper <drepper@redhat.com>
Thu, 20 Jan 2000 06:47:45 +0000 (06:47 +0000)
wcsmbs/mbrtowc.c
wcsmbs/mbsrtowcs.c

index 288c7d2f2c890d5e92d86734831af0737a11ac9f..1dcd27800d9a8f03f772393c608675329375f015 100644 (file)
@@ -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
     {
index d32c4ee17e0ed9961c0837a0491410107decd4b0..bbcf317a5662a3f77da3c2fa0bee35ca568884e2 100644 (file)
@@ -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.  */