diff mbox series

[COMMITTED] Fix a few more typos I missed in previous round -- BZ 25337

Message ID 20230602234939.270978-2-ppluzhnikov@google.com
State New
Headers show
Series [COMMITTED] Fix a few more typos I missed in previous round -- BZ 25337 | expand

Commit Message

Paul Pluzhnikov June 2, 2023, 11:49 p.m. UTC
---
 elf/tst-ldconfig-p.sh                  | 2 +-
 include/clone_internal.h               | 2 +-
 include/set-freeres.h                  | 2 +-
 malloc/tst-malloc-tcache-leak.c        | 2 +-
 scripts/sort-makefile-lines.py         | 6 +++---
 stdio-common/vfprintf-process-arg.c    | 2 +-
 stdlib/test-atexit-recursive.c         | 2 +-
 sysdeps/aarch64/fpu/advsimd_utils.h    | 2 +-
 sysdeps/alpha/alphaev6/memcpy.S        | 2 +-
 sysdeps/hppa/nptl/bits/struct_rwlock.h | 2 +-
 sysdeps/mach/hurd/x86_64/localplt.data | 2 +-
 sysdeps/x86/htl/pt-machdep.h           | 2 +-
 12 files changed, 14 insertions(+), 14 deletions(-)
diff mbox series

Patch

diff --git a/elf/tst-ldconfig-p.sh b/elf/tst-ldconfig-p.sh
index e966c4d124..981e3a451a 100644
--- a/elf/tst-ldconfig-p.sh
+++ b/elf/tst-ldconfig-p.sh
@@ -63,7 +63,7 @@  case $status in
     (1)
 	if head -n 1 "$testout" | \
 		grep -q ": Cache file has wrong endianness\.$" ; then
-	    echo "info: cache file has wrong endianess" >> "$testout"
+	    echo "info: cache file has wrong endianness" >> "$testout"
 	else
 	    echo "error: unexpected ldconfig error message" >> "$testout"
 	    errors=1
diff --git a/include/clone_internal.h b/include/clone_internal.h
index dd380f119e..ad7b170f58 100644
--- a/include/clone_internal.h
+++ b/include/clone_internal.h
@@ -5,7 +5,7 @@ 
 
 /* The clone3 syscall provides a superset of the functionality of the clone
    interface.  The kernel might extend __CL_ARGS struct in the future, with
-   each version with a diffent __SIZE.  If the child is created, it will
+   each version with a different __SIZE.  If the child is created, it will
    start __FUNC function with __ARG arguments.
 
    Different than kernel, the implementation also returns EINVAL for an
diff --git a/include/set-freeres.h b/include/set-freeres.h
index b7f66519a3..866d0e3717 100644
--- a/include/set-freeres.h
+++ b/include/set-freeres.h
@@ -33,7 +33,7 @@ 
    memory leaks.
 
    A single public API exists and is __libc_freeres, and this is used
-   by applications like valgrind to freee resouces.
+   by applications like valgrind to free resources.
 
    Each free routines must be explicit listed below.  */
 
diff --git a/malloc/tst-malloc-tcache-leak.c b/malloc/tst-malloc-tcache-leak.c
index a2a624f6d4..27b5ab2f24 100644
--- a/malloc/tst-malloc-tcache-leak.c
+++ b/malloc/tst-malloc-tcache-leak.c
@@ -42,7 +42,7 @@  worker (void *data)
   /* Allocate an arbitrary amount of memory that is known to fit into
      the thread local cache (tcache).  If we have at least 64 bins
      (default e.g. TCACHE_MAX_BINS) we should be able to allocate 32
-     bytes and force malloc to fill the tcache.  We are assuming tcahce
+     bytes and force malloc to fill the tcache.  We are assuming tcache
      init happens at the first small alloc, but it might in the future
      be deferred to some other point.  Therefore to future proof this
      test we include a full alloc/free/alloc cycle for the thread.  We
diff --git a/scripts/sort-makefile-lines.py b/scripts/sort-makefile-lines.py
index c0badebf8c..8a1bc3f48b 100755
--- a/scripts/sort-makefile-lines.py
+++ b/scripts/sort-makefile-lines.py
@@ -38,7 +38,7 @@ 
 # Sorting is only carried out between two special markers:
 # (a) Marker start is '<variable> += \' (or '= \', or ':= \')
 # (b) Marker end is '  # <variable>' (whitespace matters)
-# With everthing between (a) and (b) being sorted accordingly.
+# With everything between (a) and (b) being sorted accordingly.
 #
 # You can use it like this:
 # $ scripts/sort-makefile-lines.py < elf/Makefile > elf/Makefile.tmp
@@ -80,7 +80,7 @@ 
 #   No manually listed test currently uses more than that (though
 #   automatically generated tests may; they don't need sorting).
 # - Avoid including another test and instead refactor into common
-#   code with all tests including hte common code, then give the
+#   code with all tests including the common code, then give the
 #   tests unique names.
 #
 # If you have a Makefile that needs converting, then you can
@@ -143,7 +143,7 @@  def sort_makefile_lines():
         reg = r'^  # ' + sm[1] + r'$'
         for j in range(sm[0] + 1, len(lines)):
             if re.search(reg, lines[j]):
-                # Rembember the block to sort (inclusive).
+                # Remember the block to sort (inclusive).
                 rangemarks.append((sm[0] + 1, j))
                 break
 
diff --git a/stdio-common/vfprintf-process-arg.c b/stdio-common/vfprintf-process-arg.c
index 8c0fcbcf78..f40336fd91 100644
--- a/stdio-common/vfprintf-process-arg.c
+++ b/stdio-common/vfprintf-process-arg.c
@@ -187,7 +187,7 @@  LABEL (unsigned_number):      /* Unsigned number of base BASE.  */
                        && alt && base == 8);
 
   /* At this point prec_inc is the additional bytes required for the
-     specificed precision.  It is 0 if the precision would not have
+     specified precision.  It is 0 if the precision would not have
      required additional bytes i.e. the number of input digits is more
      than the precision.  It is greater than zero if the precision is
      more than the number of digits without grouping (precision only
diff --git a/stdlib/test-atexit-recursive.c b/stdlib/test-atexit-recursive.c
index 0596b9763b..9dbd5e5e6e 100644
--- a/stdlib/test-atexit-recursive.c
+++ b/stdlib/test-atexit-recursive.c
@@ -16,7 +16,7 @@ 
    License along with the GNU C Library; if not, see
    <https://www.gnu.org/licenses/>.  */
 
