aboutsummaryrefslogtreecommitdiff
path: root/libio
diff options
context:
space:
mode:
authorPaul Pluzhnikov <ppluzhnikov@google.com>2023-05-20 13:37:47 +0000
committerPaul Pluzhnikov <ppluzhnikov@google.com>2023-06-02 01:39:48 +0000
commit7f0d9e61f40c669fca3cfd1e342fa8236c7220b7 (patch)
treee02ce0ba813f2cb4f20643988ec030292784cab6 /libio
parent5013f6fc6c44160e8ec6bcd34ba676e85d9d6ab6 (diff)
downloadglibc-7f0d9e61f40c669fca3cfd1e342fa8236c7220b7.zip
glibc-7f0d9e61f40c669fca3cfd1e342fa8236c7220b7.tar.gz
glibc-7f0d9e61f40c669fca3cfd1e342fa8236c7220b7.tar.bz2
Fix all the remaining misspellings -- BZ 25337
Diffstat (limited to 'libio')
-rw-r--r--libio/oldfmemopen.c2
-rw-r--r--libio/tst-fopenloc.c2
-rw-r--r--libio/tst-memstream.h2
-rw-r--r--libio/tst-setvbuf1.c2
-rw-r--r--libio/tst-vtables-interposed.c2
-rw-r--r--libio/tst-wmemstream3.c2
6 files changed, 6 insertions, 6 deletions
diff --git a/libio/oldfmemopen.c b/libio/oldfmemopen.c
index e320a86..61d02fc 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 67c49d7..089c61b 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 de9bb54..2a9743f 100644
--- a/libio/tst-memstream.h
+++ b/libio/tst-memstream.h
@@ -28,7 +28,7 @@
#ifdef TEST_WCHAR
# include <wchar.h>
-/* 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 9222d40..44ae158 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 <errno.h>
#include <error.h>
#include <fcntl.h>
diff --git a/libio/tst-vtables-interposed.c b/libio/tst-vtables-interposed.c
index e656f2b..6f7d99a 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 e223268..5edc011 100644
--- a/libio/tst-wmemstream3.c
+++ b/libio/tst-wmemstream3.c
@@ -18,7 +18,7 @@
#include <wchar.h>
-/* 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)