]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
Fix typos from codespell
authorSam James <sam@gentoo.org>
Fri, 13 Jan 2023 22:16:07 +0000 (22:16 +0000)
committerMark Wielaard <mark@klomp.org>
Fri, 13 Jan 2023 22:46:00 +0000 (23:46 +0100)
debuginfod/ChangeLog:

* debuginfod-client.c: Typo simultaniously.

doc/ChangeLog:

* debuginfod.8: Typo succesfully.

lib/ChangeLog:

* dynamicsizehash_concurrent.c: Typo modul.
* system.h: Typo dependend.

libdwfl/ChangeLog:

* open.c: Typo non-existant.

src/ChangeLog:

* nm.c: Typo Covert.
* strings.c: Likewise.

tests/ChangeLog:

* elfstrmerge.c: Typo outselves.
* run-debuginfod-extraction.sh: Typo accidentially.
* run-debuginfod-fd-prefetch-caches.sh: Likewise.

Signed-off-by: Sam James <sam@gentoo.org>
debuginfod/debuginfod-client.c
doc/debuginfod.8
lib/dynamicsizehash_concurrent.c
lib/system.h
libdwfl/open.c
src/nm.c
src/strings.c
tests/elfstrmerge.c
tests/run-debuginfod-extraction.sh
tests/run-debuginfod-fd-prefetch-caches.sh

