aboutsummaryrefslogtreecommitdiff
path: root/stdio-common
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 /stdio-common
parent5013f6fc6c44160e8ec6bcd34ba676e85d9d6ab6 (diff)
downloadglibc-7f0d9e61f40c669fca3cfd1e342fa8236c7220b7.zip
glibc-7f0d9e61f40c669fca3cfd1e342fa8236c7220b7.tar.gz
glibc-7f0d9e61f40c669fca3cfd1e342fa8236c7220b7.tar.bz2
Fix all the remaining misspellings -- BZ 25337
Diffstat (limited to 'stdio-common')
-rw-r--r--stdio-common/printf_fphex.c2
-rw-r--r--stdio-common/tst-fmemopen2.c2
-rw-r--r--stdio-common/tst-fmemopen3.c6
-rw-r--r--stdio-common/tst-printf-bz25691.c2
-rw-r--r--stdio-common/tst-sscanf.c2
-rw-r--r--stdio-common/vfscanf-internal.c6
6 files changed, 10 insertions, 10 deletions
diff --git a/stdio-common/printf_fphex.c b/stdio-common/printf_fphex.c
index d657834..0c3dfb1 100644
--- a/stdio-common/printf_fphex.c
+++ b/stdio-common/printf_fphex.c
@@ -380,7 +380,7 @@ __printf_fphex_l_buffer (struct __printf_buffer *buf, locale_t loc,
/* The wide buffer version is implemented by translating the output of
- the multibyte verison. */
+ the multibyte version. */
struct __printf_buffer_fphex_to_wide
{
diff --git a/stdio-common/tst-fmemopen2.c b/stdio-common/tst-fmemopen2.c
index fc493aa..6ff7a81 100644
--- a/stdio-common/tst-fmemopen2.c
+++ b/stdio-common/tst-fmemopen2.c
@@ -157,7 +157,7 @@ do_test_without_buffer (void)
return result;
}
-/* Check fmemopen with a buffer lenght of zero. */
+/* Check fmemopen with a buffer length of zero. */
static int
do_test_length_zero (void)
{
diff --git a/stdio-common/tst-fmemopen3.c b/stdio-common/tst-fmemopen3.c
index 3cc2832..bef87b7 100644
--- a/stdio-common/tst-fmemopen3.c
+++ b/stdio-common/tst-fmemopen3.c
@@ -34,7 +34,7 @@ print_buffer (const char *s, size_t n)
}
}
-/* This test check append mode initial position (a/a+) based on POSIX defition
+/* This test check append mode initial position (a/a+) based on POSIX definition
(BZ#6544 and BZ#13151). */
static int
do_test_write_append (const char *mode)
@@ -59,7 +59,7 @@ do_test_write_append (const char *mode)
return 0;
}
-/* This test check append mode initial position (a/a+) based on POSIX defition
+/* This test check append mode initial position (a/a+) based on POSIX definition
(BZ#6544 and BZ#13151) for buffer without null byte end. */
static int
do_test_write_append_without_null (const char *mode)
@@ -94,7 +94,7 @@ do_test_write_append_without_null (const char *mode)
return 0;
}
-/* This test check for initial position and feek value for fmemopen objects
+/* This test check for initial position and seek value for fmemopen objects
opened with append mode. */
static int
do_test_read_append (void)
diff --git a/stdio-common/tst-printf-bz25691.c b/stdio-common/tst-printf-bz25691.c
index e6fa243..db81fdf 100644
--- a/stdio-common/tst-printf-bz25691.c
+++ b/stdio-common/tst-printf-bz25691.c
@@ -58,7 +58,7 @@ do_test (void)
free (winput);
}
- /* For 's' converstion specifier the array is interpreted as a multibyte
+ /* For 's' conversion specifier the array is interpreted as a multibyte
character sequence and converted to wide characters up to the precision
specific value. */
{
diff --git a/stdio-common/tst-sscanf.c b/stdio-common/tst-sscanf.c
index 2e1a5c0..0a90a72 100644
--- a/stdio-common/tst-sscanf.c
+++ b/stdio-common/tst-sscanf.c
@@ -237,7 +237,7 @@ do_test (void)
The test will segfault during SSCANF if the buffer overflow
is not fixed. The size of `s` is such that it forces the use
of malloc internally and this triggers the incorrect computation.
- Thus the value for SIZE is arbitrariy high enough that malloc
+ Thus the value for SIZE is arbitrarily high enough that malloc
is used. */
{
#define SIZE 131072
diff --git a/stdio-common/vfscanf-internal.c b/stdio-common/vfscanf-internal.c
index d9675bd..a3ebf63 100644
--- a/stdio-common/vfscanf-internal.c
+++ b/stdio-common/vfscanf-internal.c
@@ -668,7 +668,7 @@ __vfscanf_internal (FILE *s, const char *format, va_list argptr,
/* We have a severe problem here. The ISO C standard
contradicts itself in explaining the effect of the %n
format in `scanf'. While in ISO C:1990 and the ISO C
- Amendement 1:1995 the result is described as
+ Amendment 1:1995 the result is described as
Execution of a %n directive does not effect the
assignment count returned at the completion of
@@ -2749,7 +2749,7 @@ __vfscanf_internal (FILE *s, const char *format, va_list argptr,
#endif
if (__glibc_unlikely (now == read_in))
- /* We haven't succesfully read any character. */
+ /* We haven't successfully read any character. */
conv_error ();
if (!(flags & SUPPRESS))
@@ -2947,7 +2947,7 @@ __vfscanf_internal (FILE *s, const char *format, va_list argptr,
#endif
if (__glibc_unlikely (now == read_in))
- /* We haven't succesfully read any character. */
+ /* We haven't successfully read any character. */
conv_error ();
if (!(flags & SUPPRESS))