From 7f0d9e61f40c669fca3cfd1e342fa8236c7220b7 Mon Sep 17 00:00:00 2001 From: Paul Pluzhnikov Date: Sat, 20 May 2023 13:37:47 +0000 Subject: Fix all the remaining misspellings -- BZ 25337 --- libio/oldfmemopen.c | 2 +- libio/tst-fopenloc.c | 2 +- libio/tst-memstream.h | 2 +- libio/tst-setvbuf1.c | 2 +- libio/tst-vtables-interposed.c | 2 +- libio/tst-wmemstream3.c | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) (limited to 'libio') diff --git a/libio/oldfmemopen.c b/libio/oldfmemopen.c index e320a860fc..61d02fc662 100644 --- a/libio/oldfmemopen.c +++ b/libio/oldfmemopen.c @@ -32,7 +32,7 @@ * - I never used the "original" fmemopen(). I am sure that "my" * fmemopen() behaves differently than the original version. * - * - The documentation doesn't say wether a string stream allows + * - The documentation doesn't say whether a string stream allows * seeks. I checked the old fmemopen implementation in glibc's stdio * directory, wasn't quite able to see what is going on in that * source, but as far as I understand there was no seek there. For diff --git a/libio/tst-fopenloc.c b/libio/tst-fopenloc.c index 67c49d74cc..089c61bf41 100644 --- a/libio/tst-fopenloc.c +++ b/libio/tst-fopenloc.c @@ -47,7 +47,7 @@ do_bz17916 (void) FILE *fp = fopen (inputfile, ccs); if (fp != NULL) { - printf ("unxpected success\n"); + printf ("unexpected success\n"); return 1; } free (ccs); diff --git a/libio/tst-memstream.h b/libio/tst-memstream.h index de9bb549f7..2a9743fa62 100644 --- a/libio/tst-memstream.h +++ b/libio/tst-memstream.h @@ -28,7 +28,7 @@ #ifdef TEST_WCHAR # include -/* Straighforward implementation so tst-memstream3 could use check +/* Straightforward implementation so tst-memstream3 could use check fwrite on open_memstream. */ static size_t __attribute__ ((used)) fwwrite (const void *ptr, size_t size, size_t nmemb, FILE *arq) diff --git a/libio/tst-setvbuf1.c b/libio/tst-setvbuf1.c index 9222d4050d..44ae15815a 100644 --- a/libio/tst-setvbuf1.c +++ b/libio/tst-setvbuf1.c @@ -1,4 +1,4 @@ -/* Dereived from the test case in BZ #2337. */ +/* Derived from the test case in BZ #2337. */ #include #include #include diff --git a/libio/tst-vtables-interposed.c b/libio/tst-vtables-interposed.c index e656f2b203..6f7d99a0ea 100644 --- a/libio/tst-vtables-interposed.c +++ b/libio/tst-vtables-interposed.c @@ -20,7 +20,7 @@ /* Provide an interposed definition of the standard file handles with our own vtable. stdout/stdin/stderr will not work as a result, but - a succesful test does not print anything, so this is fine. */ + a successful test does not print anything, so this is fine. */ #include "libioP.h" #undef _IO_file_jumps #define _IO_file_jumps jumps diff --git a/libio/tst-wmemstream3.c b/libio/tst-wmemstream3.c index e22326820d..5edc01144c 100644 --- a/libio/tst-wmemstream3.c +++ b/libio/tst-wmemstream3.c @@ -18,7 +18,7 @@ #include -/* Straighforward implementation so tst-memstream3 could use check +/* Straightforward implementation so tst-memstream3 could use check fwrite on open_memstream. */ static size_t fwwrite (const void *ptr, size_t size, size_t nmemb, FILE *arq) -- cgit 1.4.1