diff options
author | Paul Pluzhnikov <ppluzhnikov@google.com> | 2023-05-20 13:37:47 +0000 |
---|---|---|
committer | Paul Pluzhnikov <ppluzhnikov@google.com> | 2023-06-02 01:39:48 +0000 |
commit | 7f0d9e61f40c669fca3cfd1e342fa8236c7220b7 (patch) | |
tree | e02ce0ba813f2cb4f20643988ec030292784cab6 /wcsmbs | |
parent | 5013f6fc6c44160e8ec6bcd34ba676e85d9d6ab6 (diff) | |
download | glibc-7f0d9e61f40c669fca3cfd1e342fa8236c7220b7.zip glibc-7f0d9e61f40c669fca3cfd1e342fa8236c7220b7.tar.gz glibc-7f0d9e61f40c669fca3cfd1e342fa8236c7220b7.tar.bz2 |
Fix all the remaining misspellings -- BZ 25337
Diffstat (limited to 'wcsmbs')
-rw-r--r-- | wcsmbs/tst-btowc.c | 2 | ||||
-rw-r--r-- | wcsmbs/tst-mbrtowc.c | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/wcsmbs/tst-btowc.c b/wcsmbs/tst-btowc.c index 8360582..1485076 100644 --- a/wcsmbs/tst-btowc.c +++ b/wcsmbs/tst-btowc.c @@ -48,7 +48,7 @@ fail_test (int c) if (wc != WEOF) { - printf ("%s: btowc('%c') succeded, returned L'\\x%x' instead of WEOF\n", + printf ("%s: btowc('%c') succeeded, returned L'\\x%x' instead of WEOF\n", current_locale, c, wc); return 1; } diff --git a/wcsmbs/tst-mbrtowc.c b/wcsmbs/tst-mbrtowc.c index f603ffc..f2386a8 100644 --- a/wcsmbs/tst-mbrtowc.c +++ b/wcsmbs/tst-mbrtowc.c @@ -39,7 +39,7 @@ utf8_test_1 (void) assert (mbrtowc (&wc, "\xE2", 1, &s) == (size_t) -2); /* 1st byte processed */ assert (mbrtowc (&wc, "\x89", 1, &s) == (size_t) -2); /* 2nd byte processed */ assert (wc == 42); /* no value has not been stored into &wc yet */ - assert (mbrtowc (&wc, "\xA0", 1, &s) == 1); /* 3nd byte processed */ + assert (mbrtowc (&wc, "\xA0", 1, &s) == 1); /* 3rd byte processed */ assert (wc == 0x2260); /* E2 89 A0 = U+2260 (not equal) decoded correctly */ assert (mbrtowc (&wc, "", 1, &s) == 0); /* test final byte processing */ assert (wc == 0); /* test final byte decoding */ @@ -88,7 +88,7 @@ utf8_test_2 (void) memset (&s, 0, sizeof (s)); /* get s into initial state */ assert (mbrtowc (&wc, "\xE2", 1, &s) == (size_t) -2); /* 1st byte processed */ assert (mbrtowc (&wc, "\x89", 1, &s) == (size_t) -2); /* 2nd byte processed */ - assert (mbrtowc (&wc, "\xA0", 1, &s) == 1); /* 3nd byte processed */ + assert (mbrtowc (&wc, "\xA0", 1, &s) == 1); /* 3rd byte processed */ assert (mbrtowc (NULL, "", 1, &s) == 0); /* valid terminator */ assert (mbsinit (&s)); @@ -122,7 +122,7 @@ utf8_test_3 (void) memset (&s, 0, sizeof (s)); /* get s into initial state */ assert (mbrtowc (&wc, "\xE2", 1, &s) == (size_t) -2); /* 1st byte processed */ assert (mbrtowc (&wc, "\x89", 1, &s) == (size_t) -2); /* 2nd byte processed */ - assert (mbrtowc (&wc, "\xA0", 1, &s) == 1); /* 3nd byte processed */ + assert (mbrtowc (&wc, "\xA0", 1, &s) == 1); /* 3rd byte processed */ assert (mbrtowc (NULL, NULL, 0, &s) == 0); /* valid terminator */ assert (mbsinit (&s)); |