]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Fix a few more typos I missed in previous round -- BZ 25337
authorPaul Pluzhnikov <ppluzhnikov@google.com>
Fri, 2 Jun 2023 03:40:12 +0000 (03:40 +0000)
committerPaul Pluzhnikov <ppluzhnikov@google.com>
Fri, 2 Jun 2023 23:46:32 +0000 (23:46 +0000)
12 files changed:
elf/tst-ldconfig-p.sh
include/clone_internal.h
include/set-freeres.h
malloc/tst-malloc-tcache-leak.c
scripts/sort-makefile-lines.py
stdio-common/vfprintf-process-arg.c
stdlib/test-atexit-recursive.c
sysdeps/aarch64/fpu/advsimd_utils.h
sysdeps/alpha/alphaev6/memcpy.S
sysdeps/hppa/nptl/bits/struct_rwlock.h
sysdeps/mach/hurd/x86_64/localplt.data
sysdeps/x86/htl/pt-machdep.h

index e966c4d124136f92abccc2a451cc9dc14638b3b3..981e3a451a932cdd1cdbe02af12c3e7b338ac9ca 100644 (file)
@@ -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
index dd380f119e174c0b3ca47c81239928a428f0a4bb..ad7b170f5800925a24d4ff2e317be09ba5bb6be1 100644 (file)
@@ -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
index b7f66519a336c1cfa14f833d9c473136c556dd96..866d0e371756dc50f2cc607af0fc278349ad13f8 100644 (file)
@@ -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.  */
 
index a2a624f6d4c7f0bbb6329f2b153942fe27b7f0d9..27b5ab2f24053210ee16b7336fd3d1711dbd2620 100644 (file)
@@ -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
index c0badebf8c86b44e8c047b771029294db8f93bb7..8a1bc3f48bc5fa6db0283cabde6121e7dc425434 100755 (executable)
@@ -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
 
index 8c0fcbcf785a947527b376d41b8cf1dc4e9ee029..f40336fd91cd696f7db49a4102e5c4f4d1adcaff 100644 (file)
@@ -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
index 0596b9763bd4c01312268b6adc1f915dfcf46cc5..9dbd5e5e6e56a018b708d7270b42100d3e30affe 100644 (file)
@@ -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>
index 08bfe77d529d376648b773a7d534d52c9de9b2a6..8a0fcc0e062590b0e84fb14bbb231d8b87b07d4e 100644 (file)
@@ -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.
index 58c139aef2e22ce26671e9266a0759f74a18761c..28cd1e6710f7d316b22fa00d180c5c416248c442 100644 (file)
@@ -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:
index 762b05b2ecdea62a95419e1946ed69be2897b30c..f91460b7f84588b9511e5c39681b6872ddccbeab 100644 (file)
@@ -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
index ce12ef0b3bb0dbb5371c706217ab408ad3e58986..c38821e2faf5badbbd3d616e9ba05c9fd1f46377 100644 (file)
@@ -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
index d0cc9792529b39323700d6638a0947efd3591d67..d0fd16e3a54735cd75b5312d7a52c3e7da445172 100644 (file)
@@ -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.