about summary refs log tree commit diff
path: root/stdlib
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 /stdlib
parent5013f6fc6c44160e8ec6bcd34ba676e85d9d6ab6 (diff)
downloadglibc-7f0d9e61f40c669fca3cfd1e342fa8236c7220b7.tar.gz
glibc-7f0d9e61f40c669fca3cfd1e342fa8236c7220b7.tar.xz
glibc-7f0d9e61f40c669fca3cfd1e342fa8236c7220b7.zip
Fix all the remaining misspellings -- BZ 25337
Diffstat (limited to 'stdlib')
-rw-r--r--stdlib/inttypes.h2
-rw-r--r--stdlib/lldiv.c2
-rw-r--r--stdlib/longlong.h2
-rw-r--r--stdlib/tst-arc4random-stats.c2
-rw-r--r--stdlib/tst-arc4random-thread.c2
-rw-r--r--stdlib/tst-canon-bz26341.c2
-rw-r--r--stdlib/tst-random.c6
-rw-r--r--stdlib/tst-setcontext.c2
8 files changed, 10 insertions, 10 deletions
diff --git a/stdlib/inttypes.h b/stdlib/inttypes.h
index 0ace21f54d..8f0fa8ab9f 100644
--- a/stdlib/inttypes.h
+++ b/stdlib/inttypes.h
@@ -294,7 +294,7 @@ typedef wchar_t __gwchar_t;
 # define SCNuMAX	__PRI64_PREFIX "u"
 # define SCNxMAX	__PRI64_PREFIX "x"
 
-/* Macros for scaning `intptr_t' and `uintptr_t'.  */
+/* Macros for scanning `intptr_t' and `uintptr_t'.  */
 # define SCNdPTR	__PRIPTR_PREFIX "d"
 # define SCNiPTR	__PRIPTR_PREFIX "i"
 # define SCNoPTR	__PRIPTR_PREFIX "o"
diff --git a/stdlib/lldiv.c b/stdlib/lldiv.c
index f00d1599db..bd7c6b2a94 100644
--- a/stdlib/lldiv.c
+++ b/stdlib/lldiv.c
@@ -1,4 +1,4 @@
-/* `long long int' divison with remainder.
+/* `long long int' division with remainder.
    Copyright (C) 1992-2023 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
diff --git a/stdlib/longlong.h b/stdlib/longlong.h
index fa1687f5f3..ae067d934d 100644
--- a/stdlib/longlong.h
+++ b/stdlib/longlong.h
@@ -1074,7 +1074,7 @@ extern UDItype __umulsidi3 (USItype, USItype);
 #elif __riscv_xlen == 64
   #define MULUW3 "call __muldi3"
 #else
-#error unsupport xlen
+#error unsupported xlen
 #endif /* __riscv_xlen */
 /* We rely on the fact that MULUW3 doesn't clobber the t-registers.
    It can get better register allocation result.  */
diff --git a/stdlib/tst-arc4random-stats.c b/stdlib/tst-arc4random-stats.c
index f0edffb16d..1808cf6524 100644
--- a/stdlib/tst-arc4random-stats.c
+++ b/stdlib/tst-arc4random-stats.c
@@ -117,7 +117,7 @@ generate_arc4random_uniform (unsigned char *key)
 
 /* Test adapter for arc4random_uniform with argument 257.  This means
    that byte 0 happens more often, but we do not perform such a
-   statistcal check, so the test will still pass */
+   statistical check, so the test will still pass */
 static bool
 generate_arc4random_uniform_257 (unsigned char *key)
 {
diff --git a/stdlib/tst-arc4random-thread.c b/stdlib/tst-arc4random-thread.c
index 010828920e..d8863cf6d0 100644
--- a/stdlib/tst-arc4random-thread.c
+++ b/stdlib/tst-arc4random-thread.c
@@ -295,7 +295,7 @@ do_test_func (const char *fname, void (*func)(unsigned char *, size_t))
   run_outer_threads (func);
 
   /* The forking thread delivers a non-deterministic number of
-     results, which is why expected_blobs is only a minimun number of
+     results, which is why expected_blobs is only a minimum number of
      results.  */
   printf ("info: %s: %zu blob results observed\n", fname,
           dynarray_blob_size (&global_result));
diff --git a/stdlib/tst-canon-bz26341.c b/stdlib/tst-canon-bz26341.c
index 2d950d345b..bd0f575ccf 100644
--- a/stdlib/tst-canon-bz26341.c
+++ b/stdlib/tst-canon-bz26341.c
@@ -1,5 +1,5 @@
 /* Check if realpath does not consume extra stack space based on symlink
-   existance in the path (BZ #26341)
+   existence in the path (BZ #26341)
    Copyright (C) 2021-2023 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
diff --git a/stdlib/tst-random.c b/stdlib/tst-random.c
index 794d12a385..516beecef5 100644
--- a/stdlib/tst-random.c
+++ b/stdlib/tst-random.c
@@ -7,14 +7,14 @@
    is regenerated twice and checked against the stored values.
 
    First they are regenerated one sequence at a time, using srandom()
-   to set the initial state.  A discrepency here would suggest that
+   to set the initial state.  A discrepancy here would suggest that
    srandom() was failing to completely initialize the random number
    generator.
 
    Second the sequences are regenerated in an interleaved order.
    A state vector is created for each sequence using initstate().
    setstate() is used to switch from sequence to sequence during
-   the interleaved generation.  A discrepency here would suggest
+   the interleaved generation.  A discrepancy here would suggest
    a problem with either initstate() failing to initialize the
    random number generator properly, or the failure of setstate()
    to correctly save and restore state information.  Also, each
@@ -54,7 +54,7 @@ do_test (void)
   int s;			/* sequence index */
   int i;			/* element index */
 
-  printf ("Begining random package test using %d sequences of length %d.\n",
+  printf ("Beginning random package test using %d sequences of length %d.\n",
 	  nseq, nrnd);
 
   /* 1. Generate and store the sequences.  */
diff --git a/stdlib/tst-setcontext.c b/stdlib/tst-setcontext.c
index 9294472471..d65f3b9d6b 100644
--- a/stdlib/tst-setcontext.c
+++ b/stdlib/tst-setcontext.c
@@ -111,7 +111,7 @@ test_stack (volatile int a, volatile int b,
 
   if (e != 5)
     {
-      printf ("%s: getcontext clobbers varible e\n", __FUNCTION__);
+      printf ("%s: getcontext clobbers variable e\n", __FUNCTION__);
       exit (1);
     }