@@ -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. */
@@ -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.
@@ -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);
@@ -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>
@@ -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. */
@@ -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, ' ');
@@ -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);
@@ -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)
@@ -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
@@ -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 \