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 /stdio-common | |
parent | 5013f6fc6c44160e8ec6bcd34ba676e85d9d6ab6 (diff) | |
download | glibc-7f0d9e61f40c669fca3cfd1e342fa8236c7220b7.tar.gz glibc-7f0d9e61f40c669fca3cfd1e342fa8236c7220b7.tar.xz glibc-7f0d9e61f40c669fca3cfd1e342fa8236c7220b7.zip |
Fix all the remaining misspellings -- BZ 25337
Diffstat (limited to 'stdio-common')
-rw-r--r-- | stdio-common/printf_fphex.c | 2 | ||||
-rw-r--r-- | stdio-common/tst-fmemopen2.c | 2 | ||||
-rw-r--r-- | stdio-common/tst-fmemopen3.c | 6 | ||||
-rw-r--r-- | stdio-common/tst-printf-bz25691.c | 2 | ||||
-rw-r--r-- | stdio-common/tst-sscanf.c | 2 | ||||
-rw-r--r-- | stdio-common/vfscanf-internal.c | 6 |
6 files changed, 10 insertions, 10 deletions
diff --git a/stdio-common/printf_fphex.c b/stdio-common/printf_fphex.c index d657834ae4..0c3dfb1a12 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 fc493aa4d7..6ff7a81c7a 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 3cc2832edc..bef87b712a 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 e6fa2433fa..db81fdf590 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 2e1a5c07e5..0a90a7228f 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 d9675bd4b1..a3ebf63554 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)) |