-/* Check that atexit handler registed from another handler still called. */
+/* Check that atexit handler registered from another handler still called. */
 
 #include <stdio.h>
 #include <stdlib.h>
diff --git a/sysdeps/aarch64/fpu/advsimd_utils.h b/sysdeps/aarch64/fpu/advsimd_utils.h
index 08bfe77d52..8a0fcc0e06 100644
--- a/sysdeps/aarch64/fpu/advsimd_utils.h
+++ b/sysdeps/aarch64/fpu/advsimd_utils.h
@@ -1,4 +1,4 @@ 
-/* Helpers for Advanced SIMD vector math funtions.
+/* Helpers for Advanced SIMD vector math functions.
 
    Copyright (C) 2023 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
diff --git a/sysdeps/alpha/alphaev6/memcpy.S b/sysdeps/alpha/alphaev6/memcpy.S
index 58c139aef2..28cd1e6710 100644
--- a/sysdeps/alpha/alphaev6/memcpy.S
+++ b/sysdeps/alpha/alphaev6/memcpy.S
@@ -190,7 +190,7 @@  $tail_bytes:
 $misaligned:
 	mov	$0, $4			# E : dest temp
 	and	$0, 7, $1		# E : dest alignment mod8
-	beq	$1, $dest_0mod8		# U : life doesnt totally suck
+	beq	$1, $dest_0mod8		# U : life doesn't totally suck
 	nop
 
 $aligndest:
diff --git a/sysdeps/hppa/nptl/bits/struct_rwlock.h b/sysdeps/hppa/nptl/bits/struct_rwlock.h
index 762b05b2ec..f91460b7f8 100644
--- a/sysdeps/hppa/nptl/bits/struct_rwlock.h
+++ b/sysdeps/hppa/nptl/bits/struct_rwlock.h
@@ -27,7 +27,7 @@  struct __pthread_rwlock_arch_t
      next four words are all set to 1 by the Linuxthreads
      PTHREAD_RWLOCK_INITIALIZER. We ignore them in NPTL.
 
-     The 16-byte aligned lock stucture is not needed for NPTL.
+     The 16-byte aligned lock structure is not needed for NPTL.
      It causes some package builds to fail (e.g., protobuf) and
      issues with dynamic memory allocation in C++ versions prior
      to C++17. Removing it allows for more efficient allocators
diff --git a/sysdeps/mach/hurd/x86_64/localplt.data b/sysdeps/mach/hurd/x86_64/localplt.data
index ce12ef0b3b..c38821e2fa 100644
--- a/sysdeps/mach/hurd/x86_64/localplt.data
+++ b/sysdeps/mach/hurd/x86_64/localplt.data
@@ -8,7 +8,7 @@  libc.so: free + RELA R_X86_64_GLOB_DAT
 libc.so: malloc + RELA R_X86_64_GLOB_DAT
 libc.so: realloc + RELA R_X86_64_GLOB_DAT
 # The dynamic linker has its own versions of basic functions for initial loading
-# of shared libraries.  These need to be overriden by libc once loaded.
+# of shared libraries.  These need to be overridden by libc once loaded.
 ld.so: __open ?
 ld.so: __open64 ?
 ld.so: __open_nocancel
diff --git a/sysdeps/x86/htl/pt-machdep.h b/sysdeps/x86/htl/pt-machdep.h
index d0cc979252..d0fd16e3a5 100644
--- a/sysdeps/x86/htl/pt-machdep.h
+++ b/sysdeps/x86/htl/pt-machdep.h
@@ -1,4 +1,4 @@ 
-/* Machine dependent pthreads internal defenitions.  x86 version.
+/* Machine dependent pthreads internal definitions.  x86 version.
    Copyright (C) 2000-2023 Free Software Foundation, Inc.
    This file is part of the GNU C Library.