index 1ce4563277db769f9c202ac3b628757799653491..5f2a1024fa6982a5fcd9cbbd037a51fe7a1fac30 100644 (file)
@@ -316,7 +316,7 @@ debuginfod_clean_cache(debuginfod_client *c,
 
   /* Update timestamp representing when the cache was last cleaned.
      Do it at the start to reduce the number of threads trying to do a
-     cleanup simultaniously.  */
+     cleanup simultaneously.  */
   utime (interval_path, NULL);
 
   /* Read max unused age value from config file.  */
index 1aa8bc1423bd4d43c110963c079413bd8b153d74..6d73256fb971db3c830088310b72168214d7ac36 100644 (file)
@@ -371,7 +371,7 @@ extract the contents of an ELF/DWARF section named SECTION from the
 debuginfo file matching BUILDID.  If the debuginfo file can't be found
 or the section has type SHT_NOBITS, then the server will attempt to extract
 the section from the executable matching BUILDID.  If the section is
-succesfully extracted then this request results in a binary object
+successfully extracted then this request results in a binary object
 of the section's contents.  Note that this result is the raw binary
 contents of the section, not an ELF file.
 
index 7c4fedfcf641c6f07421342e8dbd23a3f09429ab..2ea545e00f722b2b8faeab21d49677ee8f0c5b46 100644 (file)
@@ -42,7 +42,7 @@
 static size_t
 lookup (NAME *htab, HASHTYPE hval)
 {
-  /* First hash function: simply take the modul but prevent zero.  Small values
+  /* First hash function: simply take the modulus but prevent zero.  Small values
       can skip the division, which helps performance when this is common.  */
   size_t idx = 1 + (hval < htab->size ? hval : hval % htab->size);
 
@@ -77,7 +77,7 @@ lookup (NAME *htab, HASHTYPE hval)
 static int
 insert_helper (NAME *htab, HASHTYPE hval, TYPE val)
 {
-  /* First hash function: simply take the modul but prevent zero.  Small values
+  /* First hash function: simply take the modulus but prevent zero.  Small values
       can skip the division, which helps performance when this is common.  */
   size_t idx = 1 + (hval < htab->size ? hval : hval % htab->size);
 
index bbbe06c443072432b6dc9bda5811376441b0ae5e..1c914efc066fe858d156996c10e70fe62984113a 100644 (file)
@@ -39,7 +39,7 @@
 #include <stdarg.h>
 #include <stdlib.h>
 
-/* System dependend headers */
+/* System dependent headers */
 #include <byteswap.h>
 #include <endian.h>
 #include <sys/mman.h>
index fcb7f8ea74d48a3988f8ca235ee1e8dfd213de7d..b97ff01620add2cb596908435bc2d882ea4e9a6a 100644 (file)
@@ -205,7 +205,7 @@ __libdw_open_elf_memory (char *data, size_t size, Elf **elfp, bool archive_ok)
 {
   /* It is ok to use `fd == -1` here, because libelf uses it as a value for
      "no file opened" and code supports working with this value, and also
-     `never_close_fd == false` is passed to prevent closing non-existant file.
+     `never_close_fd == false` is passed to prevent closing non-existent file.
      The only caveat is in `decompress` method, which doesn't support
      decompressing from memory, so reading compressed zImage using this method
      won't work.  */
index b46c1fd7d3ff1c1b670a774646fa80570ea827b2..fbdee8e100b569e4d8a44e2e2112af8cb4b39b72 100644 (file)
--- a/src/nm.c
+++ b/src/nm.c
@@ -829,7 +829,7 @@ show_symbols_sysv (Ebl *ebl, GElf_Word strndx, const char *fullname,
          putchar_unlocked (':');
        }
 
-      /* Covert the address.  */
+      /* Convert the address.  */
       if (syms[cnt].sym.st_shndx == SHN_UNDEF)
        {
          sprintf (addressbuf, "%*c", digits, ' ');
index 55b047be6aa7315176cf5994cdf4f71cb401bf2b..69d09ccf57ab6da4b2d65cbd2176d9a890ba4674 100644 (file)
@@ -364,7 +364,7 @@ process_chunk_mb (const char *fname, const unsigned char *buf, off_t to,
 
              /* There is no sane way of printing the string.  If we
                 assume the file data is encoded in UCS-2/UTF-16 or
-                UCS-4/UTF-32 respectively we could covert the string.
+                UCS-4/UTF-32 respectively we could convert the string.
                 But there is no such guarantee.  */
              fwrite_unlocked (start, 1, buf - start, stdout);
              putc_unlocked ('\n', stdout);
index 197c6a5d8e17fe1e17929fb5732c0f91f735ce6e..56350bb914442d8a010a284c9bdce2f129221c09 100644 (file)
@@ -157,7 +157,7 @@ newsecndx (size_t secndx, size_t shdrstrndx, size_t shdrnum,
   if (unlikely (secndx == 0 || secndx == shdrstrndx || secndx >= shdrnum))
     {
       /* Don't use fail... too specialized messages.  Call release
-        outselves and then error.  Ignores midx if widx is
+        ourselves and then error.  Ignores midx if widx is
         zero.  */
       release ();
       if (widx == 0)
index a3722c90d218e3edcccf2575a25123653840a252..3ca31b8a85c24b739cc04492f28cf6f483e65f52 100755 (executable)
@@ -45,7 +45,7 @@ ps -q $PID1 -e -L -o '%p %c %a' | grep scan
 ps -q $PID1 -e -L -o '%p %c %a' | grep traverse
 
 # Make sure the initial scan has finished before copying the new files in
-# We might remove some, which we don't want to be accidentially scanned.
+# We might remove some, which we don't want to be accidentally scanned.
 wait_ready $PORT1 'thread_work_total{role="traverse"}' 1
 
 cp -rvp ${abs_srcdir}/debuginfod-rpms R
index a538cd48781e58c06d5265e3ddc68cdfff490215..3db78ade53a9fa55c9695eafc2cda817fccd689d 100755 (executable)
@@ -50,7 +50,7 @@ export DEBUGINFOD_CACHE_PATH=${PWD}/.client_cache
 rm -rf $DEBUGINFOD_CACHE_PATH
 rm -rf $DB
 # Testing prefetch fd maximum (Set mb maximums to be beyond consideration)
-# Set --fdcache-mintmp=0 so we don't accidentially trigger an fdcache
+# Set --fdcache-mintmp=0 so we don't accidentally trigger an fdcache
 # emergency flush for filling tmpdir
 env LD_LIBRARY_PATH=$ldpath DEBUGINFOD_URLS= ${abs_builddir}/../debuginfod/debuginfod $VERBOSE -p $PORT1 -d $DB \
     --fdcache-fds=$FDCACHE_FDS --fdcache-prefetch-fds=$PREFETCH_FDS  -vvvvv -g 0 -t 0 \