]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Fix all the remaining misspellings -- BZ 25337
authorPaul Pluzhnikov <ppluzhnikov@google.com>
Sat, 20 May 2023 13:37:47 +0000 (13:37 +0000)
committerPaul Pluzhnikov <ppluzhnikov@google.com>
Fri, 2 Jun 2023 01:39:48 +0000 (01:39 +0000)
206 files changed:
INSTALL
Makerules
NEWS
argp/argp-help.c
argp/argp-parse.c
argp/tst-argp1.c
benchtests/bench-pthread-locks.c
benchtests/bench-util.c
benchtests/scripts/plot_strings.py
bits/siginfo-consts.h
bits/socket.h
configure.ac
crypt/badsalttest.c
crypt/crypt_util.c
csu/check_fds.c
csu/init-first.c
debug/explicit_bzero_chk.c
debug/pcprofiledump.c
debug/tst-fortify.c
dlfcn/moddummy2.c
gmon/mcount.c
grp/initgroups.c
hesiod/README.hesiod
htl/Makefile
htl/pt-create.c
htl/pt-internal.h
hurd/fd-close.c
hurd/hurd/signal.h
hurd/hurdexec.c
hurd/hurdsig.c
hurd/lookup-retry.c
include/alloc_buffer.h
include/arpa/nameser.h
include/file_change_detection.h
include/libc-pointer-arith.h
include/libc-symbols.h
include/printf_buffer.h
include/sys/socket.h
inet/arpa/inet.h
inet/idna_name_classify.c
inet/netinet/igmp.h
inet/rexec.c
io/file_change_detection.c
io/tst-fts.c
libio/oldfmemopen.c
libio/tst-fopenloc.c
libio/tst-memstream.h
libio/tst-setvbuf1.c
libio/tst-vtables-interposed.c
libio/tst-wmemstream3.c
login/programs/utmpdump.c
login/utmp_file.c
mach/Machrules
mach/errorlib.h
malloc/arena.c
malloc/malloc-debug.c
malloc/malloc.c
malloc/tst-mallocfork2.c
malloc/tst-mallocfork3.c
malloc/tst-mallocstate.c
math/bits/mathcalls.h
math/fenv.h
math/libm-test-support.c
math/math.h
math/test-fenv.c
math/tgmath.h
misc/hsearch_r.c
misc/preadv64v2.c
misc/pwritev64v2.c
misc/search.h
misc/tst-efgcvt-template.c
misc/tst-mntent-blank-corrupt.c
nptl/TODO
nptl/descr.h
nptl/futex-internal.c
nptl/perf.c
nptl/pthread_cond_common.c
nptl/pthread_cond_wait.c
nptl/pthread_create.c
nptl/pthread_getattr_np.c
nptl/pthread_mutex_lock.c
nptl/sem_waitcommon.c
nptl/tst-dlsym1.c
nptl/tst-rwlock20.c
nptl/tst-stack4.c
nptl/tst-tls3.c
nptl/tst-tsd3.c
nptl/tst-tsd4.c
nptl_db/td_thr_get_info.c
nptl_db/thread_dbP.h
nscd/connections.c
nscd/initgrcache.c
nscd/nscd-client.h
nscd/nscd.c
nscd/nscd_helper.c
nscd/nscd_setup_thread.c
nscd/nscd_stat.c
nss/nss_compat/compat-grp.c
nss/nss_compat/compat-pwd.c
nss/nss_compat/compat-spwd.c
nss/nss_database.c
nss/nss_db/db-open.c
nss/nss_db/nss_db.h
nss/nss_files/files-network.c
nss/nss_parse_line_result.c
nss/nsswitch.conf
nss/test-netdb.c
posix/BOOST.tests
posix/PTESTS
posix/globtest.c
posix/regexbug1.c
posix/runptests.c
posix/runtests.c
posix/rxspencer/tests
posix/spawn.h
posix/tst-exec.c
posix/tst-execveat.c
posix/tst-glob_lstat_compat.c
posix/tst-pcre.c
posix/tst-posix_fadvise-common.c
posix/tst-regcomp-truncated.c
posix/tst-regex.c
posix/tst-regex.input
posix/tst-spawn5.c
posix/wordexp.c
resolv/arpa/nameser_compat.h
resolv/bits/types/res_state.h
resolv/gai_misc.c
resolv/gai_misc.h
resolv/inet_net_pton.c
resolv/inet_pton.c
resolv/ns_print.c
resolv/ns_rr_cursor_next.c
resolv/nss_dns/dns-host.c
resolv/res-noaaaa.c
resolv/resolv-internal.h
resolv/resolv.h
resolv/resolv_conf.c
resolv/resolv_context.c
resolv/resolv_context.h
resolv/tst-resolv-canonname.c
resolv/tst-resolv-edns.c
resolv/tst-resolv-qtypes.c
resolv/tst-resolv-res_init-skeleton.c
resolv/tst-resolv-res_ninit.c
rt/aio.h
rt/aio_cancel.c
rt/aio_misc.c
rt/timer_create.c
rt/timer_gettime.c
rt/tst-mqueue2.c
rt/tst-mqueue3.c
rt/tst-mqueue4.c
rt/tst-mqueue5.c
scripts/dso-ordering-test.py
scripts/glibcelf.py
scripts/glibcpp.py
scripts/pylintrc
socket/sys/socket.h
stdio-common/printf_fphex.c
stdio-common/tst-fmemopen2.c
stdio-common/tst-fmemopen3.c
stdio-common/tst-printf-bz25691.c
stdio-common/tst-sscanf.c
stdio-common/vfscanf-internal.c
stdlib/inttypes.h
stdlib/lldiv.c
stdlib/longlong.h
stdlib/tst-arc4random-stats.c
stdlib/tst-arc4random-thread.c
stdlib/tst-canon-bz26341.c
stdlib/tst-random.c
stdlib/tst-setcontext.c
string/memcmpeq.c
string/strcoll_l.c
string/test-memcmp.c
string/test-strcasecmp.c
string/test-strcmp.c
string/test-strncasecmp.c
string/test-strncmp.c
string/test-strnlen.c
string/tst-memmove-overflow.c
sunrpc/key_call.c
sunrpc/rpc/clnt.h
sunrpc/tst-svc_register.c
sunrpc/xdr_rec.c
sunrpc/xdr_ref.c
support/Makefile
support/README
support/delayed_exit.c
support/resolv_test.c
support/resolv_test.h
support/support_record_failure.c
support/support_test_main.c
support/temp_file.c
support/test-container.c
support/tst-timespec.c
sysvipc/semop.c
sysvipc/semtimedop.c
time/asctime.c
time/tst-clock.c
time/tst-difftime.c
time/tst-strptime2.c
time/tzfile.c
wcsmbs/tst-btowc.c
wcsmbs/tst-mbrtowc.c

diff --git a/INSTALL b/INSTALL
index 91262cfe0004e87aab6b7fb9498dacbbb42349bd..6d51475536459b5d14b8fb224769484e63ee8106 100644 (file)
--- a/INSTALL
+++ b/INSTALL
@@ -469,7 +469,7 @@ build the GNU C Library:
 
    * GNU 'make' 4.0 or newer
 
-     As of relase time, GNU 'make' 4.4 is the newest verified to work to
+     As of release time, GNU 'make' 4.4 is the newest verified to work to
      build the GNU C Library.
 
    * GCC 6.2 or newer
index 31064470e52c8393d8a52d811cec117ba4a56af2..2ccf26d32008a1fe4270aa91ae5c3afc3950df7a 100644 (file)
--- a/Makerules
+++ b/Makerules
@@ -200,7 +200,7 @@ endif
 ifndef subdir
 # If a makefile needs to do something conditional on something that
 # can only be figured out from headers, write a FOO.make.c input
-# file that uses cpp contructs and contains @@@ LINE @@@ for each LINE
+# file that uses cpp constructs and contains @@@ LINE @@@ for each LINE
 # to emit in the generated makefile, and use -include $(common-objpfx)FOO.make.
 #
 # We only generate these in the top-level makefile, to avoid any weirdness
diff --git a/NEWS b/NEWS
index a52c17c6772c21d181cbdd61ba9ff99295024476..23051cf139eb4d754e5a154fd2c99b9e07d8c85f 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -183,7 +183,7 @@ Major new features:
 
 * On Linux, the pidfd_open, pidfd_getfd, and pidfd_send_signal functions
   have been added.  The pidfd functionality provides access to a process
-  while avoiding the issue of PID reuse on tranditional Unix systems.
+  while avoiding the issue of PID reuse on traditional Unix systems.
 
 * On Linux, the process_madvise function has been added. It has the
   same functionality as madvise but alters the target process identified
@@ -288,7 +288,7 @@ The following bugs are resolved with this release:
     inaccurate without /sys and /proc
   [28868] dynamic-link: Dynamic loader DFS algorithm segfaults on
     missing libraries
-  [28880] libc: Program crashes if date beyone 2038
+  [28880] libc: Program crashes if date beyond 2038
   [28883] libc: sysdeps/unix/sysv/linux/select.c: __select64
     !__ASSUME_TIME64_SYSCALLS && !__ASSUME_PSELECT fails on Microblaze
   [28896] string: strncmp-avx2-rtm and wcsncmp-avx2-rtm fallback on non-
@@ -529,7 +529,7 @@ Changes to build and runtime requirements:
 * The audit module interface version LAV_CURRENT is increased to enable
   proper bind-now support.  The loader now advertises via the la_symbind
   flags that PLT trace is not possible.  New audit modules require the
-  new dynamic loader supporing the latest LAV_CURRENT version. Old audit
+  new dynamic loader supporting the latest LAV_CURRENT version. Old audit
   modules are still loaded for all targets except aarch64.
 
 * The audit interface on aarch64 is extended to support both the indirect
@@ -765,7 +765,7 @@ Major new features:
   to configure the size of the thread stack cache.
 
 * The function _Fork has been added as an async-signal-safe fork replacement
-  since Austin Group issue 62 droped the async-signal-safe requirement for
+  since Austin Group issue 62 dropped the async-signal-safe requirement for
   fork (and it will be included in the future POSIX standard).  The new _Fork
   function does not run any atfork function neither resets any internal state
   or lock (such as the malloc one), and only sets up a minimal state required
@@ -1122,7 +1122,7 @@ Changes to build and runtime requirements:
 
 * On Linux, the system administrator needs to configure /dev/pts with
   the intended access modes for pseudo-terminals.  glibc no longer
-  attemps to adjust permissions of terminal devices.  The previous glibc
+  attempts to adjust permissions of terminal devices.  The previous glibc
   defaults ("tty" group, user read/write and group write) already
   corresponded to what most systems used, so that grantpt did not
   perform any adjustments.
@@ -1183,7 +1183,7 @@ The following bugs are resolved with this release:
   [26100] libc: Race in syslog(3) with regards to tag printing.
   [26124] libc: Export <cpu-features.h>
   [26130] nscd: Inconsistent nscd cache during pruning
-  [26203] libc: GLRO(dl_x86_cpu_features) may not be intialized
+  [26203] libc: GLRO(dl_x86_cpu_features) may not be initialized
   [26224] locale: iconv hangs when converting some invalid inputs from
     several IBM character sets (CVE-2020-27618)
   [26341] libc: realpath cyclically call __alloca(path_max) to consume
@@ -1472,7 +1472,7 @@ The following bugs are resolved with this release:
   [20338] libc: Parsing of /etc/gshadow can return bad pointers causing
     segfaults in applications
   [20543] libc: Please move from .gnu.linkonce to comdat
-  [22489] network: gcc warns about implicit convertion in
+  [22489] network: gcc warns about implicit conversion in
     ICMP6_FILTER_SETPASS with -Wsign-conversion
   [22525] localedata: or_IN  LC_COLLATE does not use copy "iso14651_t1"
   [23294] math: Complex _FloatN functions are redirected to the wrong
@@ -3513,7 +3513,7 @@ The following bugs are resolved with this release:
     frame-pointer on i386
   [21049] libc: segfault in longjmp_chk() due to clobbered processor
     register
-  [21075] libc: unused assigment to %g4 in sparc/sparc{64,32}/clone.S
+  [21075] libc: unused assignment to %g4 in sparc/sparc{64,32}/clone.S
   [21088] libc: Build fails with --enable-static-nss
   [21094] math: cosf(1.57079697) has 3 ulp error on targets where the
     generic c code is used
@@ -3920,7 +3920,7 @@ The following bugs are resolved with this release:
   [17730] malloc: thread-local storage is sometimes improperly free()'d
     after being __libc_memalign()'d
   [18241] stdio: failed fseek on memstream does not set errno and can fail
-    when it shouldnt
+    when it shouldn't
   [18243] nptl: sem_wait, sem_timedwait are cancellation points shm_open is
     not
   [18463] nptl: pthread_cond_broadcast issue when surrounded by
@@ -4384,7 +4384,7 @@ Version 2.23
   glibc 2.10 via --enable-experimental-malloc (2009), could result in the
   unnecessary serialization of memory allocation requests across threads.
   The defect is now corrected.  Users should see a substantial increase in
-  the concurent throughput of allocation requests for applications which
+  the concurrent throughput of allocation requests for applications which
   trigger this bug.  Affected applications typically create and
   destroy threads frequently.  (Bug 19048 was reported and analyzed by
   Ericsson.)
@@ -4462,7 +4462,7 @@ The following bugs are resolved with this release:
   [2898] libc: [improve]  warning: the use  of `mktemp' is dangerous, better
     use `mkstemp'
   [4404] localedata: German translation of "Alarm clock" is misleading
-  [6799] math: nextafter() and nexttoward() doen't set errno on
+  [6799] math: nextafter() and nexttoward() doesn't set errno on
     overflow/underflow errors
   [6803] math: scalb(), scalbln(), scalbn() do not set errno on
     overflow/underflow
@@ -4641,7 +4641,7 @@ The following bugs are resolved with this release:
   [19094] math: lrint, llrint missing exceptions close to overflow threshold
   [19095] math: dbl-64 lrint incorrect for 64-bit long
   [19122] dynamic-link: Unnecessary PLT relocations in librtld.os
-  [19124] dynamic-link: ld.so failed to build with older assmebler
+  [19124] dynamic-link: ld.so failed to build with older assembler
   [19125] math: [powerpc32] llroundf, llround incorrect exceptions
   [19129] dynamic-link: [arm] Concurrent lazy TLSDESC resolution can crash
   [19134] math: [powerpc32] lround, lroundf spurious exceptions
@@ -5809,7 +5809,7 @@ Version 2.8
 * ARG_MAX is not anymore constant on Linux.  Use sysconf(_SC_ARG_MAX).
   Implemented by Ulrich Drepper.
 
-* Faster sqrt and sqrtf implemention for some PPC variants.
+* Faster sqrt and sqrtf implementation for some PPC variants.
   Implemented by Steven Munroe.
 \f
 Version 2.7
@@ -6090,7 +6090,7 @@ Version 2.3.2
 * The `btowc' function should work at least twice as fast due to
   specialized callbacks in the iconv modules.  Implemented by Bruno Haible.
 
-* With approriate thread add-ons cancelable functions are now implemented
+* With appropriate thread add-ons cancelable functions are now implemented
   in libc.so as well.  No need to call the function in libpthread.  This
   change allowed to finally disable the incorrect and expensive handling
   of weak definition in ld.so.
@@ -6421,7 +6421,7 @@ Version 2.1
 * Eric Youngdale and Ulrich Drepper implemented versioning of objects on
   symbol level.
 
-* Miles Bader provided the `argp' function family to support hierachical
+* Miles Bader provided the `argp' function family to support hierarchical
   command line argument parsing, layered on top of getopt.
 
 * strtod accepts new hexadecimal floating-point format from ISO C 9X.
@@ -6965,7 +6965,7 @@ Version 2.0
 * Ulrich Drepper has contributed a new suite of functions for operation on
   wide-character and multibyte-character strings, in <wchar.h>;
   and classification and case conversion of wide characters, in <wctype.h>.
-  These new functions are conforming to the ISO C, Amendement 1 specification.
+  These new functions are conforming to the ISO C, Amendment 1 specification.
 
 * There is now a second implementation of the standard I/O library available.
   It comes from GNU libg++ as was written by Per Bothner, heavily modified
index aef380a573df95e00a39edf7a3c80d6f7fe5a376..d019ed58d21181ee7b7e3f1bbc75960f8d7520be 100644 (file)
@@ -1560,7 +1560,7 @@ argp_args_usage (const struct argp *argp, const struct argp_state *state,
 }
 \f
 /* Print the documentation for ARGP to STREAM; if POST is false, then
-   everything preceeding a `\v' character in the documentation strings (or
+   everything preceding a `\v' character in the documentation strings (or
    the whole string, for those with none) is printed, otherwise, everything
    following the `\v' character (nothing for strings without).  Each separate
    bit of documentation is separated a blank line, and if PRE_BLANK is true,
index 17116842948db53ed7bdee5cd1be261952d52c51..a44b50f8e404b2f4d486ebeabb0a377251e727b1 100644 (file)
@@ -228,7 +228,7 @@ struct group
      particular short options is from.  */
   char *short_end;
 
-  /* The number of non-option args sucessfully handled by this parser.  */
+  /* The number of non-option args successfully handled by this parser.  */
   unsigned args_processed;
 
   /* This group's parser's parent's group.  */
index 4d1c54dc74f704234ba791768ea89f5bd4459d7b..766c776b1745cd1d8c1765f5123947fad52b0693 100644 (file)
@@ -30,7 +30,7 @@
 static const struct argp_option test_options[] =
   {
     { NULL, 0, NULL, 0, "\
-This is a test for threads so we allow ther user to selection the number of \
+This is a test for threads so we allow the user to select the number of \
 threads which are used at any one time.  Independently the total number of \
 rounds can be selected.  This is the total number of threads which will have \
 run when the process terminates:" },
index c20bb4f6ddd0213ee37458c93534b88866bb47a6..8d5d6d62c673c64c8dac2196fc0e5f6843ecf6ea 100644 (file)
@@ -351,7 +351,7 @@ test_producer_thread (void *v)
 
   for (j = iters; j >= 0; --j)
     {
-      /* Aquire lock on the queue.  */
+      /* Acquire lock on the queue.  */
       pthread_mutex_lock (&m);
       /* if something's already there, wait.  */
       while (queued > 0)
@@ -388,7 +388,7 @@ test_consumer_producer (long iters, int filler)
 
   for (long j = iters; j >= 0; --j)
     {
-      /* Aquire lock on the queue.  */
+      /* Acquire lock on the queue.  */
       pthread_mutex_lock (&m);
       /* Wait for something to be on the queue.  */
       while (queued == 0)
index d684b7805470fad85656a76e1262ccd8b8d92f98..4996f8c4ac521a2ca4441cc480ec999e95b93036 100644 (file)
@@ -22,12 +22,12 @@ static volatile unsigned int dontoptimize = 0;
 void
 bench_start (void)
 {
-  /* This loop should cause CPU to switch to maximal freqency.
+  /* This loop should cause CPU to switch to maximal frequency.
      This makes subsequent measurement more accurate.  We need a side effect
      to prevent the loop being deleted by compiler.
      This should be enough to cause CPU to speed up and it is simpler than
      running loop for constant time.  This is used when user does not have root
-     access to set a constant freqency.  */
+     access to set a constant frequency.  */
 
   for (int k = 0; k < START_ITER; k++)
     dontoptimize += 23 * dontoptimize + 2;
index 1fb934d1126d88c5716356f1d96ebe16498272ee..56b98da8a8b97e27b2112a30719c543145bd2f76 100755 (executable)
@@ -276,7 +276,7 @@ def plotRecursive(json_iter, routine, ifuncs, bench_variant, title, outpath,
     domain = np.unique(np.array(domain))
     averages = []
 
-    # Compute geometric mean if there are multple timings for each
+    # Compute geometric mean if there are multiple timings for each
     # parameter value.
     for parameter in domain:
         averages.append(gmean(timings[parameter]))
index 8743fd5cf6f7a3369ebf1d473b2eba97dacca22f..98cf3c1416b60d19a5a67c7c504e22ee232bb5c9 100644 (file)
@@ -93,7 +93,7 @@ enum
 {
   BUS_ADRALN = 1,              /* Invalid address alignment.  */
 #  define BUS_ADRALN   BUS_ADRALN
-  BUS_ADRERR,                  /* Non-existant physical address.  */
+  BUS_ADRERR,                  /* Non-existent physical address.  */
 #  define BUS_ADRERR   BUS_ADRERR
   BUS_OBJERR                   /* Object specific hardware error.  */
 #  define BUS_OBJERR   BUS_OBJERR
index 1b5938e9ad89f09b3f4baad6af76fe7b8be40409..a22ff3b07bd2c240ba07034f3277ed4a7e82e6af 100644 (file)
@@ -143,7 +143,7 @@ enum __socket_type
 #define        AF_MAX          PF_MAX
 
 /* Maximum queue length specifiable by listen.  */
-#define SOMAXCONN      128     /* 5 on the origional 4.4 BSD.  */
+#define SOMAXCONN      128     /* 5 on the original 4.4 BSD.  */
 
 /* Get the definition of the macro to define the common sockaddr members.  */
 #include <bits/sockaddr.h>
index 88df3e5eed50b6ca70e8d1a60e5ce642257ac7a0..21879c933c2d6024fb872353685c86402c96a7bb 100644 (file)
@@ -1372,7 +1372,7 @@ AC_SUBST(libc_cv_mtls_dialect_gnu2)
 LIBC_CONFIG_VAR([have-mtls-dialect-gnu2], [$libc_cv_mtls_dialect_gnu2])
 
 dnl clang emits an warning for a double alias redirection, to warn the
-dnl original symbol is sed even when weak definition overriddes it.
+dnl original symbol is sed even when weak definition overrides it.
 dnl It is a usual pattern for weak_alias, where multiple alias point to
 dnl same symbol.
 AC_CACHE_CHECK([if -Wno-ignored-attributes is required for aliases],
index b8239a695b5753952c6a1b8926e25f237a436422..5e1c65d5c2949b4b6913ec56125390acf841aaa5 100644 (file)
@@ -29,7 +29,7 @@ static const char *tests[][2] =
     { "first char bad", "!x" },
     { "second char bad", "Z%" },
     { "both chars bad", ":@" },
-    { "un$upported algorithm", "$2$" },
+    { "unsupported algorithm", "$2$" },
     { "unsupported_algorithm", "_1" },
   };
 
index d095ab04a4ade1fbc852c19e42db591b31eacd43..daca4f72dc18475994370ab010828e80a5e833f9 100644 (file)
@@ -204,7 +204,7 @@ static const ufc_long longmask[32] = {
  * do_pc1: permform pc1 permutation in the key schedule generation.
  *
  * The first   index is the byte number in the 8 byte ASCII key
- *  -  second    -      -    the two 28 bits halfs of the result
+ *  -  second    -      -    the two 28 bits halves of the result
  *  -  third     -   selects the 7 bits actually used of each byte
  *
  * The result is kept with 28 bit per 32 bit with the 4 most significant
index de6dd716f9f897f81587d3d7d5373949e43fe3a9..4402762bd10dd5f86aed2eb6dff12138cc7d8ccf 100644 (file)
@@ -68,7 +68,7 @@ check_one_fd (int fd, int mode)
 
         Note that the following code assumes that STDIN_FILENO,
         STDOUT_FILENO, STDERR_FILENO are the three lowest file
-        decsriptor numbers, in this order.  */
+        descriptor numbers, in this order.  */
       struct __stat64_t64 st;
       if (__glibc_unlikely (nullfd != fd)
          || __glibc_likely (__fstat64_time64 (fd, &st) != 0)
index 4544eb6d2cb0fdeaae331dab3074c66a3f7bfcf2..228bed53cfe3a86197981d2727647795f4ed0a31 100644 (file)
@@ -28,7 +28,7 @@
 
 #include <ldsodefs.h>
 
-/* Remember the command line argument and enviroment contents for
+/* Remember the command line argument and environment contents for
    later calls of initializers for dynamic libraries.  */
 int __libc_argc attribute_hidden;
 char **__libc_argv attribute_hidden;
index 4045aef6cb4ac58948973e60962d15dbc140422e..77a5255ef8be832fa7dcc7acc5c80968ca54342e 100644 (file)
@@ -18,7 +18,7 @@
 
 /* This is the generic definition of __explicit_bzero_chk.  The
    __explicit_bzero_chk symbol is used as the implementation of
-   explicit_bzero throughout glibc.  If this file is overriden by an
+   explicit_bzero throughout glibc.  If this file is overridden by an
    architecture, both __explicit_bzero_chk and
    __explicit_bzero_chk_internal have to be defined (the latter not as
    an IFUNC).  */
index 9f98aa8218edad37b034f283282048d79d4db0e8..0bf3e501f5a7380026ebd1800bfc2fbbca6ebd3d 100644 (file)
@@ -108,7 +108,7 @@ main (int argc, char *argv[])
     }
 
   /* Read the first 4-byte word.  It contains the information about
-     the word size and the endianess.  */
+     the word size and the endianness.  */
   uint32_t word;
   if (TEMP_FAILURE_RETRY (read (fd, &word, 4)) != 4)
     error (EXIT_FAILURE, errno, _("cannot read header"));
index 7850a4e5587e0ecce762f9852de88a029b838419..9f962f2a759ff0f9505bfd42d2922cbb4619e875 100644 (file)
@@ -1509,7 +1509,7 @@ do_test (void)
       CHK_FAIL_END
 #endif
 
-      /* Bug 29030 regresion check */
+      /* Bug 29030 regression check */
       cp = "HelloWorld";
       if (mbsrtowcs (NULL, &cp, (size_t)-1, &s) != 10)
         FAIL ();
index cb4edc8da7fa446123f06b38cd8ac5c736b1b5cd..babc8f3380319c9fb7cbc056a2bec5288341b58a 100644 (file)
@@ -6,7 +6,7 @@ int
 dummy2 (void)
 {
   printf ("Called dummy2()\n");
-  /* If the outer dlopen is not dummy1 (becuase of some error)
+  /* If the outer dlopen is not dummy1 (because of some error)
      then tst-rec-dlopen will see a value of -1 as the returned
      result and fail.  */
   return -1;
index f7180fdb83399a1426b64fbe23b385d4f10255b9..07bf060331aa797b4fb61c089a52c42327e49724 100644 (file)
@@ -91,7 +91,7 @@ _MCOUNT_DECL(frompc, selfpc)  /* _mcount; may be static, inline, etc */
           But we can simplify this if we assume the profiling data
           is always initialized by the functions in gmon.c.  But
           then it is possible to avoid a runtime check and use the
-          smae `if' as in gmon.c.  So keep these tests in sync.  */
+          same `if' as in gmon.c.  So keep these tests in sync.  */
        if ((HASHFRACTION & (HASHFRACTION - 1)) == 0) {
          /* avoid integer divide if possible: */
            i = frompc >> p->log_hashfraction;
index d8a24628d58b2b2f4e23998b523c02e1f857f26a..2ebd623d7bb4ae4edc5de814de7dde7c95950bc1 100644 (file)
@@ -191,7 +191,7 @@ initgroups (const char *user, gid_t group)
   long int limit = __sysconf (_SC_NGROUPS_MAX);
 
   if (limit > 0)
-    /* We limit the size of the intially allocated array.  */
+    /* We limit the size of the initially allocated array.  */
     size = MIN (limit, 64);
   else
     /* No fixed limit on groups.  Pick a starting buffer size.  */
index 259ce8d44756619176b7476240a4264c61202074..5c44fae13e232d1f19164f44fdd923a7c2eb7766 100644 (file)
@@ -139,7 +139,7 @@ information like encrypted passwords in the Hesiod database.  There
 are some ways to improve security by using features provided by
 `named' (see the discussion about `secure zones' in the BIND
 documentation), but one should keep in mind that Hesiod was never
-intended to distribute passwords.  In the origional design
+intended to distribute passwords.  In the original design
 authenticating users was the job of the Kerberos service.
 
 
index 67a2f7fe729c8792b0f9dd6826958fad87a0b35d..5de036acfd038eafa45804e4f2f36d1c688b74f5 100644 (file)
@@ -188,7 +188,7 @@ subdir_install: $(inst_libdir)/libpthread2.a $(inst_libdir)/libpthread_syms.a
 # XXX: These rules are a hack.  But it is better than messing with
 # ../Makeconf at the moment.  Note that the linker scripts
 # $(srcdir)/libpthread.a and $(srcdir)/libpthread_pic.a get overwritten
-# when building in $(srcdir) and not a seperate build directory.
+# when building in $(srcdir) and not a separate build directory.
 $(inst_libdir)/libpthread2.a: $(inst_libdir)/libpthread.a
        mv $< $@
        $(INSTALL_DATA) $(srcdir)/libpthread.a $<
index 203b808591cd5109a522ed8e654cccf2d4c28154..261358696f5b541641c8cf74e5fcb9ae177500b6 100644 (file)
@@ -199,7 +199,7 @@ __pthread_create_internal (struct __pthread **thread,
   /* Set the new thread's signal mask and set the pending signals to
      empty.  POSIX says: "The signal mask shall be inherited from the
      creating thread.  The set of signals pending for the new thread
-     shall be empty."  If the currnet thread is not a pthread then we
+     shall be empty."  If the current thread is not a pthread then we
      just inherit the process' sigmask.  */
   if (GL (dl_pthread_num_threads) == 1)
     err = __sigprocmask (0, 0, &pthread->init_sigset);
index 5179428ce709d642eb9ad24b7a9ca3235747c5d4..6e43f78457fb42dccb3bb7bf2007df276f4dcc12 100644 (file)
@@ -303,7 +303,7 @@ extern void __pthread_destroy_specific (struct __pthread *thread);
    structures.  */
 extern error_t __pthread_sigstate_init (struct __pthread *thread);
 
-/* Destroy the signal state data structures associcated with thread
+/* Destroy the signal state data structures associated with thread
    *THREAD.  */
 extern void __pthread_sigstate_destroy (struct __pthread *thread);
 
index 91cf95d93a9e3c815619fc8d0089e1ed85a24389..90be1e66c91f760836f2360f8fedc96309daa076 100644 (file)
@@ -33,7 +33,7 @@ _hurd_fd_close (struct hurd_fd *fd)
   else
     {
       /* Clear the descriptor's port cells.
-        This deallocates the ports if noone else is still using them.  */
+        This deallocates the ports if no one else is still using them.  */
       _hurd_port_set (&fd->ctty, MACH_PORT_NULL);
       _hurd_port_locked_set (&fd->port, MACH_PORT_NULL);
       err = 0;
index 89cf7ac87c25ed648e3704f01880a756d9dc49ef..96b6fae0076af7e5eea2e0a7e4c8c5430fc276eb 100644 (file)
@@ -146,7 +146,7 @@ extern struct hurd_sigstate *_hurd_global_sigstate;
 extern void _hurd_sigstate_set_global_rcv (struct hurd_sigstate *ss);
 
 /* A thread can either use its own action vector and pending signal set
-   or use the global ones, depending on wether it has been marked as a
+   or use the global ones, depending on whether it has been marked as a
    global receiver. The accessors below take that into account.  */
 
 extern void _hurd_sigstate_lock (struct hurd_sigstate *ss);
index f8f174e4a214aa23c6218760dc4805e408d8d1bc..e358d846c8a230866755102e89ee4f9e70acdffc 100644 (file)
@@ -234,7 +234,7 @@ retry:
   __mutex_lock (&_hurd_id.lock);
   err = _hurd_check_ids ();
 
-  /* Avoid leaking the rid_auth port reference to the new progam */
+  /* Avoid leaking the rid_auth port reference to the new program */
   if (_hurd_id.rid_auth != MACH_PORT_NULL)
     {
       __mach_port_deallocate (__mach_task_self (), _hurd_id.rid_auth);
index 313e95aeec9b99f86d66ae65d678066a65c7ad53..ce56d28520840bdb18bdaa948b3c4bb74724f660 100644 (file)
@@ -917,7 +917,7 @@ post_signal (struct hurd_sigstate *ss,
                               | __sigmask (SIGTSTP))))
     {
       /* If we would ordinarily stop for a job control signal, but we are
-        orphaned so noone would ever notice and continue us again, we just
+        orphaned so no one would ever notice and continue us again, we just
         quietly die, alone and in the dark.  */
       detail->code = signo;
       signo = SIGKILL;
index 62f94bbc92c40ba9337af83662be0527870de285..9a9b2718c0a325887562336fd4cadcb819890d19 100644 (file)
@@ -144,7 +144,7 @@ __hurd_file_name_lookup_retry (error_t (*use_init_port)
                     refusing symlinks while accepting mount points.
                     Note that we actually permit something Linux doesn't:
                     we follow root-owned symlinks; if that is deemed
-                    undesireable, we can add a final check for that
+                    undesirable, we can add a final check for that
                     one exception to our general translator-based rule.  */
                  struct stat64 st;
                  err = __io_stat (*result, &st);
index 748a5f0dbfa80daace06ccf4201dfd4aacd8f27e..5dcd00940575038510d7e38808df5c430889cf7c 100644 (file)
@@ -304,7 +304,7 @@ __alloc_buffer_next (struct alloc_buffer *buf, size_t align)
 }
 
 /* Like alloc_buffer_alloc, but do not advance the pointer beyond the
-   object (so a subseqent call to alloc_buffer_next or
+   object (so a subsequent call to alloc_buffer_next or
    alloc_buffer_alloc returns the same pointer).  Note that the buffer
    is still aligned according to the requirements of TYPE, potentially
    consuming buffer space.  The effect of this function is similar to
index 0ef5ab409f76a59cb384474fe627a7ae7e9dfa03..70c634a69dfa59716f69a8238e522c52a7ce4950 100644 (file)
@@ -126,7 +126,7 @@ ns_rr_cursor_qtype (const struct ns_rr_cursor *c)
   return c->first_rr[-4] * 256 + c->first_rr[-3];
 }
 
-/* Returns the clss of the first and only question (usally C_IN).  */
+/* Returns the clss of the first and only question (usually C_IN).  */
 static inline const int
 ns_rr_cursor_qclass (const struct ns_rr_cursor *c)
 {
index 241b45d1230866a3aa2df4e4507ffb44012e710a..c9b86b727ea738b32a38b80cf79d7a63271f28d6 100644 (file)
@@ -55,7 +55,7 @@ bool __file_change_detection_for_path (struct file_change_detection *file,
                                        const char *path);
 
 /* Writes file change information for the stream FP to *FILE.  Returns
-   ture on success, false on failure.  If FP is NULL, treat the file
+   true on success, false on failure.  If FP is NULL, treat the file
    as non-existing.  */
 bool __file_change_detection_for_fp (struct file_change_detection *file,
                                      FILE *fp);
index 1faf0209c4892139ee7b7d7dbe2b6d68ff078a44..aa57e598d59bf81b9ee5e564c2530193548563f1 100644 (file)
@@ -64,7 +64,7 @@
 #define PTR_IS_ALIGNED(base, size) \
   ((((uintptr_t) (base)) & (size - 1)) == 0)
 
-/* Returns the ptrdiff_t diference between P1 and P2.  */
+/* Returns the ptrdiff_t difference between P1 and P2.  */
 #define PTR_DIFF(p1, p2) \
   ((ptrdiff_t)((uintptr_t)(p1) - (uintptr_t)(p2)))
 
index 37c91bb3a465c4e98f163cd106b42cdee10698eb..57946144888f7a990bfeeb7e2cad904b8a80953d 100644 (file)
@@ -338,7 +338,7 @@ for linking")
   _set_symbol_version (real, #name "@@" #version)
 # endif
 
-/* Evalutes to a string literal for VERSION in LIB.  */
+/* Evaluates to a string literal for VERSION in LIB.  */
 # define symbol_version_string(lib, version) \
   _symbol_version_stringify_1 (VERSION_##lib##_##version)
 # define _symbol_version_stringify_1(arg) _symbol_version_stringify_2 (arg)
@@ -712,7 +712,7 @@ for linking")
 
    If you have an implementation for foo which e.g. uses a special hardware
    feature which isn't available on all machines where this libc.so will be
-   used but decideable if available at runtime e.g. via hwcaps, you can provide
+   used but decidable if available at runtime e.g. via hwcaps, you can provide
    two or multiple implementations of foo:
 
    int __foo_default (int __bar)
@@ -765,7 +765,7 @@ for linking")
                          : __foo_default);
 
    This will define the ifunc'ed symbol foo like above.  The redirection of foo
-   in header file is needed to omit an additional defintion of __GI_foo which
+   in header file is needed to omit an additional definition of __GI_foo which
    would end in a linker error while linking libc.so.  You have to specify
    __redirect_foo as first parameter which is used within libc_ifunc_redirected
    macro in conjunction with typeof to define the ifunc'ed symbol foo.
index 4d787e4b2c77fa6429dee6c1f0c011a10d1e5c07..21f3882b8862b257cd71ef28887763b23ad5de95 100644 (file)
@@ -156,7 +156,7 @@ void __printf_buffer_pad_1 (struct __printf_buffer *buf,
                             char ch, size_t count) attribute_hidden;
 
 /* __printf_buffer_pad with fast path for no padding.  COUNT is
-   ssize_t to accomodate signed uses in printf and elsewhere.  */
+   ssize_t to accommodate signed uses in printf and elsewhere.  */
 static inline void
 __printf_buffer_pad (struct __printf_buffer *buf, char ch, ssize_t count)
 {
index 6e4cf5077fb885a97601b52653be6a84b5d57797..b9fbc4925c23319080b12501f9e90db37438ed83 100644 (file)
@@ -44,7 +44,7 @@ extern ssize_t __libc_sendto (int __fd, const void *__buf, size_t __n,
                              socklen_t __addr_len);
 
 /* Read N bytes into BUF through socket FD.
-   If ADDR is not NULL, fill in *ADDR_LEN bytes of it with tha address of
+   If ADDR is not NULL, fill in *ADDR_LEN bytes of it with the address of
    the sender, and store the actual size of the address in *ADDR_LEN.
    Returns the number of bytes read or -1 for errors.  */
 extern ssize_t __libc_recvfrom (int __fd, void *__restrict __buf, size_t __n,
@@ -78,7 +78,7 @@ extern ssize_t __sendto (int __fd, const void *__buf, size_t __n,
                         socklen_t __addr_len) attribute_hidden;
 
 /* Read N bytes into BUF through socket FD.
-   If ADDR is not NULL, fill in *ADDR_LEN bytes of it with tha address of
+   If ADDR is not NULL, fill in *ADDR_LEN bytes of it with the address of
    the sender, and store the actual size of the address in *ADDR_LEN.
    Returns the number of bytes read or -1 for errors.  */
 extern ssize_t __recvfrom (int __fd, void *__restrict __buf, size_t __n,
index 004f0a0565953236f9f0fc9703c540ba0ad7ede3..dffb711137b1b762fb87ccc08813c2a541425ceb 100644 (file)
@@ -78,7 +78,7 @@ extern char *inet_neta (in_addr_t __net, char *__buf, size_t __len) __THROW
   __attribute_deprecated_msg__ ("Use inet_ntop instead");
 
 /* Convert network number for interface type AF in buffer starting at
-   CP to presentation format.  The result will specifiy BITS bits of
+   CP to presentation format.  The result will specify BITS bits of
    the number.  */
 extern char *inet_net_ntop (int __af, const void *__cp, int __bits,
                            char *__buf, size_t __len) __THROW;
index 8b34d89104f23fdafdab52519224d861a61d938e..a48c72b2fca24e95ce731c6acd5040f9affeb010 100644 (file)
@@ -40,7 +40,7 @@ __idna_name_classify (const char *name)
         break;
       else if (result == (size_t) -2)
         /* Incomplete trailing multi-byte character.  This is an
-           encoding error becaue we received the full name.  */
+           encoding error because we received the full name.  */
         return idna_name_encoding_error;
       else if (result == (size_t) -1)
         {
index e4d9928e3be8bab7eadd54a88c2351c6d863a902..50141712fc4bdd9664a698383baee3a8b2bccd1a 100644 (file)
@@ -110,7 +110,7 @@ struct igmp {
 #define IGMP_v2_ROUTER         2
 
 /*
- * The following four defininitions are for backwards compatibility.
+ * The following four definitions are for backwards compatibility.
  * They should be removed as soon as all applications are updated to
  * use the new constant names.
  */
index 1985fa4418a202829c10a7a6c30d7c99d1a9a0d0..d479753fc2854addd0aa9c03e42ec42e860c97dd 100644 (file)
@@ -154,7 +154,7 @@ retry:
        struct iovec iov[3] =
          {
            [0] = { .iov_base = (void *) name, .iov_len = strlen (name) + 1 },
-           /* should public key encypt the password here */
+           /* should public key encrypt the password here */
            [1] = { .iov_base = (void *) pass, .iov_len = strlen (pass) + 1 },
            [2] = { .iov_base = (void *) cmd, .iov_len = strlen (cmd) + 1 }
          };
index d7b861694ab4ab504434a5dfa290bbd0e0c2a31e..4f53aa76ac10c2ecaf9e02f14b5b46f1ed998be8 100644 (file)
@@ -86,7 +86,7 @@ __file_change_detection_for_path (struct file_change_detection *file,
         /* Other errors are fatal.  */
         return false;
       }
-  else /* stat64 was successfull.  */
+  else /* stat64 was successful.  */
     {
       __file_change_detection_for_stat (file, &st);
       return true;
index 41121db4cfafb716debc9d82c95e823913f3b3e2..b65b285aebbd7386b661def36be45a62da4c7dee 100644 (file)
@@ -201,7 +201,7 @@ do_test (void)
        }
     }
   /* fts_read returns NULL when done (and clears errno)
-     or when an error occured (with errno set).  */
+     or when an error occurred (with errno set).  */
   if (errno != 0)
     {
       printf ("FAIL: fts_read: %m\n");
index e320a860fcbf56f6dbaf98c2574c69b7375e1fd8..61d02fc662f288f97a96065d8066cd7c27b75e0b 100644 (file)
@@ -32,7 +32,7 @@
  * - I never used the "original" fmemopen(). I am sure that "my"
  *   fmemopen() behaves differently than the original version.
  *
- * - The documentation doesn't say wether a string stream allows
+ * - The documentation doesn't say whether a string stream allows
  *   seeks. I checked the old fmemopen implementation in glibc's stdio
  *   directory, wasn't quite able to see what is going on in that
  *   source, but as far as I understand there was no seek there. For
index 67c49d74cce6a0da990f034ddf38ada46a1d8df0..089c61bf4199c3c21d14755aa63130c3bd614e08 100644 (file)
@@ -47,7 +47,7 @@ do_bz17916 (void)
   FILE *fp = fopen (inputfile, ccs);
   if (fp != NULL)
     {
-      printf ("unxpected success\n");
+      printf ("unexpected success\n");
       return 1;
     }
   free (ccs);
index de9bb549f77f0ee73b3d52b8b0cf9accd15afe1b..2a9743fa620fe0a02785f77e9596ec321c19b78e 100644 (file)
@@ -28,7 +28,7 @@
 #ifdef TEST_WCHAR
 # include <wchar.h>
 
-/* Straighforward implementation so tst-memstream3 could use check
+/* Straightforward implementation so tst-memstream3 could use check
    fwrite on open_memstream.  */
 static size_t __attribute__ ((used))
 fwwrite (const void *ptr, size_t size, size_t nmemb, FILE *arq)
index 9222d4050d7633eca8deeca4426034aedb1dfc4d..44ae15815a4f037610fa7583bad6d2298ab2eb26 100644 (file)
@@ -1,4 +1,4 @@
-/* Dereived from the test case in BZ #2337.  */
+/* Derived from the test case in BZ #2337.  */
 #include <errno.h>
 #include <error.h>
 #include <fcntl.h>
index e656f2b2035102009ba7aaa85f36f73752543907..6f7d99a0ea589ffb780b0584973464dc75906e54 100644 (file)
@@ -20,7 +20,7 @@
 
 /* Provide an interposed definition of the standard file handles with
    our own vtable.  stdout/stdin/stderr will not work as a result, but
-   a succesful test does not print anything, so this is fine.  */
+   a successful test does not print anything, so this is fine.  */
 #include "libioP.h"
 #undef _IO_file_jumps
 #define _IO_file_jumps jumps
index e22326820de6aa28b3f15e3e82cb6c16d5862d17..5edc01144c157a777eeddd90b2526ba79e0a27b7 100644 (file)
@@ -18,7 +18,7 @@
 
 #include <wchar.h>
 
-/* Straighforward implementation so tst-memstream3 could use check
+/* Straightforward implementation so tst-memstream3 could use check
    fwrite on open_memstream.  */
 static size_t
 fwwrite (const void *ptr, size_t size, size_t nmemb, FILE *arq)
index 950e927200ad404a1c8a6b8b90020d1d660a07ae..f85654b9d186c272799f0288bfbfab2219df3898 100644 (file)
@@ -28,7 +28,7 @@ print_entry (struct utmp *up)
   /* Mixed 32-/64-bit systems may have timeval structs of different sixe
      but need struct utmp to be the same size.  So in 64-bit up->ut_tv may
      not be a timeval but a struct of __int32_t's.  This would cause a compile
-     time warning and a formating error when 32-bit int is passed where
+     time warning and a formatting error when 32-bit int is passed where
      a 64-bit long is expected. So copy up->up_tv to a temporary timeval.
      This is 32-/64-bit agnostic and expands the timeval fields to the
      expected size as needed. */
index 1ef07821397b1c612a9ad8ebff32467ea1e7cb32..7055041d5f0739f82ed6850cb9e18274086db830 100644 (file)
@@ -153,7 +153,7 @@ __libc_setutent (void)
   return 1;
 }
 
-/* Preform initialization if necessary.  */
+/* Perform initialization if necessary.  */
 static bool
 maybe_setutent (void)
 {
index d52f672d32bdbf288158c6a4f503773d1eda86cd..bbba63b2e0c15634b2889fed086e02a0604b74e5 100644 (file)
@@ -54,7 +54,7 @@ $(objpfx)dummy.mk:
 
 MIGFLAGS = -DSTANDALONE -DTypeCheck=0 \
           $(+includes) $(migdefines) -subrprefix __
-# Putting CC in the enivronment makes the mig wrapper script
+# Putting CC in the environment makes the mig wrapper script
 # use the same compiler setup we are using to run cpp.
 MIG := CC='${CC}' CPP='${CPP} -x c' $(MIG)
 
index ff0c55eb3646af3b1a197c076a96f56e8bbf95b2..5c145b8af8aeca73cc1fcc3013d53bad5a29ba1d 100644 (file)
@@ -42,7 +42,7 @@
  *     Author: Douglas Orr, Carnegie Mellon University
  *     Date:   Mar. 1988
  *
- *     Error bases for subsytems errors.
+ *     Error bases for subsystems errors.
  */
 
 #include <mach/error.h>
index e98b779dbb67c3f51115326f96fe76d45c3972e7..6f03955ff24e1bb3df0ee71c96606ecea2ce744a 100644 (file)
@@ -39,7 +39,7 @@
    mmap threshold, so that requests with a size just below that
    threshold can be fulfilled without creating too many heaps.  */
 
-/* When huge pages are used to create new arenas, the maximum and minumum
+/* When huge pages are used to create new arenas, the maximum and minimum
    size are based on the runtime defined huge page size.  */
 
 static inline size_t
index da9d2340d3343e5bea1cb48761e482828892db38..f9d131d22ffd7b6225572b3db0825e7f32469018 100644 (file)
@@ -588,7 +588,7 @@ malloc_set_state (void *msptr)
   __malloc_debug_disable (MALLOC_CHECK_HOOK);
 
   /* We do not need to perform locking here because malloc_set_state
-     must be called before the first call into the malloc subsytem (usually via
+     must be called before the first call into the malloc subsystem (usually via
      __malloc_initialize_hook).  pthread_create always calls calloc and thus
      must be called only afterwards, so there cannot be more than one thread
      when we reach this point.  Also handle initialization if either we ended
index 5d8b61d66caa374c649047d4114746585a3fe501..b8c0f4f5802c73a1770e3f1c0f22bcf8a83b5977 100644 (file)
   is fairly extensive, and will slow down execution
   noticeably. Calling malloc_stats or mallinfo with MALLOC_DEBUG set
   will attempt to check every non-mmapped allocated and free chunk in
-  the course of computing the summmaries. (By nature, mmapped regions
+  the course of computing the summaries. (By nature, mmapped regions
   cannot be checked very much automatically.)
 
   Setting MALLOC_DEBUG may also be helpful if you are trying to modify
@@ -672,7 +672,7 @@ void*  __libc_valloc(size_t);
   arena:     current total non-mmapped bytes allocated from system
   ordblks:   the number of free chunks
   smblks:    the number of fastbin blocks (i.e., small chunks that
-              have been freed but not use resused or consolidated)
+              have been freed but not reused or consolidated)
   hblks:     current number of mmapped regions
   hblkhd:    total bytes held in mmapped regions
   usmblks:   always 0
@@ -1017,7 +1017,7 @@ libc_hidden_proto (__libc_mallopt)
 
   In 2001, the kernel had a maximum size for brk() which was about 800
   megabytes on 32 bit x86, at that point brk() would hit the first
-  mmaped shared libaries and couldn't expand anymore. With current 2.6
+  mmaped shared libraries and couldn't expand anymore. With current 2.6
   kernels, the VA space layout is different and brk() and mmap
   both can span the entire heap at will.
 
@@ -1486,7 +1486,7 @@ tag_new_usable (void *ptr)
     and consolidated sets of chunks, which is what these bins hold, so
     they can be found quickly.  All procedures maintain the invariant
     that no consolidated chunk physically borders another one, so each
-    chunk in a list is known to be preceeded and followed by either
+    chunk in a list is known to be preceded and followed by either
     inuse chunks or the ends of memory.
 
     Chunks in bins are kept in size order, with ties going to the
@@ -2475,7 +2475,7 @@ sysmalloc_mmap (INTERNAL_SIZE_T nb, size_t pagesize, int extra_flags, mstate av)
 /*
    Allocate memory using mmap() based on S and NB requested size, aligning to
    PAGESIZE if required.  The EXTRA_FLAGS is used on mmap() call.  If the call
-   succeedes S is updated with the allocated size.  This is used as a fallback
+   succeeds S is updated with the allocated size.  This is used as a fallback
    if MORECORE fails.
  */
 static void *
@@ -2557,7 +2557,7 @@ sysmalloc (INTERNAL_SIZE_T nb, mstate av)
       char *mm;
       if (mp_.hp_pagesize > 0 && nb >= mp_.hp_pagesize)
        {
-         /* There is no need to isse the THP madvise call if Huge Pages are
+         /* There is no need to issue the THP madvise call if Huge Pages are
             used directly.  */
          mm = sysmalloc_mmap (nb, mp_.hp_pagesize, mp_.hp_flags, av);
          if (mm != MAP_FAILED)
@@ -3439,7 +3439,7 @@ __libc_realloc (void *oldmem, size_t bytes)
     }
 
   /* Little security check which won't hurt performance: the allocator
-     never wrapps around at the end of the address space.  Therefore
+     never wraps around at the end of the address space.  Therefore
      we can exclude some size values which might appear here by
      accident or by "design" from some intruder.  */
   if ((__builtin_expect ((uintptr_t) oldp > (uintptr_t) -oldsize, 0)
@@ -4486,7 +4486,7 @@ _int_free (mstate av, mchunkptr p, int have_lock)
   size = chunksize (p);
 
   /* Little security check which won't hurt performance: the
-     allocator never wrapps around at the end of the address space.
+     allocator never wraps around at the end of the address space.
      Therefore we can exclude some size values which might appear
      here by accident or by "design" from some intruder.  */
   if (__builtin_expect ((uintptr_t) p > (uintptr_t) -size, 0)
index 6ef0f180e99d4316e0626f2f86d73aabd9062e25..8a2979ad0756fade22e324e46ceaf1a3ba23bba1 100644 (file)
@@ -147,7 +147,7 @@ do_test (void)
 {
   atexit (kill_children);
 
-  /* shared->barrier is intialized along with sigusr1_sender_pids
+  /* shared->barrier is initialized along with sigusr1_sender_pids
      below.  */
   shared = support_shared_allocate (sizeof (*shared));
 
@@ -175,7 +175,7 @@ do_test (void)
     signal_sender (SIGUSR2, true);
 
   /* Send SIGUSR1 signals from several processes.  Hopefully, one
-     signal will hit one of the ciritical functions.  Use a barrier to
+     signal will hit one of the critical functions.  Use a barrier to
      avoid sending signals while not running fork/free/malloc.  */
   {
     pthread_barrierattr_t attr;
index 254f71d2a10fad13184c35383ddb5cdbeeef1f92..80fc2dd06c12ef11aaf45fc5af60c8ac2e76e476 100644 (file)
@@ -142,7 +142,7 @@ do_test (void)
   sigusr2_sender = xpthread_create (NULL, signal_sender, &sigusr2_args);
 
   /* Send SIGUSR1 signals from several threads.  Hopefully, one
-     signal will hit one of the ciritical functions.  Use a barrier to
+     signal will hit one of the critical functions.  Use a barrier to
      avoid sending signals while not running fork/free/malloc.  */
   struct signal_send_args sigusr1_args = { self, SIGUSR1, false };
   xpthread_barrier_init (&barrier, NULL,
index 704ec88a6ece6590a47d8e9fc4346a260f139fbd..340a394d1a932587ad8ede09ec37db4b90a43e03 100644 (file)
@@ -45,7 +45,7 @@ enum allocation_action
     action_free,                /* Dumped and freed.  */
     action_realloc,             /* Dumped and realloc'ed.  */
     action_realloc_same,        /* Dumped and realloc'ed, same size.  */
-    action_realloc_smaller,     /* Dumped and realloc'ed, shrinked.  */
+    action_realloc_smaller,     /* Dumped and realloc'ed, shrunk.  */
     action_count
   };
 
index f27ffddee1cfb4ceb29e88ef835fdea6ed86ec6f..a0388c907eb420ef66bd8e459f819d7b9ae06c5f 100644 (file)
@@ -271,7 +271,7 @@ __MATHCALL (nextdown,, (_Mdouble_ __x));
 __MATHCALL (nextup,, (_Mdouble_ __x));
 # endif
 
-/* Return the remainder of integer divison X / Y with infinite precision.  */
+/* Return the remainder of integer division X / Y with infinite precision.  */
 __MATHCALL (remainder,, (_Mdouble_ __x, _Mdouble_ __y));
 
 # ifdef __USE_ISOC99
index 6bb6e2d2ac4b290bd75f09cb5c46bda4f165fc29..22792443722ded9633380d8f328028718fd3c3d1 100644 (file)
@@ -25,7 +25,7 @@
 #define __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION
 #include <bits/libc-header-start.h>
 
-/* Get the architecture dependend definitions.  The following definitions
+/* Get the architecture dependent definitions.  The following definitions
    are expected to be done:
 
    fenv_t      type for object representing an entire floating-point
index a827e95361ea1370135773f9dce3701c62717530..8fe3082929a07ccb66a35984a635a3f14598b326 100644 (file)
@@ -83,7 +83,7 @@
    functions.
 
    Inline functions: Inlining functions should give an improvement in
-   speed - but not in precission.  The inlined functions return
+   speed - but not in precision.  The inlined functions return
    reasonable values for a reasonable range of input values.  The
    result is not necessarily correct for all values and exceptions are
    not correctly raised in all cases.  Problematic input and return
index 6dc0604132bfdcf04ac27a3b5325888973b8fec7..6427c72276a4670b9c1c1a3262b2dd9a280e44ad 100644 (file)
@@ -1301,7 +1301,7 @@ iszero (__T __val)
    these operations.  Generic support in GCC for these as builtins went
    in 2.97, but not all cpus added their patterns until 3.1.  Therefore
    we enable the builtins from 3.1 onwards and use a generic implementation
-   othwerwise.  */
+   otherwise.  */
 #  define isgreater(x, y)      __builtin_isgreater(x, y)
 #  define isgreaterequal(x, y) __builtin_isgreaterequal(x, y)
 #  define isless(x, y)         __builtin_isless(x, y)
index 5b5f461dcdc71f6032c92d0e1afc0fd518f6f097..0af7141ba7b27834cdb56ae950b5ccf1fda3a405 100644 (file)
@@ -761,7 +761,7 @@ initial_tests (void)
   test_exceptions ("Initially all exceptions should be cleared",
                    NO_EXC, 0);
 #ifdef FE_TONEAREST
-  test_rounding ("Rounding direction should be initalized to nearest",
+  test_rounding ("Rounding direction should be initialized to nearest",
                  FE_TONEAREST);
 #endif
 }
index 0bcfb7ca856218cc121df21394b146cb6be1f9de..ca90c5b4da50a7e6ca700a1d0419d3e28b17a595 100644 (file)
 #define nexttoward(Val1, Val2) \
      __TGMATH_BINARY_FIRST_REAL_STD_ONLY (Val1, Val2, nexttoward)
 
-/* Return the remainder of integer divison X / Y with infinite precision.  */
+/* Return the remainder of integer division X / Y with infinite precision.  */
 #define remainder(Val1, Val2) __TGMATH_BINARY_REAL_ONLY (Val1, Val2, remainder)
 
 /* Return X times (2 to the Nth power).  */
index 05085d3eb5a3681b1072e5b1b7841259d0a69694..35b4328ae78d2dd1e1d84f2fc7e2450f3197f6a9 100644 (file)
@@ -160,7 +160,7 @@ __hsearch_r (ENTRY item, ACTION action, ENTRY **retval,
   if (hval == 0)
     ++hval;
 
-  /* First hash function: simply take the modul but prevent zero. */
+  /* First hash function: simply take the modulo but prevent zero. */
   idx = hval % htab->size + 1;
 
   if (htab->table[idx].used)
index 3d838d97ccf1b6c0a3b58281be772336065ec96e..4570b135247f85d237962c74c82804c7aa86a6cd 100644 (file)
@@ -19,7 +19,7 @@
 #include <errno.h>
 #include <sys/uio.h>
 
-/* Same as preadv64 but with an addional flag argument.  */
+/* Same as preadv64 but with an additional flag argument.  */
 ssize_t
 preadv64v2 (int fd, const struct iovec *vector, int count, off64_t offset,
            int flags)
index 7f7c70816eb5fce529a32e4959fbcf46b831bfc4..0be19d7b4db0011b368327f430b4e17816ee1209 100644 (file)
@@ -19,7 +19,7 @@
 #include <errno.h>
 #include <sys/uio.h>
 
-/* Same as preadv64 but with an addional flag argument.  */
+/* Same as preadv64 but with an additional flag argument.  */
 ssize_t
 pwritev64v2 (int fd, const struct iovec *vector, int count, off64_t offset,
             int flags)
index 0ca868e12a035bed4c02aa50677fa3888f0f6092..30191d40ccbd2fa7c562f09bdb67a38aa76ebaee 100644 (file)
@@ -78,7 +78,7 @@ struct _ENTRY;
 
 /* Family of hash table handling functions.  The functions also
    have reentrant counterparts ending with _r.  The non-reentrant
-   functions all work on a signle internal hashing table.  */
+   functions all work on a single internal hashing table.  */
 
 /* Search for entry matching ITEM.key in internal hash table.  If
    ACTION is `FIND' return found entry or signal error by returning
index 87e3ebe4faaa18671dd74824486fdcae92c6009c..cc1a226237b84fd8ec323f4ef66ae0f66e97f656 100644 (file)
@@ -208,13 +208,13 @@ special (void)
   res = ECVT_R (123.456, 10, &decpt, &sign, buf, 1);
   if (res == 0)
     {
-      printf (NAME (ECVT_R) " with a too small buffer was succesful.\n");
+      printf (NAME (ECVT_R) " with a too small buffer was successful.\n");
       support_record_failure ();
     }
   res = FCVT_R (123.456, 10, &decpt, &sign, buf, 1);
   if (res == 0)
     {
-      printf (NAME (FCVT_R) " with a too small buffer was succesful.\n");
+      printf (NAME (FCVT_R) " with a too small buffer was successful.\n");
       support_record_failure ();
     }
 }
index 5cde4ced47cfae2035baba56ce796843f6307ee6..ef7fe03a6d8f5a1b70edcae28e0496943b47d068 100644 (file)
@@ -34,7 +34,7 @@ do_test (void)
 
   /* The corruption happens here ...  */
   getmntent (fp);
-  /* ... but trigers here.  */
+  /* ... but triggers here.  */
   endmntent (fp);
 
   /* If the test failed, we would crash, and not hit this point.  */
index 70b8fe4f76288c16a3138b4ee97e51b45485067a..357ee790b034f9a7d93bb1ba61e845d5e4d03461 100644 (file)
--- a/nptl/TODO
+++ b/nptl/TODO
@@ -26,6 +26,6 @@ syscall needed.
     post if they get canceled.
 
   - possibly add counter field.  This requires reviving the
-    differences between old and new semaphose funtions.  The old ones
-    stay as they are now.  The new once can use an additional field
-    wich is the counter for the number of waiters
+    differences between old and new semaphore functions.  The old ones
+    stay as they are now.  The new ones can use an additional field
+    which is the counter for the number of waiters
index f8b5ac7c2205c2479e03c4e65dff9837e00066a0..746a4b9e4ae5de99d4200208ba5961b849a66ce5 100644 (file)
@@ -119,7 +119,7 @@ struct robust_list_head
 };
 
 
-/* Data strcture used to handle thread priority protection.  */
+/* Data structure used to handle thread priority protection.  */
 struct priority_protection_data
 {
   int priomax;
index 98150606469493280f279eea961acc54ca675eab..5a64d14338b3973442c5175c66732bef040623b6 100644 (file)
@@ -59,7 +59,7 @@ __futex_abstimed_wait_common64 (unsigned int* futex_word,
                                    FUTEX_BITSET_MATCH_ANY);
   else
     return INTERNAL_SYSCALL_CALL (futex_time64, futex_word, op, expected,
-                                 abstime, NULL /* Ununsed.  */,
+                                 abstime, NULL /* Unused.  */,
                                  FUTEX_BITSET_MATCH_ANY);
 }
 
index 1f50c1035d1a69e3e1a2fa0adac963e7ce299a3e..1f29a678b7d760fe782024df7378c10197ba3cf7 100644 (file)
@@ -50,7 +50,7 @@
 static const struct argp_option options[] =
   {
     { NULL, 0, NULL, 0, "\
-This is a test for threads so we allow ther user to selection the number of \
+This is a test for threads so we allow the user to select the number of \
 threads which are used at any one time.  Independently the total number of \
 rounds can be selected.  This is the total number of threads which will have \
 run when the process terminates:" },
@@ -387,7 +387,7 @@ main (int argc, char *argv[])
   tmain = pthread_self ();
 
   /* We use signal SIGUSR1 for communication between the threads and
-     the main thread.  We only want sychronous notification.  */
+     the main thread.  We only want synchronous notification.  */
   if (sync_method == sync_signal)
     {
       sigemptyset (&ss);
index 3ca9ab92b9770ea4befa8d7e4ee5bfd695a56140..7440bb18e6bb5a6ae008de79f3a4bcc97f7fbc79 100644 (file)
@@ -230,7 +230,7 @@ __condvar_quiesce_and_switch_g1 (pthread_cond_t *cond, uint64_t wseq,
 
   /* First, set the closed flag on __g_signals.  This tells waiters that are
      about to wait that they shouldn't do that anymore.  This basically
-     serves as an advance notificaton of the upcoming change to __g1_start;
+     serves as an advance notification of the upcoming change to __g1_start;
      waiters interpret it as if __g1_start was larger than their waiter
      sequence position.  This allows us to change __g1_start after waiting
      for all existing waiters with group references to leave, which in turn
index 15bbd8b7e8a255fe1370276485f392b47dfe19b1..806c432d13497c912fbacec0b2591fe92be42f07 100644 (file)
@@ -583,7 +583,7 @@ __pthread_cond_wait_common (pthread_cond_t *cond, pthread_mutex_t *mutex,
                     the futex.  We also need to do that if we skipped adding
                     a signal because the group is being closed because
                     while __condvar_quiesce_and_switch_g1 could have closed
-                    the group, it might stil be waiting for futex waiters to
+                    the group, it might still be waiting for futex waiters to
                     leave (and one of those waiters might be the one we stole
                     the signal from, which cause it to block using the
                     futex).  */
@@ -603,7 +603,7 @@ __pthread_cond_wait_common (pthread_cond_t *cond, pthread_mutex_t *mutex,
   __condvar_confirm_wakeup (cond, private);
 
   /* Woken up; now re-acquire the mutex.  If this doesn't fail, return RESULT,
-     which is set to ETIMEDOUT if a timeout occured, or zero otherwise.  */
+     which is set to ETIMEDOUT if a timeout occurred, or zero otherwise.  */
   err = __pthread_mutex_cond_lock (mutex);
   /* XXX Abort on errors that are disallowed by POSIX?  */
   return (err != 0) ? err : result;
index a3619da1e216190bb4679936e105d418f683222a..1ac8862ed2c0ecd62394984cde7e1fbc5865a4c1 100644 (file)
@@ -218,7 +218,7 @@ late_init (void)
    __pthread_current_priority reuse the same lock, PD->lock, for a
    similar purpose e.g. synchronizing the setting of similar thread
    attributes.  These functions are never called before the thread is
-   created, so don't participate in startup syncronization, but given
+   created, so don't participate in startup synchronization, but given
    that the lock is present already and in the unlocked state, reusing
    it saves space.
 
index de7edfa0928224eb8375e2fe894d6677570fbb3b..65647bda5740e7a21244a9f283cc301d1786cedc 100644 (file)
@@ -43,7 +43,7 @@ __pthread_getattr_np (pthread_t thread_id, pthread_attr_t *attr)
   lll_lock (thread->lock, LLL_PRIVATE);
 
   /* The thread library is responsible for keeping the values in the
-     thread desriptor up-to-date in case the user changes them.  */
+     thread descriptor up-to-date in case the user changes them.  */
   memcpy (&iattr->schedparam, &thread->schedparam,
          sizeof (struct sched_param));
   iattr->schedpolicy = thread->schedpolicy;
index d4f96c70ef87a08eb9cc7f02dc3f2e3f61409dc8..643841472f04947e39f7ca43d67eea3118fc7b9f 100644 (file)
@@ -234,7 +234,7 @@ __pthread_mutex_lock_full (pthread_mutex_t *mutex)
              /* The previous owner died.  Try locking the mutex.  */
              int newval = id;
 #ifdef NO_INCR
-             /* We are not taking assume_other_futex_waiters into accoount
+             /* We are not taking assume_other_futex_waiters into account
                 here simply because we'll set FUTEX_WAITERS anyway.  */
              newval |= FUTEX_WAITERS;
 #else
@@ -438,7 +438,7 @@ __pthread_mutex_lock_full (pthread_mutex_t *mutex)
            int private = (robust
                           ? PTHREAD_ROBUST_MUTEX_PSHARED (mutex)
                           : PTHREAD_MUTEX_PSHARED (mutex));
-           int e = __futex_lock_pi64 (&mutex->__data.__lock, 0 /* ununsed  */,
+           int e = __futex_lock_pi64 (&mutex->__data.__lock, 0 /* unused  */,
                                       NULL, private);
            if (e == ESRCH || e == EDEADLK)
              {
index 647132c1eac95dc3c178e2fdf7fa30b68e8b45d4..30200c941f96493cf406e17fa27b97e5e6408937 100644 (file)
@@ -325,7 +325,7 @@ __sem_wait_32_finish (struct new_sem *sem)
   unsigned int wguess = atomic_load_relaxed (&sem->nwaiters);
   if (wguess == 1)
     /* We might be the last waiter, so unset.  This needs acquire MO so that
-       it syncronizes with the release MO when setting the bit above; if we
+       it synchronizes with the release MO when setting the bit above; if we
        overwrite someone else that set the bit, we'll read in the following
        decrement of nwaiters at least from that release sequence, so we'll
        see if the other waiter is still active or if another writer entered
index 19ba8f5640ecc0a6ca054042a63b26fbf1a529e6..bdf252b35347dc12043bba262406eba9852be4ac 100644 (file)
@@ -53,7 +53,7 @@ do_test (void)
     }
   if (pthread_join (tid3, NULL) != 0)
     {
-      puts ("2rd join failed");
+      puts ("2nd join failed");
       exit (1);
     }
 
index 0904d4b658c7b4456cdca12afff6c81467b15fa6..0ea18fc428765185e283118afd5e95c13a98e7c2 100644 (file)
@@ -26,7 +26,7 @@
 #include <atomic.h>
 #include <support/xthread.h>
 
-/* We realy want to set threads to 2 to reproduce this issue. The goal
+/* We really want to set threads to 2 to reproduce this issue. The goal
    is to have one primary writer and a single reader, and to hit the
    bug that happens in the interleaving of those two phase transitions.
    However, on most hardware, adding a second writer seems to help the
index 565eea4ebd0144dcde09e091ffe4f362a3062d67..a27cfacb9c36400c7f6d1b466a1e77b0a06bccbb 100644 (file)
@@ -1,4 +1,4 @@
-/* Test DTV size oveflow when pthread_create reuses old DTV and TLS is
+/* Test DTV size overflow when pthread_create reuses old DTV and TLS is
    used by dlopened shared object.
    Copyright (C) 2014-2023 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
@@ -23,7 +23,7 @@
 #include <assert.h>
 #include <pthread.h>
 
-/* The choices of thread count, and file counts are arbitary.
+/* The choices of thread count, and file counts are arbitrary.
    The point is simply to run enough threads that an exiting
    thread has it's stack reused by another thread at the same
    time as new libraries have been loaded.  */
index 33d94c8cc5851dd4396218273dd29b674b14b49d..748037131ecd6ee6ac6e8bd55c3adf192d33efcd 100644 (file)
@@ -30,7 +30,7 @@
 
 #define THE_SIG SIGUSR1
 
-/* The stack size can be overriden.  With a sufficiently large stack
+/* The stack size can be overridden.  With a sufficiently large stack
    size, thread stacks for terminated threads are freed, but this does
    not happen with the default size of 1 MiB.  */
 enum { default_stack_size_in_mb = 1 };
index c755c0ceb4dacdea2f58b7f3520f730681e0b552..0b3b01fe471eadca6facb5a7fa101952f2303ff6 100644 (file)
@@ -36,7 +36,7 @@ destr1 (void *arg)
     {
       puts ("set key2");
 
-      /* Use an arbirary but valid pointer to avoid GCC warnings.  */
+      /* Use an arbitrary but valid pointer to avoid GCC warnings.  */
       if (pthread_setspecific (key2, (void *) &left) != 0)
        {
          puts ("destr1: setspecific failed");
@@ -53,7 +53,7 @@ destr2 (void *arg)
     {
       puts ("set key1");
 
-      /* Use an arbirary but valid pointer to avoid GCC warnings.  */
+      /* Use an arbitrary but valid pointer to avoid GCC warnings.  */
       if (pthread_setspecific (key1, (void *) &left) != 0)
        {
          puts ("destr2: setspecific failed");
@@ -69,7 +69,7 @@ tf (void *arg)
   /* Let the destructors work.  */
   left = 7;
 
-  /* Use an arbirary but valid pointer to avoid GCC warnings.  */
+  /* Use an arbitrary but valid pointer to avoid GCC warnings.  */
   if (pthread_setspecific (key1, (void *) &left) != 0
       || pthread_setspecific (key2, (void *) &left) != 0)
     {
index f832f4bc17501ad949a03ebcd209ff98bcfd1e22..2ae577a64239a5d27eebb70ce616acd8705b40ff 100644 (file)
@@ -33,7 +33,7 @@ destr (void *arg)
 {
   ++rounds;
 
-  /* Use an arbirary but valid pointer to avoid GCC warnings.  */
+  /* Use an arbitrary but valid pointer to avoid GCC warnings.  */
   if (pthread_setspecific (key, (void *) &rounds) != 0)
     {
       puts ("destr: setspecific failed");
@@ -45,7 +45,7 @@ destr (void *arg)
 static void *
 tf (void *arg)
 {
-  /* Use an arbirary but valid pointer to avoid GCC warnings.  */
+  /* Use an arbitrary but valid pointer to avoid GCC warnings.  */
   if (pthread_setspecific (key, (void *) &rounds) != 0)
     {
       puts ("tf: setspecific failed");
index 1021039b4fd38c2d6ab4abd2b50d33cbd3f6efe9..786abe31154a9d7fa61756c85ad52f19e0f0e2d4 100644 (file)
@@ -85,7 +85,7 @@ td_thr_get_info (const td_thrhandle_t *th, td_thrinfo_t *infop)
   if (err != TD_OK)
     return err;
 
-  /* Fill in information.  Clear first to provide reproducable
+  /* Fill in information.  Clear first to provide reproducible
      results for the fields we do not fill in.  */
   memset (infop, '\0', sizeof (td_thrinfo_t));
 
index b52c254300db2ad6c49e4ae71d7b05feab3a5e35..bf9ea27544d0fbd94c8abc1d6bc5821b9286c6a8 100644 (file)
@@ -32,7 +32,7 @@
 #include <gnu/lib-names.h>
 #include <libc-diag.h>
 
-/* Indeces for the symbol names.  */
+/* Indices for the symbol names.  */
 enum
   {
 # define DB_STRUCT(type)               SYM_SIZEOF_##type,
index b1231a96dbe4d39433d9233b296413da07ce8ebb..a405a44a9bd766af71a41301e23d213dc6b8cb88 100644 (file)
@@ -1454,7 +1454,7 @@ cannot change to old working directory: %s; disabling paranoia mode"),
   paranoia = 0;
   free (cmdline);
 
-  /* Reenable the databases.  */
+  /* Re-enable the databases.  */
   time_t now = time (NULL);
   for (int cnt = 0; cnt < lastdb; ++cnt)
     if (dbs[cnt].enabled)
@@ -1532,11 +1532,11 @@ nscd_run_prune (void *p)
       if (e == ETIMEDOUT || now >= dbs[my_number].wakeup_time
          || dbs[my_number].clear_cache)
        {
-         /* We will determine the new timout values based on the
+         /* We will determine the new timeout values based on the
             cache content.  Should there be concurrent additions to
             the cache which are not accounted for in the cache
             pruning we want to know about it.  Therefore set the
-            timeout to the maximum.  It will be descreased when adding
+            timeout to the maximum.  It will be decreased when adding
             new entries to the cache, if necessary.  */
          dbs[my_number].wakeup_time = MAX_TIMEOUT_VALUE;
 
index b8060da64f62556efd405ccb0741f8200b366dd7..be44951bd6f350a7abdc7bfc2353ade2dd14017b 100644 (file)
@@ -93,7 +93,7 @@ addinitgroupsX (struct database_dyn *db, int fd, request_header *req,
 
   long int size;
   if (limit > 0)
-    /* We limit the size of the intially allocated array.  */
+    /* We limit the size of the initially allocated array.  */
     size = MIN (limit, 64);
   else
     /* No fixed limit on groups.  Pick a starting buffer size.  */
index 7275ccb66548c77ff4acc76c95d644760c580387..5588ade982659791f3fe2b723e47e547098c965f 100644 (file)
@@ -389,7 +389,7 @@ extern int __nscd_open_socket (const char *key, size_t keylen,
                               request_type type, void *response,
                               size_t responselen) attribute_hidden;
 
-/* Try to get a file descriptor for the shared meory segment
+/* Try to get a file descriptor for the shared memory segment
    containing the database.  */
 extern struct mapped_database *__nscd_get_mapping (request_type type,
                                                   const char *key,
index 424106421fe5902fc1d9d139ce1c9b676fb528e5..eb79136b0fe3b33bd5d25ffb393270d8028afd92 100644 (file)
@@ -600,7 +600,7 @@ check_pid (const char *file)
 
       /* If we cannot parse the file default to assuming nscd runs.
         If the PID is alive, assume it is running.  That all unless
-        the PID is the same as the current process' since tha latter
+        the PID is the same as the current process' since the latter
         can mean we re-exec.  */
       if ((n != 1 || kill (pid, 0) == 0) && pid != getpid ())
        return 1;
index 6a498b363c1b74bc933d6428e41fdc13bdd05b3a..aa41dc158dcf08d5ba95d42fbf869446ca27507b 100644 (file)
@@ -251,7 +251,7 @@ __nscd_unmap (struct mapped_database *mapped)
 }
 
 
-/* Try to get a file descriptor for the shared meory segment
+/* Try to get a file descriptor for the shared memory segment
    containing the database.  */
 struct mapped_database *
 __nscd_get_mapping (request_type type, const char *key,
@@ -443,7 +443,7 @@ __nscd_get_map_ref (request_type type, const char *name,
 #define MINIMUM_HASHENTRY_SIZE \
   (offsetof (struct hashentry, dellist) + sizeof (int32_t))
 
-/* Don't return const struct datahead *, as eventhough the record
+/* Don't return const struct datahead *, as even though the record
    is normally constant, it can change arbitrarily during nscd
    garbage collection.  */
 struct datahead *
index ca363e66fe125e6502b99cdeba2125b264484c71..5d6eff7a59cd890017fd341e62c6ec7d77966ff0 100644 (file)
@@ -1,4 +1,4 @@
-/* Setup of nscd worker threads.  Stub verison.
+/* Setup of nscd worker threads.  Stub version.
    Copyright (C) 2004-2023 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
index 1db4bee2ff301a1414a0eb328dbb205c06557ee1..a1c2053234b50e9be4d9cabf4170c80b8dbd581a 100644 (file)
@@ -275,7 +275,7 @@ receive_print_stats (void)
       if (enabled[0] == '\0')
        /* The locale does not provide this information so we have to
           translate it ourself.  Since we should avoid short translation
-          terms we artifically increase the length.  */
+          terms we artificially increase the length.  */
        enabled = data.dbs[i].enabled ? yesstr : nostr;
       if (check_file[0] == '\0')
        check_file = data.dbs[i].check_file ? yesstr : nostr;
index 5d8a768a6e7350db787c6b5be16e0ed64733f9c3..92d099eb239126d19903b8086d357d4f8a887249 100644 (file)
@@ -213,7 +213,7 @@ getgrent_next_nss (struct group *result, ent_t *ent, char *buffer,
   return NSS_STATUS_SUCCESS;
 }
 
-/* This function handle the +group entrys in /etc/group */
+/* This function handle the +group entries in /etc/group */
 static enum nss_status
 getgrnam_plusgroup (const char *name, struct group *result, ent_t *ent,
                    char *buffer, size_t buflen, int *errnop)
index 5e07274db55fb39a0ccd504fbf38eaee965f16f4..f9ad94006d8ef84ee1e6bbd10b69dbff25ff70fa 100644 (file)
@@ -437,7 +437,7 @@ getpwent_next_nss (struct passwd *result, ent_t *ent, char *buffer,
   return NSS_STATUS_SUCCESS;
 }
 
-/* This function handle the +user entrys in /etc/passwd */
+/* This function handle the +user entries in /etc/passwd */
 static enum nss_status
 getpwnam_plususer (const char *name, struct passwd *result, ent_t *ent,
                   char *buffer, size_t buflen, int *errnop)
index 44220ad577125e25ecdf8de71133830894e40356..c3ce41b18681042ea1e66145f96edac635d90292 100644 (file)
@@ -387,7 +387,7 @@ getspent_next_nss (struct spwd *result, ent_t *ent,
 }
 
 
-/* This function handle the +user entrys in /etc/shadow */
+/* This function handle the +user entries in /etc/shadow */
 static enum nss_status
 getspnam_plususer (const char *name, struct spwd *result, ent_t *ent,
                   char *buffer, size_t buflen, int *errnop)
index 2edcab4b9d79f3801ec04280db59f656b14ec53c..128b73afeb7002d53c4937130b1317174905faf7 100644 (file)
@@ -331,7 +331,7 @@ nss_database_reload (struct nss_database_data *staging,
   if (fp != NULL)
     ok = nss_database_reload_1 (staging, fp);
 
-  /* Now we have non-NULL entries where the user explictly listed the
+  /* Now we have non-NULL entries where the user explicitly listed the
      service in nsswitch.conf.  */
 
   /* Apply defaults.  */
index 136706001d7ff6e42186288e0793fda76544e684..a5279dc08d5456a7590384df2bc9a3a4ae8e0b8b 100644 (file)
@@ -27,7 +27,7 @@
 
 #include "nss_db.h"
 
-/* Open the database stored in FILE.  If succesful, store either a
+/* Open the database stored in FILE.  If successful, store either a
    pointer to the mapped file or a file handle for the file in H and
    return NSS_STATUS_SUCCESS.  On failure, return the appropriate
    lookup status.  */
index 6e77b4c419cc4d91d4d70148ef526b71d6e38c10..a408b89ef1f2d8648a16991dc28c5cb7f8c60b81 100644 (file)
@@ -57,7 +57,7 @@ struct nss_db_map
 };
 
 
-/* Open the database stored in FILE.  If succesful, store the database
+/* Open the database stored in FILE.  If successful, store the database
    handle in *MAPPINGP or a file descriptor for the file in *FDP and
    return NSS_STATUS_SUCCESS.  On failure, return the appropriate
    lookup status.  */
index 4b1ab0537ffaf265d61a5dcbd0b9cdb7d584e884..c010d21fde74b6ed13fc237e9b50da75f38f2240 100644 (file)
@@ -42,7 +42,7 @@ LINE_PARSER
 
    STRING_FIELD (addr, isspace, 1);
    /* 'inet_network' does not add zeroes at the end if the network number
-      does not four byte values.  We add them outselves if necessary.  */
+      does not four byte values.  We add them ourselves if necessary.  */
    cp = strchr (addr, '.');
    if (cp != NULL)
      {
index 1d257af4fbec713fd287dde91370c0cca814092d..8f9917168dad5ef4589862eb8291bd1e49ec4761 100644 (file)
@@ -29,7 +29,7 @@ __nss_parse_line_result (FILE *fp, off64_t offset, int parse_line_result)
   switch (__builtin_expect (parse_line_result, 1))
     {
     case 1:
-      /* Sucess.  */
+      /* Success.  */
       return 0;
     case 0:
       /* Parse error.  */
index 40030d1dd7e9f7c5e09d3637988b3083bb264778..07c3476e9c37a061f4f2ed24c9a0cf0240611ecb 100644 (file)
@@ -50,7 +50,7 @@
 # shadow:    db files
 # group:     db files
 
-# In alphabetical order. Re-order as required to optimize peformance.
+# In alphabetical order. Re-order as required to optimize performance.
 aliases:    files
 ethers:     files
 group:      files
index e835ba6a539147982e7cda1ee7f28dbcf57ff8f3..d76eea4b4805a2985e78a6b664fb019d591aa36b 100644 (file)
@@ -157,7 +157,7 @@ test_hosts (void)
        }
       else if (strcmp (hptr1->h_name, hptr2->h_name) != 0)
        {
-         printf ("localhost and LocalHost have different canoncial name\n");
+         printf ("localhost and LocalHost have different canonical name\n");
          printf ("gethostbyname (\"localhost\")->%s\n", hptr1->h_name);
          printf ("gethostbyname (\"LocalHost\")->%s\n", hptr2->h_name);
          ++error_count;
index 98fd3b6abf3d4c5029fe91114b35488a9c228f37..756fa00486b615367ce3c5acc8beed6588f37388 100644 (file)
@@ -93,7 +93,7 @@ aa\) !
 . \0 0 1
 
 ;
-; now move on to the repetion ops,
+; now move on to the repetition ops,
 ; starting with operator *
 - match_default normal REG_EXTENDED
 a* b 0 0
@@ -275,7 +275,7 @@ a(b*)c\1d abbcbbbd -1 -1
 ^(.)\1 abc -1 -1
 a([bc])\1d abcdabbd    4 8 5 6
 ; strictly speaking this is at best ambiguous, at worst wrong, this is what most
-; re implimentations will match though.
+; re implementations will match though.
 a(([bc])\2)*d abbccd 0 6 3 5 3 4
 
 a(([bc])\2)*d abbcbd -1 -1
index 65e508491578cff6c02a83a1fda97c955cf549c2..601cef8d72d18fc8f6050ddda8471ac579d6e795 100644 (file)
@@ -3,7 +3,7 @@
 # other plain ASCII character had been used by a test.  Characters
 # outside the plain ASCII range have a risk of being mangled by modern
 # editors.  So, avoid using | in a test, or if needed, select a new
-# delimeter.
+# delimiter.
 # 2.8.2  Regular Expression General Requirement
 2|4|bb*|abbbc|
 2|2|bb*|ababbbc|
index 2bba5228f551b0e2324ea75403bac10f28944563..d1712656dd8bad3ba28aad7b706b2295cbf52d9c 100644 (file)
@@ -106,7 +106,7 @@ main (int argc, char *argv[])
   if ((glob_flags & GLOB_DOOFFS) && g.gl_pathv[0] == NULL)
     g.gl_pathv[0] = (char *) "abc";
 
-  /* Print out the names.  Unless otherwise specified, qoute them.  */
+  /* Print out the names.  Unless otherwise specified, quote them.  */
   if (g.gl_pathv)
     {
       for (i = 0; i < g.gl_offs + g.gl_pathc; ++i)
index 17643e7e4de3e05f3215f17deafe9ef6fa0752af..165bc07b2fbba2b05f43dffabba257bb40ed5545 100644 (file)
@@ -26,7 +26,7 @@ main (void)
       error (0, 0, "\"0*[0-9][0-9]\" does not match \"002\"");
       res = 1;
     }
-  puts ("Succesful match with \"0*[0-9][0-9]\"");
+  puts ("Successful match with \"0*[0-9][0-9]\"");
 
   regfree (&re);
 
@@ -43,7 +43,7 @@ main (void)
       error (0, 0, "\"[0a]*[0-9][0-9]\" does not match \"002\"");
       res = 1;
     }
-  puts ("Succesful match with \"[0a]*[0-9][0-9]\"");
+  puts ("Successful match with \"[0a]*[0-9][0-9]\"");
 
   regfree (&re);
 
index 02fe0061ff44aaa4da753c214a0d10851bada2aa..acb800b57a79fd3641087738e7a1522fcd597f59 100644 (file)
@@ -77,7 +77,7 @@ main (int argc, char *argv[])
          }
        else if (tests[cnt].start == -2)
          {
-           puts ("compiling suceeds, FAIL");
+           puts ("compiling succeeds, FAIL");
            errors++;
            continue;
          }
index d44bf362666856093b49cf9e3b34f357a1ddd2e3..b40b785572675dda46ba4a1a84894895019b8b92 100644 (file)
@@ -81,7 +81,7 @@ run_a_test (int id, const struct a_test * t)
       else if (t->expected == 2)
        {
          printf ("test %d\n", id);
-         printf ("pattern \"%s\" successfull compilation not expected\n",
+         printf ("pattern \"%s\" successful compilation not expected\n",
                  t->pattern);
          return 1;
        }
index 3ad46e2a61ec4f007a4539ac847b7ff2ae0adb16..810e4be79ceab155d2bbe5178faccd3dfe6e05e0 100644 (file)
@@ -183,7 +183,7 @@ a\(***\)b   bC      BADRPT
 # The following two tests are not correct:
 #{             &       {       {
 #{abc          &       {abc    {abc
-# '{' is always a special char outside bracket expressions.  So test ony BRE:
+# '{' is always a special char outside bracket expressions.  So test only BRE:
 {              b       {       {
 {abc           b       {abc    {abc
 {1             C       BADRPT
index 0a6a070523f565d71d2d2ee695776e8a3887a80f..04cc525fa58b24d14546ad30a48f3b26db775a84 100644 (file)
@@ -220,7 +220,7 @@ posix_spawn_file_actions_addclosefrom_np (posix_spawn_file_actions_t *,
                                          int __from)
      __THROW __nonnull ((1));
 
-/* Add an action to set the process group of the forground process group
+/* Add an action to set the process group of the foreground process group
    associated with the terminal TCFD.  */
 extern int
 posix_spawn_file_actions_addtcsetpgrp_np (posix_spawn_file_actions_t *,
index a8c0ba2e057701b1eb350fb9de01744af4d8efc5..2ba4dcdaa3e06607cd96e0041e6d1f77750cbe18 100644 (file)
@@ -131,7 +131,7 @@ do_test (int argc, char *argv[])
      - three parameters left if called through re-execution
        + file descriptor number which is supposed to be closed
        + the open file descriptor
-       + the name of the closed desriptor
+       + the name of the closed descriptor
   */
 
   if (restart)
index 59157ff217ee979c36922da0c01a002268fbe9fd..c1aba3886b546452f3fdaac9c14693ecf26f3562 100644 (file)
@@ -111,14 +111,14 @@ do_test (void)
   call_execveat (AT_FDCWD, "/bin/sh", 0, 0, __LINE__);
   fd = xopen ("/usr", O_PATH | O_DIRECTORY, 0);
   /* Same check for absolute pathname, but with input file descriptor
-     openend with different flags.  The dirfd should be ignored.  */
+     opened with different flags.  The dirfd should be ignored.  */
   call_execveat (fd, "/bin/sh", 0, 0, __LINE__);
   xclose (fd);
 #endif
 
   fd = xopen ("/usr", O_RDONLY, 0);
   /* Same check for absolute pathname, but with input file descriptor
-     openend with different flags.  The dirfd should be ignored.  */
+     opened with different flags.  The dirfd should be ignored.  */
   call_execveat (fd, "/bin/sh", 0, 0, __LINE__);
   xclose (fd);
 
index 79d83e0ec08cb38316df271843a2bd2cb6bbbc3d..937ad77da3d5642cbb0b3e93a4577107b85f10c4 100644 (file)
@@ -43,7 +43,7 @@ compat_symbol_reference (libc, glob, glob, GLIBC_2_0);
 #endif
 
 /* Compat glob should not call gl_lstat since for some old binaries it
-   might be unitialized (for instance GNUmake).  Check if it is indeed
+   might be uninitialized (for instance GNUmake).  Check if it is indeed
    not called.  */
 static bool stat_called;
 static bool lstat_called;
index 220baa3babba4ec93952208e3dc18115c67987ff..e7a33a36a81cc36c73f66251802a59f7094db7ab 100644 (file)
@@ -177,7 +177,7 @@ main (int argc, char **argv)
 
       if (!rm_valid)
        {
-         printf ("%zd: No preceeding pattern or search string\n", linenum);
+         printf ("%zd: No preceding pattern or search string\n", linenum);
          ret = 1;
          continue;
        }
index fb461d30d28c7d3eceb20f42a2443aaf2bee13be..2a4e4d6a7ff77b922b08076ec7eb1cc16e026bf4 100644 (file)
@@ -53,7 +53,7 @@ do_prepare (int argc, char **argv)
     FAIL_EXIT1 ("cannot open fifo: %m");
 }
 
-/* Effectivelly testing posix_fadvise is hard because side effects are not
+/* Effectively testing posix_fadvise is hard because side effects are not
    observed without checking either performance or any kernel specific
    supplied information.  Also, the syscall is meant to be an advisory,
    so the kernel is free to use this information in any way it deems fit,
index cd8f1c5bca5eb50e71a329a9c08b1f83cbb4070d..c601ae62d88587c4ada8f23dd303cd910b356ea3 100644 (file)
@@ -82,7 +82,7 @@ do_test (void)
 
   /* Arbitrary Unicode codepoint at which we stop generating
      characters.  We do not probe the whole range because that would
-     take too long due to combinatorical exploision as the result of
+     take too long due to combinatorial explosion as the result of
      combination with other flags.  */
   static const wchar_t last_character = 0xfff;
 
index a10785464c60f34e685ac3bc2d045d75f0ee999f..a6684a7744e8843424813e5d4c91e854596dd4d4 100644 (file)
@@ -127,7 +127,7 @@ do_test (void)
   result |= test_expr ("[äáàâéèêíìîñöóòôüúùû]", 4, 4);
   result |= test_expr ("G.ran", 2, 3);
   result |= test_expr ("G.\\{1\\}ran", 2, 3);
-  result |= test_expr ("G.*ran", 3, 44);
+  result |= test_expr ("G.*ran", 3, 43);
   result |= test_expr ("[äáàâ]", 0, 0);
   result |= test_expr ("Uddeborg", 2, 2);
   result |= test_expr (".Uddeborg", 2, 2);
@@ -511,7 +511,7 @@ run_test_backwards (const char *expr, const char *mem, size_t memlen,
   return cnt != expected;
 }
 
-/* If --timing is used we will need a larger timout.  */
+/* If --timing is used we will need a larger timeout.  */
 #define TIMEOUT 50
 #define CMDLINE_OPTIONS \
    {"timing", no_argument, &timing, 1 },
index c48660d23aceef9b722709e0ee46625a5938353c..1de30b3d522038d2d0184b1fdea28343db4c1af4 100644 (file)
 
 1998-08-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
 
-       * libio/iofopen64.c: Fix typo.  Avoid unnessary casts.
+       * libio/iofopen64.c: Fix typo.  Avoid unnecessary casts.
        * libio/iopopen.c: Unlink file before freeing it if command
-       creation failed.  Avoid unnessary casts.
+       creation failed.  Avoid unnecessary casts.
        * libio/iofdopen.c:  Avoid unnecessary cast.
        * pwd/fgetpwent_r.c [USE_IN_LIBIO]: Map funlockfile to
        _IO_funlockfile.
 
 1998-08-07  Cristian Gafton  <gafton@redhat.com>
 
-       * pwd/putpwent.c (putpwent): Avoid writting (none) in the passwd file.
+       * pwd/putpwent.c (putpwent): Avoid writing (none) in the passwd file.
        * shadow/putspent.c (putspent): Likewise.
        * grp/putgrent.c: New file.
        * grp/Makefile (routines): Add putgrent.
 1998-08-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
 
        * misc/mktemp.c: Add include <stlib.h> for prototype, remove
-       unneccessary includes.
+       unnecessary includes.
        * misc/mkstemp.c: Likewise.
 
 1998-08-03 16:36  Ulrich Drepper  <drepper@cygnus.com>
        as real name for system call and make setresuid a weak alias.  Set
        caller to seteuid.
        * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Implement using
-       `setresuid' syscall if availble.  Fixes problems with sendmail
+       `setresuid' syscall if available.  Fixes problems with sendmail
        which expects `seteuid' to not set the saved user ID.
 
 1998-07-30 20:09 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
        * sysdeps/mach/hurd/ftruncate.c: Really define function as
        __ftruncate.
        * sysdeps/mach/hurd/truncate.c: Include <unistd.h>.
-       (truncate): Fix function defenition to match prototype.
+       (truncate): Fix function definition to match prototype.
 
 1998-06-20  Mark Kettenis  <kettenis@phys.uva.nl>
 
 
 1998-05-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
 
-       * sysdeps/unix/bsd/vax/vfork.S: Missed double occurences of "the
+       * sysdeps/unix/bsd/vax/vfork.S: Missed double occurrences of "the
        the" in one line - fixed it.
        * sysdeps/unix/bsd/sun/m68k/vfork.S: Likewise.
        * sysdeps/unix/bsd/hp/m68k/vfork.S: Likewise.
 
 1998-05-19 12:16  Ulrich Drepper  <drepper@cygnus.com>
 
-       * manual/memory.texi: Add back accidently removed line.
+       * manual/memory.texi: Add back accidentally removed line.
 
 1998-04-25  Mark Kettenis  <kettenis@phys.uva.nl>
 
 
 1998-05-15  Ulrich Drepper  <drepper@cygnus.com>
 
-       * iconv/loop.c: Let user add code to use and set paramaters.
+       * iconv/loop.c: Let user add code to use and set parameters.
 
        * iconvdata/iso-2022-kr.c: Correct to-loop.
 
        $(objpfx)sysd-dirs): Move them...
        * Makeconfig: ... here.
        * Makerules (subdirs-stamps, subdirs-stamp-o): Always define.
-       (stubs): Fix circular depedency.
+       (stubs): Fix circular dependency.
        (do-makelib): Clean up.
        (lib): Don't depend on lib-noranlib.
        ($(objpfx)stamp.oS): Remove special case for empty
        * intl/localealias.c (read_alias_file): Use unsigned char for
        local variables.  Remove unused variable tp.
        * intl/l10nflist.c (_nl_normalize_codeset): Use unsigned char *
-       for type of codeset.  For loosing Solaris systems.
+       for type of codeset.  For losing Solaris systems.
        * intl/loadinfo.h: Adapt prototype of _nl_normalize_codeset.
        * intl/bindtextdom.c (BINDTEXTDOMAIN): Don't define local variable
        len if not needed.
 
 1998-04-22  Gordon Matzigkeit  <gord@profitpress.com>
 
-       * Makerules: Change occurances of `cd dir; cmd' to `cd dir && cmd'.
+       * Makerules: Change occurrences of `cd dir; cmd' to `cd dir && cmd'.
        * Makefile: Likewise.
        * posix/Makefile: Likewise.
        * sysdeps/mach/hurd/Makefile: Likewise.
        * iconv/gconv_builtin.h: Add UCS4 support.  Change references to
        UCS4 into references to INTERNAL.
        * iconv/gconv_simple.c: Implement UCS4<->INTERNAL converters.
-       Add endianess support to UCS functions.  Change references to
+       Add endianness support to UCS functions.  Change references to
        UCS4 into references to INTERNAL.
        * iconv/gconv_int.h: Change references to UCS4 into references to
        INTERNAL.
 
 1998-04-12  Ulrich Drepper  <drepper@cygnus.com>
 
-       * iconvdata/sjis.c (gconv): Remove superfluous varaible declarations.
+       * iconvdata/sjis.c (gconv): Remove superfluous variable declarations.
 
        * iconvdata/Makefile: Add rules for big5 conversion.
        * iconvdata/gconv-modules: Likewise.
 1998-04-07  Ulrich Drepper  <drepper@cygnus.com>
 
        * sysdeps/posix/mkstemp.c (mkstemp): Correct return value in case
-       template is wrong.  Remove unused varaible `ignored'.
+       template is wrong.  Remove unused variable `ignored'.
 
 1998-04-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
 
        * elf/ldd.bash.in: Collect output of ldd --verify in verify_out.
        * elf/ldd.sh.in: Likewise.
        * elf/ldsodefs.h: Declare _dl_correct_cache_id.
-       * elf/rtld.c (dl_main): In --verify mode allow platform specifc action.
+       * elf/rtld.c (dl_main): In --verify mode allow platform specific action.
        Use strsep correctly.
        (process_envvars): Allow platform specific variables.
        * sysdeps/generic/dl-cache.c (_dl_correct_cache_id): New variable.
 
        * sysdeps/unix/opendir.c (__opendir): Don't block on FIFOs etc.
        Optimize memory handling.
-       * sysdeps/unix/closedir.c: Optmize memory handling.
+       * sysdeps/unix/closedir.c: Optimize memory handling.
 
 1998-03-17  Ulrich Drepper  <drepper@cygnus.com>
 
        (_mcleanup): Don't call write_gmon if in error state.  Don't try
        to free array if not  successfully allocated.
 
-       * elf/dl-load.c (STRING): Define to __STRING to enble expansion.
+       * elf/dl-load.c (STRING): Define to __STRING to enable expansion.
        Include elf.h to get macro definitions.
        Use __ELF?NATIVE?CLASS in message, not __ELF_WORDSIZE.
 
        * login/Makefile ($(inst_libexecdir)/pt_chown): Make the target
        directory first and ignore install error.
 
-       * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Substract
+       * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Subtract
        128 from ptyno and fix a typo for the BSD style pty.
 
 1998-02-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
        [PR libc/441]
 
        * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use first
-       occurence in cache.  Reported by Rudolf Leitgeb
+       occurrence in cache.  Reported by Rudolf Leitgeb
        <leitgeb@leland.stanford.edu>.
        [PR libc/440]
 
        * string/strsignal.c: Add support for real-time signals.
 
        * sysdeps/generic/_strerror.c: Fix Handling of unknown error in
-       presense of small buffer.
+       presence of small buffer.
 
        * sysdeps/i386/bits/string.h: Define _HAVE_STRING_ARCH_* macros.
 
 1997-12-06 17:00  H.J. Lu  <hjl@gnu.org>
 
        * sysdeps/posix/sigblock.c (__sigblock): Don't check int mask
-       beyound its size.
+       beyond its size.
        * sysdeps/posix/sigsetmask.c (__sigsetmask): Ditto.
        * sysdeps/posix/sigvec.c (convert_mask, __sigvec): Ditto.
 
        declaration to __syscall_rt_sigaction.
 
        * sysdeps/unix/sysv/linux/sigreturn.c: Remove inclusion of
-       non-existant <sigcontext.h>.
+       non-existent <sigcontext.h>.
 
 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
 
 
        * Makeconfig: Add shared-thread-library variable.
 
-       * math/Makfile (CPPFLAGS): Add -D__LIBC_INTERNAL_MATH_INLINES.
+       * math/Makefile (CPPFLAGS): Add -D__LIBC_INTERNAL_MATH_INLINES.
        * sysdeps/i386/Makefile: Don't define ___LIBC_INTERNAL_MATH_INLINES
        here.
        * sysdeps/m68k/fpu/e_acos.c: Likewise.
        (CFLAGS-locfile.c): Likewise.
        Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
 
-       * misc/hsearch_r.c (hsearch_r): Avoid undefinitely search for
+       * misc/hsearch_r.c (hsearch_r): Avoid indefinitely search for
        non-existing entry if the table is full.
 
        * posix/regex.h: Pretty print.
index 1bd1afabcca9c4f9e32675fb5c0a3d64c4aacfc4..6b3d11cf8298f60c55a85e4126666179b00d1b80 100644 (file)
@@ -269,7 +269,7 @@ do_test (int argc, char *argv[])
        + argv[1]: the application name
        + argv[2]: the lowest file descriptor expected
        + argv[3]: first expected open file descriptor   optional
-       + argv[n]: last expected open file descritptor   optional
+       + argv[n]: last expected open file descriptor   optional
 
      * When built with --enable-hardcoded-path-in-tests or issued without
        using the loader directly.  */
index b34c4a939b3661ea3fc4280ae0a29256219021cc..994d79161fd39124bbd35bea94087b484aff93b0 100644 (file)
@@ -817,8 +817,8 @@ exec_comm_child (char *comm, int *fildes, bool showerr, bool noexec)
   __posix_spawn_file_actions_init (&fa);
 
   /* Redirect output.  For check syntax only (noexec being true), exec_comm
-     explicits sets fildes[1] to -1, so check its value to avoid a failure in
-     __posix_spawn_file_actions_adddup2.  */
+     explicitly sets fildes[1] to -1, so check its value to avoid a failure
+     in __posix_spawn_file_actions_adddup2.  */
   if (fildes[1] != -1)
     {
       if (__glibc_likely (fildes[1] != STDOUT_FILENO))
index f1c390f3b918b547913c95a5eee6ceda83553898..f9296612504d2b2596afba1eaa5329bc1fa8afb9 100644 (file)
@@ -44,7 +44,7 @@ typedef struct {
                        /* fields in third byte */
        unsigned        qr: 1;          /*%< response flag */
        unsigned        opcode: 4;      /*%< purpose of message */
-       unsigned        aa: 1;          /*%< authoritive answer */
+       unsigned        aa: 1;          /*%< authoritative answer */
        unsigned        tc: 1;          /*%< truncated message */
        unsigned        rd: 1;          /*%< recursion desired */
                        /* fields in fourth byte */
@@ -58,7 +58,7 @@ typedef struct {
                        /* fields in third byte */
        unsigned        rd :1;          /*%< recursion desired */
        unsigned        tc :1;          /*%< truncated message */
-       unsigned        aa :1;          /*%< authoritive answer */
+       unsigned        aa :1;          /*%< authoritative answer */
        unsigned        opcode :4;      /*%< purpose of message */
        unsigned        qr :1;          /*%< response flag */
                        /* fields in fourth byte */
index 2544a627f6eb0d2cf1b14a286fc6ce7eb3832fad..79e079c5c97cd18c3298e33474e076f03d563763 100644 (file)
@@ -11,7 +11,7 @@
 #define MAXRESOLVSORT          10      /* number of net to sort on */
 
 struct __res_state {
-       int     retrans;                /* retransmition time interval */
+       int     retrans;                /* retransmission time interval */
        int     retry;                  /* number of times to retransmit */
        unsigned long options;          /* option flags - see below. */
        int     nscount;                /* number of name servers */
index 9e3b1d29b7a3f2bad921c37675752a184d1b9a38..d02bd7ed23689f047bdad8f8cebcaf9976ca0a4d 100644 (file)
@@ -85,11 +85,11 @@ static int idle_thread_count;
 
 
 /* These are the values used for optimization.  We will probably
-   create a funcion to set these values.  */
+   create a function to set these values.  */
 static struct gaiinit optim =
 {
   20,  /* int gai_threads;     Maximal number of threads.  */
-  64,  /* int gai_num;         Number of expected simultanious requests. */
+  64,  /* int gai_num;         Number of expected simultaneous requests. */
   0,
   0,
   0,
index 439bed361da17ebe2b0114a542d0b9b1de909c88..1e245a509c2a546cc60fe7dc4aa75281027a5722 100644 (file)
@@ -58,7 +58,7 @@ struct requestlist
 struct gaiinit
   {
     int gai_threads;           /* Maximal number of threads.  */
-    int gai_num;               /* Number of expected simultanious requests. */
+    int gai_num;               /* Number of expected simultaneous requests. */
     int gai_locks;             /* Not used.  */
     int gai_usedba;            /* Not used.  */
     int gai_debug;             /* Not used.  */
index aab9b7b58228bb2db15cb41182666ec95122d581..63a47b739462f1fd18558dcdff7ef101d5165571 100644 (file)
@@ -157,7 +157,7 @@ inet_net_pton_ipv4 (const char *src, u_char *dst, size_t size)
                        goto emsgsize;
        }
 
-       /* Firey death and destruction unless we prefetched EOS. */
+       /* Fiery death and destruction unless we prefetched EOS. */
        if (ch != '\0')
                goto enoent;
 
index fae52145cc59d3418db63c7ab107fa7309ff1a5a..e84a83499c3e91a6690bc07e5bb46af0733bf6a5 100644 (file)
@@ -121,7 +121,7 @@ inet_pton4 (const char *src, const char *end, unsigned char *dst)
   return 1;
 }
 
-/* Return the value of CH as a hexademical digit, or -1 if it is a
+/* Return the value of CH as a hexadecimal digit, or -1 if it is a
    different type of character.  */
 static int
 hex_digit_value (char ch)
index 43f39edf61c838b91e90d939f0d197fe544bd1c5..cef2212fd24b772b7b480a9d77132bfa6464c106 100644 (file)
@@ -491,7 +491,7 @@ ns_sprintrrf(const u_char *msg, size_t msglen,
                len = SPRINTF((tmp, "%lu ", t));
                T(addstr(tmp, len, &buf, &buflen));
 
-               /* Experation. */
+               /* Expiration. */
                t = ns_get32(rdata);  rdata += NS_INT32SZ;
                len = SPRINTF((tmp, "%lu ", t));
                T(addstr(tmp, len, &buf, &buflen));
index 5a188a36046acc04a5c4273c763d9dd6fc4d20d0..09f74d4c8a614d264ffb9cb903705994720356b7 100644 (file)
@@ -54,7 +54,7 @@ __ns_rr_cursor_next (struct ns_rr_cursor *c, struct ns_rr_wire *rr)
     }
   memcpy (&metadata, c->current, sizeof (metadata));
   c->current += sizeof (metadata);
-  /* Endianess conversion.  */
+  /* Endianness conversion.  */
   rr->rtype = ntohs (metadata.rtype);
   rr->rclass = ntohs (metadata.rclass);
   rr->ttl = ntohl (metadata.ttl);
index ae1f8669d50f26dab78e2badef076b3c0bd152ed..1d60c51f5e0ec1aa146872e3af5a4909a7660f57 100644 (file)
@@ -715,7 +715,7 @@ getanswer_r (unsigned char *packet, size_t packetlen, uint16_t qtype,
   if (!__ns_rr_cursor_init (&c, packet, packetlen))
     {
       /* This should not happen because __res_context_query already
-        perfroms response validation.  */
+        performs response validation.  */
       *h_errnop = NO_RECOVERY;
       return NSS_STATUS_UNAVAIL;
     }
@@ -811,7 +811,7 @@ getanswer_ptr (unsigned char *packet, size_t packetlen,
   if (!__ns_rr_cursor_init (&c, packet, packetlen))
     {
       /* This should not happen because __res_context_query already
-        perfroms response validation.  */
+        performs response validation.  */
       *h_errnop = NO_RECOVERY;
       return NSS_STATUS_UNAVAIL;
     }
@@ -906,7 +906,7 @@ gaih_getanswer_slice (unsigned char *packet, size_t packetlen,
   if (!__ns_rr_cursor_init (&c, packet, packetlen))
     {
       /* This should not happen because __res_context_query already
-        perfroms response validation.  */
+        performs response validation.  */
       *h_errnop = NO_RECOVERY;
       return NSS_STATUS_UNAVAIL;
     }
index b079ad77ca42cbb9e3a0aba7eabc476e7781ceb1..26ffcc63a19627dd591d4a4448110479b3754fb8 100644 (file)
@@ -33,7 +33,7 @@ qtype_matches (const unsigned char *p, int expected)
 }
 
 /* Handle RES_NOAAAA translation of AAAA queries.  To produce a Name
-   Error (NXDOMAIN) repsonse for domain names that do not exist, it is
+   Error (NXDOMAIN) response for domain names that do not exist, it is
    still necessary to send a query.  Using question type A is a
    conservative choice.  In the returned answer, it is necessary to
    switch back the question type to AAAA.  */
index c55f3c03662c332f0c6286abee289ad694f2faa7..2b98ac4920061348f526c052f6c1293315d0446e 100644 (file)
@@ -58,7 +58,7 @@ res_use_inet6 (void)
 
 enum
   {
-    /* The advertized EDNS buffer size.  The value 1200 is derived
+    /* The advertised EDNS buffer size.  The value 1200 is derived
        from the IPv6 minimum MTU (1280 bytes) minus some arbitrary
        space for tunneling overhead.  If the DNS server does not react
        to ICMP Fragmentation Needed But DF Set messages, this should
index 3a79ffea57a6916f887b827c60b9964595bc32a7..f40d6c58cee0f58516df129fdff5fc312de483d8 100644 (file)
@@ -87,7 +87,7 @@
 /*
  * Resolver configuration file.
  * Normally not present, but may contain the address of the
- * inital name server(s) to query and the domain search list.
+ * initial name server(s) to query and the domain search list.
  */
 
 #ifndef _PATH_RESCONF
index 0ef66d49d301bb24fb613c3a36e13bbeeb5026da..bd5890773bfc8b6ef02b48a087fca9bbfbcc8d20 100644 (file)
@@ -81,7 +81,7 @@ static struct resolv_conf_global *global;
 __libc_lock_define_initialized (static, lock);
 
 /* Ensure that GLOBAL is allocated and lock it.  Return NULL if
-   memory allocation failes.  */
+   memory allocation fails.  */
 static struct resolv_conf_global *
 get_locked_global (void)
 {
@@ -174,7 +174,7 @@ __resolv_conf_get_current (void)
 static struct resolv_conf *
 resolv_conf_get_1 (const struct __res_state *resp)
 {
-  /* Not initialized, and therefore no assoicated context.  */
+  /* Not initialized, and therefore no associated context.  */
   if (!(resp->options & RES_INIT))
     return NULL;
 
@@ -243,7 +243,7 @@ resolv_conf_matches (const struct __res_state *resp,
                      const struct resolv_conf *conf)
 {
   /* NB: Do not compare the options, retrans, retry, ndots.  These can
-     be changed by applicaiton.  */
+     be changed by application.  */
 
   /* Check that the name servers in *RESP have not been modified by
      the application.  */
index aeb415b6d4036cb79d01fe593663c401440603d5..7bf7ce9df42953d40341cd1ec2e5199d8b69ea30 100644 (file)
@@ -52,7 +52,7 @@
 static __thread struct resolv_context *current attribute_tls_model_ie;
 
 /* The resolv_conf handling will gives us a ctx->conf pointer even if
-   these fields do not match because a mis-match does not cause a loss
+   these fields do not match because a mismatch does not cause a loss
    of state (_res objects can store the full information).  This
    function checks to ensure that there is a full patch, to prevent
    overwriting a patched configuration.  */
index c5d51a12a4f0f7abe2f8fe99cadc072177502a9d..020b9bd775592380adda4dbe6598e66c39ed6e2f 100644 (file)
@@ -78,7 +78,7 @@ void __resolv_context_put (struct resolv_context *ctx);
 libc_hidden_proto (__resolv_context_put)
 
 /* Like __resolv_context_get, but the _res structure can be partially
-   initialzed and those changes will not be overwritten.  */
+   initialized and those changes will not be overwritten.  */
 struct resolv_context *__resolv_context_get_preinit (void)
   __attribute__ ((warn_unused_result));
 libc_hidden_proto (__resolv_context_get_preinit)
index 2a28193c37e20acdfb2b70b1a7b41b9732983939..33bab6638d55cde1d6b318beb0d1150be2274a6b 100644 (file)
@@ -153,7 +153,7 @@ response (const struct resolv_response_context *ctx,
         }
       break;
     case 103:
-      /* NODATA repsonse.  */
+      /* NODATA response.  */
       resolv_response_init (b, (struct resolv_response_flags) {});
       resolv_response_add_question (b, qname, qclass, qtype);
       break;
index a2245de9483a004ee68ea7efef4115b5cdeba080..6e0072b5412ef76a8341c413ab1dbe8fe82c32ef 100644 (file)
@@ -40,7 +40,7 @@ struct response_data
    response data.  The test DNS server returns the index of the array
    element which contains the actual response data.  This enables the
    test case to return arbitrary amounts of data with the limited
-   number of bits which fit into an IP addres.
+   number of bits which fit into an IP address.
 
    The volatile specifier is needed because the test case accesses
    these variables from a callback function called from a function
index dee273c5cc1b3503cb3f8ffacd43cf334968889d..6c1ef3f7ecca9e68e98d922af858290bfa7f3bed 100644 (file)
@@ -25,7 +25,7 @@
 #include <support/test-driver.h>
 #include <support/xmemstream.h>
 
-/* If ture, the response function will send the actual response packet
+/* If true, the response function will send the actual response packet
    over TCP instead of UDP.  */
 static volatile bool force_tcp;
 
index 24d980071e0d0e96cf2092d32c67551b79d3202b..cbdf377b842cb4663d35cbee001cfb046d017529 100644 (file)
@@ -1,4 +1,4 @@
-/* Test parsing of /etc/resolv.conf.  Genric version.
+/* Test parsing of /etc/resolv.conf.  Generic version.
    Copyright (C) 2017-2023 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
@@ -669,7 +669,7 @@ struct test_case test_cases[] =
      "; nameserver[0]: [192.0.2.1]:53\n"
      "; nameserver[1]: [192.0.2.3]:53\n"
     },
-    {.name = "RES_OPTIONS is cummulative",
+    {.name = "RES_OPTIONS is cumulative",
      .conf = "options timeout:7 ndots:2 use-vc\n"
      "nameserver 192.0.2.1\n",
      .expected = "options ndots:3 timeout:7 attempts:5 use-vc edns0\n"
index e5398283198e427a8941438acabbac9bae7139e3..a274b5bf3aca8c72172f258c79041c3566a3f040 100644 (file)
@@ -55,8 +55,8 @@ do_test (void)
           TEST_VERIFY (conf != NULL);
         }
       else
-        /* The underyling configuration should be identical across all
-           res_state opjects because resolv.conf did not change.  */
+        /* The underlying configuration should be identical across all
+           res_state objects because resolv.conf did not change.  */
         TEST_VERIFY (ctx->conf == conf);
     }
   qsort (array, count, sizeof (*array), sort_res_state);
index a9e6d7db291a6a1fe08ec62f7ee1f349767bec48..8d014015a3423f1a5e94c347999c8257ca1d1f5d 100644 (file)
--- a/rt/aio.h
+++ b/rt/aio.h
@@ -168,7 +168,7 @@ extern int aio_suspend (const struct aiocb *const __list[], int __nent,
                        const struct timespec *__restrict __timeout)
   __nonnull ((1));
 
-/* Force all operations associated with file desriptor described by
+/* Force all operations associated with file descriptor described by
    `aio_fildes' member of AIOCBP.  */
 extern int aio_fsync (int __operation, struct aiocb *__aiocbp)
   __THROW __nonnull ((2));
index 446b02821329b3de56c596305923f5636ece0e7a..6f275c6303b15dc1c496374f0ceaa65909f94171 100644 (file)
@@ -106,7 +106,7 @@ __aio_cancel (int fildes, struct aiocb *aiocbp)
   else
     {
       /* Find the beginning of the list of all requests for this
-        desriptor.  */
+        descriptor.  */
       req = __aio_find_req_fd (fildes);
 
       /* If any request is worked on by a thread it must be the first.
index 4b850b1ab602a2ef9575c3313a979d88574024d6..5d21943ff2749b04d60691d4c11ec97fc8031a90 100644 (file)
@@ -371,7 +371,7 @@ __aio_enqueue_request (aiocb_union *aiocbp, int operation)
       /* The current file descriptor is worked on.  It makes no sense
         to start another thread since this new thread would fight
         with the running thread for the resources.  But we also cannot
-        say that the thread processing this desriptor shall immediately
+        say that the thread processing this descriptor shall immediately
         after finishing the current job process this request if there
         are other threads in the running queue which have a higher
         priority.  */
index a94bff693c0952a64c7cf3524ce3e52a22eb12a9..672bd14ef03ca7558321f745034cbf6fadf7bfcc 100644 (file)
@@ -108,7 +108,7 @@ timer_create (clockid_t clock_id, struct sigevent *evp, timer_t *timerid)
       else
        pthread_attr_init (&newtimer->attr);
 
-      /* Ensure thread attributes call for deatched thread.  */
+      /* Ensure thread attributes call for detached thread.  */
       pthread_attr_setdetachstate (&newtimer->attr, PTHREAD_CREATE_DETACHED);
 
       /* Try to find existing thread having the right attributes.  */
index 474ae5e4635aee9d49d471a538d867e462877359..efc2a74ef7ea471246cf5ce31c14cfff68bdb35c 100644 (file)
@@ -22,7 +22,7 @@
 #include "posix-timer.h"
 
 
-/* Get current value of timer TIMERID and store it in VLAUE.  */
+/* Get current value of timer TIMERID and store it in VALUE.  */
 int
 timer_gettime (timer_t timerid, struct itimerspec *value)
 {
index fc0447062984e03900d45bfa412d99eb23037247..c029f3c15612204211de6de6d8dd097467497ecb 100644 (file)
@@ -463,12 +463,12 @@ do_test (void)
 
   if (mq_unlink ("/tst-mqueue2-which-should-never-exist") != -1)
     {
-      puts ("mq_unlink of non-existant message queue unexpectedly succeeded");
+      puts ("mq_unlink of non-existent message queue unexpectedly succeeded");
       result = 1;
     }
   else if (errno != ENOENT)
     {
-      printf ("mq_unlink of non-existant message queue did not fail with "
+      printf ("mq_unlink of non-existent message queue did not fail with "
              "ENOENT: %m\n");
       result = 1;
     }
index 126bfa45a2a388ee8c1160415d80266dd0c242e6..d8b1422b1c9894155937425db39e2c01ccd53f12 100644 (file)
@@ -61,13 +61,13 @@ fct (union sigval s)
   /* Check the values.  */
   if (attr.mq_maxmsg != MAXMSG)
     {
-      printf ("%s: mq_maxmsg wrong: is %jd, expecte %d\n",
+      printf ("%s: mq_maxmsg wrong: is %jd, expected %d\n",
              __FUNCTION__, (intmax_t) attr.mq_maxmsg, MAXMSG);
       exit (1);
     }
   if (attr.mq_msgsize != MAXMSG)
     {
-      printf ("%s: mq_msgsize wrong: is %jd, expecte %d\n",
+      printf ("%s: mq_msgsize wrong: is %jd, expected %d\n",
              __FUNCTION__, (intmax_t) attr.mq_msgsize, MSGSIZE);
       exit (1);
     }
index 841ce14ac64e06fb910c4b781c6619e24d45700a..fe456287a3e9ad20bc88de31963eba0a20813683 100644 (file)
@@ -62,7 +62,7 @@ do_test (void)
   mqd_t q2 = mq_open (name, O_CREAT | O_EXCL | O_RDWR, 0600, &attr);
   if (q2 == (mqd_t) -1)
     {
-      printf ("mq_open with NAME_MAX long name compoment failed with: %m\n");
+      printf ("mq_open with NAME_MAX long name component failed with: %m\n");
       result = 1;
     }
 
index ea5ff65ae4948b37b4821ca3c2bcc1864b787627..9416af28bdc17966d9ea9d95e10a1c651fe3e67a 100644 (file)
@@ -522,7 +522,7 @@ do_child (const char *name, pthread_barrier_t *b2, pthread_barrier_t *b3,
       result = 1;
     }
 
-  /* Reenable test signals before cleaning up the thread.  */
+  /* Re-enable test signals before cleaning up the thread.  */
   if (pthread_sigmask (SIG_UNBLOCK, &set, NULL))
     {
       printf ("Failed to unblock SIGRTMIN in child: %m\n");
index b069b5ad76ed670698fbedc0a1e393a4024b637c..e4da3d64fdd99a75eb03d119ebc5608abbef91d7 100644 (file)
@@ -1069,7 +1069,7 @@ def process_testcase(t):
                           t.test_name))
     t.sh.close()
 
-# Decription file parsing
+# Description file parsing
 def parse_description_file(filename):
     global default_tunable_options
     global current_input_lineno
index 6f48eee1297ac9b05f0b12b04b7c47d9fba28b4e..b52e83d6133a84973a504f30dd00f0db85e040eb 100644 (file)
@@ -275,7 +275,7 @@ class ElfClass(_TypedConstant):
 _register_elf_h(ElfClass, prefix='ELFCLASS')
 
 class ElfData(_TypedConstant):
-    """ELF endianess.  Type of EI_DATA values."""
+    """ELF endianness.  Type of EI_DATA values."""
 _register_elf_h(ElfData, prefix='ELFDATA')
 
 class Machine(_TypedConstant):
index 5dc99f012016ac8c2a782570c0562f6fee60ff3d..4e1326c10bc174c654ea7f14e82991562bb897ec 100644 (file)
@@ -222,7 +222,7 @@ class MacroDefinition(collections.namedtuple('MacroDefinition',
     args is None for a macro that is not function-like.  Otherwise, it
     is a tuple that contains the macro argument name tokens.
 
-    body is a tuple that contains the tokens that constitue the body
+    body is a tuple that contains the tokens that constitute the body
     of the macro definition (excluding whitespace).
 
     error is None if no error was detected, or otherwise a problem
@@ -242,7 +242,7 @@ class MacroDefinition(collections.namedtuple('MacroDefinition',
 
     @property
     def line(self):
-        """Return the line number of the macro defintion."""
+        """Return the line number of the macro definition."""
         return self.name_token.line
 
     @property
@@ -387,7 +387,7 @@ def macro_eval(macro_defs, reporter):
     evaluated = OrderedDict()
 
     # String to macro definitions during evaluation.  Nice error
-    # reporting relies on determinstic iteration order.
+    # reporting relies on deterministic iteration order.
     stack = OrderedDict()
 
     def eval_token(current, token):
index c92f100b4bcb6a8053ea78c6d6a92862e46064b0..d772cb0a7de24f577b2926cb68e8e017be1eb9d4 100644 (file)
@@ -33,7 +33,7 @@ load-plugins=
 # can either give multiple identifiers separated by comma (,) or put this
 # option multiple times (only on the command line, not in the configuration
 # file where it should appear only once).You can also use "--disable=all" to
-# disable everything first and then reenable specific checks. For example, if
+# disable everything first and then re-enable specific checks. For example, if
 # you want to run only the similarities checker, you can use "--disable=all
 # --enable=similarities". If you want to run only the classes checker, but have
 # no Warning level messages displayed, use"--disable=all --enable=classes
index 870ba5e414e70ef3aa974d6c1652e569b46ba686..b67e71c43d60a92b4354ac599307f92203160ac3 100644 (file)
@@ -154,7 +154,7 @@ extern ssize_t sendto (int __fd, const void *__buf, size_t __n,
                       socklen_t __addr_len);
 
 /* Read N bytes into BUF through socket FD.
-   If ADDR is not NULL, fill in *ADDR_LEN bytes of it with tha address of
+   If ADDR is not NULL, fill in *ADDR_LEN bytes of it with the address of
    the sender, and store the actual size of the address in *ADDR_LEN.
    Returns the number of bytes read or -1 for errors.
 
index d657834ae49b011b4f2092251a424dcbe64fd789..0c3dfb1a128a4ca5a76eec22d4bd971c6cb0503c 100644 (file)
@@ -380,7 +380,7 @@ __printf_fphex_l_buffer (struct __printf_buffer *buf, locale_t loc,
 
 
 /* The wide buffer version is implemented by translating the output of
-   the multibyte verison.  */
+   the multibyte version.  */
 
 struct __printf_buffer_fphex_to_wide
 {
index fc493aa4d7a7677321fc0bf6584f0774e1c67808..6ff7a81c7afa5429a584bf6727765ec847b756db 100644 (file)
@@ -157,7 +157,7 @@ do_test_without_buffer (void)
   return result;
 }
 
-/* Check fmemopen with a buffer lenght of zero.  */
+/* Check fmemopen with a buffer length of zero.  */
 static int
 do_test_length_zero (void)
 {
index 3cc2832edcbfa0e30d0b95dbc6dee593d8609970..bef87b712ad68c3b24d2646a8d6c11cf4cac8c6c 100644 (file)
@@ -34,7 +34,7 @@ print_buffer (const char *s, size_t n)
     }
 }
 
-/* This test check append mode initial position (a/a+) based on POSIX defition
+/* This test check append mode initial position (a/a+) based on POSIX definition
    (BZ#6544 and BZ#13151).  */
 static int
 do_test_write_append (const char *mode)
@@ -59,7 +59,7 @@ do_test_write_append (const char *mode)
   return 0;
 }
 
-/* This test check append mode initial position (a/a+) based on POSIX defition
+/* This test check append mode initial position (a/a+) based on POSIX definition
    (BZ#6544 and BZ#13151) for buffer without null byte end.  */
 static int
 do_test_write_append_without_null (const char *mode)
@@ -94,7 +94,7 @@ do_test_write_append_without_null (const char *mode)
   return 0;
 }
 
-/* This test check for initial position and feek value for fmemopen objects
+/* This test check for initial position and seek value for fmemopen objects
    opened with append mode.  */
 static int
 do_test_read_append (void)
index e6fa2433fa7f28492884033d1c53ff8471e8149a..db81fdf590f9515f1100fd86aab0b6a796d9ce3e 100644 (file)
@@ -58,7 +58,7 @@ do_test (void)
     free (winput);
   }
 
-  /* For 's' converstion specifier the array is interpreted as a multibyte
+  /* For 's' conversion specifier the array is interpreted as a multibyte
      character sequence and converted to wide characters up to the precision
      specific value.  */
   {
index 2e1a5c07e528af9faa6bb18d8cc9c9302a797af6..0a90a7228f28fc197a77ee255c8c8161b832d3b6 100644 (file)
@@ -237,7 +237,7 @@ do_test (void)
      The test will segfault during SSCANF if the buffer overflow
      is not fixed.  The size of `s` is such that it forces the use
      of malloc internally and this triggers the incorrect computation.
-     Thus the value for SIZE is arbitrariy high enough that malloc
+     Thus the value for SIZE is arbitrarily high enough that malloc
      is used.  */
   {
 #define SIZE 131072
index d9675bd4b18ceef6994045edd556bd5a5c233ca4..a3ebf63554daf507564b728c333410e7d2ba1d8f 100644 (file)
@@ -668,7 +668,7 @@ __vfscanf_internal (FILE *s, const char *format, va_list argptr,
              /* We have a severe problem here.  The ISO C standard
                 contradicts itself in explaining the effect of the %n
                 format in `scanf'.  While in ISO C:1990 and the ISO C
-                Amendement 1:1995 the result is described as
+                Amendment 1:1995 the result is described as
 
                   Execution of a %n directive does not effect the
                   assignment count returned at the completion of
@@ -2749,7 +2749,7 @@ __vfscanf_internal (FILE *s, const char *format, va_list argptr,
 #endif
 
              if (__glibc_unlikely (now == read_in))
-               /* We haven't succesfully read any character.  */
+               /* We haven't successfully read any character.  */
                conv_error ();
 
              if (!(flags & SUPPRESS))
@@ -2947,7 +2947,7 @@ __vfscanf_internal (FILE *s, const char *format, va_list argptr,
 #endif
 
              if (__glibc_unlikely (now == read_in))
-               /* We haven't succesfully read any character.  */
+               /* We haven't successfully read any character.  */
                conv_error ();
 
              if (!(flags & SUPPRESS))
index 0ace21f54d86e663f984f5cf706e78b432ed781f..8f0fa8ab9fe4d437dbf5d1c1bc020f0c3f55caf6 100644 (file)
@@ -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"
index f00d1599db4b7ddede410f2b794c73e5fe0da87d..bd7c6b2a94a8b0bd0bcc20bd3c482138268e4225 100644 (file)
@@ -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.
 
index fa1687f5f3ad6b2e3fde3c6e12a8a02f189968a2..ae067d934d80752c65004051d54cb6b54555614c 100644 (file)
@@ -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.  */
index f0edffb16db5e1e03c47e946b074cd8537943d56..1808cf6524e580a7e809daddd2609f0cf49056ed 100644 (file)
@@ -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)
 {
index 010828920e85de70a726d1f57d4eb1a525037da7..d8863cf6d00535a128e707a3279022f5ceec3092 100644 (file)
@@ -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));
index 2d950d345b44a139d743be41b1cc148f58172aa0..bd0f575ccf676d01f7b09d0480182d95b1ef12bc 100644 (file)
@@ -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.
 
index 794d12a3856aef7c6ae41360d99b6a11708a9f75..516beecef5841c685d5d7cb6ac3eae9d024ef35c 100644 (file)
@@ -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.  */
index 92944724715af78a52c2a9bbab1a78204bece24b..d65f3b9d6b99851d8e487784d27ec0f60b6e08fa 100644 (file)
@@ -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);
     }
 
index c38e7b0567f743d1508dc9b472654b328de5e9c0..5397c05d539fd8450745ed55c075637648509a2e 100644 (file)
@@ -16,7 +16,7 @@
    <https://www.gnu.org/licenses/>.  */
 
 /* This file is intentionally left empty.  It exists so that both
-   architectures which implement __memcmpeq seperately from memcmp and
+   architectures which implement __memcmpeq separately from memcmp and
    architectures which implement __memcmpeq by having it alias memcmp will
    build.
 
index d60e1ba4a7ac64b9de7579c6a19cd149d7f3f1c7..5f7b8606f6e429d8ddaf4cefa007436eaacaf4e5 100644 (file)
@@ -103,7 +103,7 @@ get_next_seq (coll_seq *seq, int nrules, const unsigned char *rulesets,
          else
            {
              /* XXX Traverse BACKW sequences from the beginning of
-                BACKW_STOP to get the next sequence.  Is ther a quicker way
+                BACKW_STOP to get the next sequence.  Is there a quicker way
                 to do this?  */
              size_t i = backw_stop;
              us = seq->back_us;
index bc46a66bfdccc04d223bae53c6dea7c2c3acebcc..7093a9a6853526edd35f78d9e889e0ef2a3b8d22 100644 (file)
@@ -45,7 +45,7 @@ SIMPLE_MEMCMP (const wchar_t *s1, const wchar_t *s2, size_t n)
   int ret = 0;
   /* Warning!
        wmemcmp has to use SIGNED comparison for elements.
-       memcmp has to use UNSIGNED comparison for elemnts.
+       memcmp has to use UNSIGNED comparison for elements.
   */
   while (n-- && (ret = *s1 < *s2 ? -1 : *s1 == *s2 ? 0 : 1) == 0) {s1++; s2++;}
   return ret;
index 805e8519fb4b03cafd50a31800f8472a9a26e12a..4ff680f26408106cea4e47dae0352d7e91a2391e 100644 (file)
@@ -99,7 +99,7 @@ do_test (size_t align1, size_t align2, size_t len, int max_char,
   else
     s2[len - 1] -= exp_result;
 
-  /* For some locals this is not guranteed yet.  */
+  /* For some locals this is not guaranteed yet.  */
   if (tolower (s1[len - 1]) - tolower (s2[len - 1]) != exp_result)
     {
       if (exp_result == -1)
index fa3161688c3a9eff47f6556e15c2589f7ea1d739..fb525594007c4a5e9a0f0558cd343be755a45fcc 100644 (file)
@@ -48,7 +48,7 @@
 # define CHAR__MIN WCHAR_MIN
 
 /* Wcscmp uses signed semantics for comparison, not unsigned */
-/* Avoid using substraction since possible overflow */
+/* Avoid using subtraction since possible overflow */
 
 int
 simple_wcscmp (const wchar_t *s1, const wchar_t *s2)
index 6246fe5c1b324c2fc2a7363130c48f7083a2fe46..5f0654efc536084785ed49820bd3f61e2e2df2fe 100644 (file)
@@ -119,7 +119,7 @@ do_test (size_t align1, size_t align2, size_t n, size_t len, int max_char,
   else
     s2[len - 1] -= exp_result;
 
-  /* For some locals this is not guranteed yet.  */
+  /* For some locals this is not guaranteed yet.  */
   if (tolower (s1[len - 1]) - tolower (s2[len - 1]) != exp_result)
     {
       if (exp_result == -1)
index 35dc496eae840dc23748d293f757545700e12199..75e745a5ba5896ce161088c75de24f0dbfdb2319 100644 (file)
@@ -44,7 +44,7 @@
 # define CHAR__MIN WCHAR_MIN
 
 /* Wcsncmp uses signed semantics for comparison, not unsigned.
-   Avoid using substraction since possible overflow */
+   Avoid using subtraction since possible overflow */
 int
 simple_wcsncmp (const CHAR *s1, const CHAR *s2, size_t n)
 {
index ef73dd34f4b14caf416c637b854c1debe9131d8c..10e7540a1e763d13c18b3e29e483e37b93925be9 100644 (file)
@@ -260,7 +260,7 @@ do_page_tests (void)
 }
 
 /* Tests meant to unveil fail on implementations that access bytes
-   beyond the maxium length.  */
+   beyond the maximum length.  */
 
 static void
 do_page_2_tests (void)
index 97e19af7578c8b8026462802bcfd639db1bbb18b..d17a3aa795d4447438ca13652c416f41ac5805e5 100644 (file)
@@ -1,4 +1,4 @@
-/* Test for signed comparision bug in memmove (bug 25620).
+/* Test for signed comparison bug in memmove (bug 25620).
    Copyright (C) 2020-2023 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
index 8ea4303d7d6c55ea7e1a366bccf76948804bfb70..b0b29e09a7faa86e367403cc78ebfdc3a02fa806 100644 (file)
@@ -30,7 +30,7 @@
  */
 /*
  * The original source is from the RPCSRC 4.0 package from Sun Microsystems.
- * The Interface to keyserver protocoll 2, RPC over AF_UNIX and Linux/doors
+ * The Interface to keyserver protocol 2, RPC over AF_UNIX and Linux/doors
  * was added by Thorsten Kukuk <kukuk@suse.de>
  * Since the Linux/doors project was stopped, I doubt that this code will
  * ever be useful <kukuk@suse.de>.
index f4d4a941c751adb3e984a18ed5b195e3311a7fa9..388efaf887e7a2ceea77c34668c10bfe0174d8d6 100644 (file)
@@ -106,8 +106,8 @@ struct rpc_err {
     int RE_errno;              /* related system error */
     enum auth_stat RE_why;     /* why the auth error occurred */
     struct {
-      u_long low;              /* lowest verion supported */
-      u_long high;             /* highest verion supported */
+      u_long low;              /* lowest version supported */
+      u_long high;             /* highest version supported */
     } RE_vers;
     struct {                   /* maybe meaningful if RPC_FAILED */
       long s1;
index 434a5bedef982d305c46ac24926156fbb04ce1f9..af61f1126361cd0717d3ff618cbcd0c47c86b4cc 100644 (file)
@@ -241,7 +241,7 @@ do_test (void)
                                (NULL, test_server_thread, &args));
               else
                 test_server_thread (&args);
-              /* We cannnot use _exit here because we want to test the
+              /* We cannot use _exit here because we want to test the
                  process cleanup.  */
               exit (0);
             }
index c9a1eaad6349ba5f374b8f2880ff7b08f5ab37a7..dce0383039335d0dab0eadf2e528cd8338e20859 100644 (file)
@@ -102,7 +102,7 @@ typedef struct rec_strm
     caddr_t out_base;          /* output buffer (points to frag header) */
     caddr_t out_finger;                /* next output position */
     caddr_t out_boundry;       /* data cannot up to this address */
-    uint32_t *frag_header;     /* beginning of curren fragment */
+    uint32_t *frag_header;     /* beginning of current fragment */
     bool_t frag_sent;          /* true if buffer sent in middle of record */
     /*
      * in-coming bits
index eab3b742277913b75a5c4ae541b265c1d5fe2eae..3f5904d4a241173a2c832f32e2694bd8c7a0aea2 100644 (file)
@@ -51,7 +51,7 @@
  * referenced by a pointer inside the structure that is currently being
  * translated.  pp references a pointer to storage. If *pp is null
  * the  necessary storage is allocated.
- * size is the size of the referneced structure.
+ * size is the size of the referenced structure.
  * proc is the routine to handle the referenced structure.
  */
 bool_t
index 92f1a2468a93c92751640851b8cbea95a0d29863..130de4a9858c1add92312aba04119087090dfa4f 100644 (file)
@@ -237,7 +237,7 @@ CFLAGS-support_paths.c = \
 
 # In support_timespec_check_in_range we may be passed a very tight
 # range for which we should produce a correct result for expected
-# being withing the observed range.  The code uses double internally
+# being within the observed range.  The code uses double internally
 # in support_timespec_check_in_range and for that computation we use
 # -fexcess-precision=standard.
 CFLAGS-timespec.c += -fexcess-precision=standard
index ae2c41caa8677d46791fdbd919858ece97dc8f60..e9e74ad5cc3c52f28e73aa1e0e9038f46ca42ad1 100644 (file)
@@ -14,7 +14,7 @@ error.  They are declared in these header files:
 
 In general, new wrappers should be added to support.h if possible.
 However, support.h must remain fully compatible with C90 and therefore
-cannot include headers which use identifers not reserved in C90.  If
+cannot include headers which use identifiers not reserved in C90.  If
 the wrappers need additional types, additional headers such as
 signal.h need to be introduced.
 
index e5028bf13f9da0f252f30698f52fe7aeb9569425..53aa40c275a651f879a60f2b965dda7874ddaa59 100644 (file)
@@ -33,7 +33,7 @@ delayed_exit_thread (void *seconds_as_ptr)
   struct timespec remaining = { 0 };
   if (nanosleep (&delay, &remaining) != 0)
     FAIL_EXIT1 ("nanosleep: %m");
-  /* Exit the process sucessfully.  */
+  /* Exit the process successfully.  */
   exit (0);
   return NULL;
 }
index fd1f5e78bb44c7170f3a3e1f0dee288dd5652b8f..c5694631f29083551b5091584d5679af015d3ef3 100644 (file)
@@ -91,7 +91,7 @@ ascii_tolower (unsigned char ch)
 }
 
 /* Compare both names, for use with tsearch.  The order is arbitrary,
-   but the comparison is case-insenstive.  */
+   but the comparison is case-insensitive.  */
 static int
 compare_compressed_name (const void *left, const void *right)
 {
@@ -119,7 +119,7 @@ compare_compressed_name (const void *left, const void *right)
       if (lenleft == 0)
         /* End of name reached without spotting a difference.  */
         return 0;
-      /* Compare the label in a case-insenstive manner.  */
+      /* Compare the label in a case-insensitive manner.  */
       const unsigned char *endnameleft = nameleft + lenleft;
       while (nameleft < endnameleft)
         {
@@ -525,7 +525,7 @@ parse_query (struct query_info *info,
       _Static_assert (sizeof (rr) == 11, "EDNS record size");
 
       if (remaining < 4 + sizeof (rr))
-        FAIL_EXIT1 ("mailformed DNS query: no room for EDNS record");
+        FAIL_EXIT1 ("malformed DNS query: no room for EDNS record");
       memcpy (&rr, buffer + 12 + ret + 4, sizeof (rr));
       if (rr.root != 0)
         FAIL_EXIT1 ("malformed DNS query: invalid OPT RNAME: %d\n", rr.root);
@@ -843,7 +843,7 @@ writev_fully (int fd, struct iovec *buffers, size_t count)
           --count;
           continue;
         }
-      /* Try to rewrite the remaing buffers.  */
+      /* Try to rewrite the remaining buffers.  */
       ssize_t ret = writev (fd, buffers, count);
       if (ret < 0)
         FAIL_EXIT1 ("writev: %m");
@@ -969,7 +969,7 @@ server_thread_tcp (struct resolv_test *obj, int server_index)
 {
   while (true)
     {
-      /* Get the client conenction.  */
+      /* Get the client connection.  */
       int client_socket = xaccept
         (obj->servers[server_index].socket_tcp, NULL, NULL);
 
index 8d05fc4e06cd80f2ba57e1c1f2aae0dbf673008c..32673f02132ef09361cff1cb18d1d3a27a6f9c76 100644 (file)
@@ -116,7 +116,7 @@ struct resolv_redirect_config
   const struct sockaddr *const *server_address_overrides;
 };
 
-/* Configure NSS to use, nss_dns only for aplicable databases, and try
+/* Configure NSS to use, nss_dns only for applicable databases, and try
    to put the process into a network namespace for better isolation.
    This may have to be called before resolv_test_start, before the
    process creates any threads.  Otherwise, initialization is
@@ -125,7 +125,7 @@ void resolv_test_init (void);
 
 /* Initiate resolver testing.  This updates the _res variable as
    needed.  As a side effect, NSS is reconfigured to use nss_dns only
-   for aplicable databases, and the process may enter a network
+   for applicable databases, and the process may enter a network
    namespace for better isolation.  */
 struct resolv_test *resolv_test_start (struct resolv_redirect_config);
 
index 27055bde0c143433999c558b5bf97a10ffdc9be1..711f08801b0a8c575f917786f8d0ee878cc51d87 100644 (file)
@@ -32,7 +32,7 @@
    zero, the failure of a test can be detected.
 
    The init constructor function below puts *state on a shared
-   annonymous mapping, so that failure reports from subprocesses
+   anonymous mapping, so that failure reports from subprocesses
    propagate to the parent process.  */
 struct test_failures
 {
index 94f02dfb4fe74e0ed705b7fbd6141f1202feccf4..c20c19e77408b2789fe044bf284d3f24583bc916 100644 (file)
@@ -469,7 +469,7 @@ support_test_main (int argc, char **argv, const struct test_config *config)
       exit (1);
     }
 
-  /* Process terminated normaly without timeout etc.  */
+  /* Process terminated normally without timeout etc.  */
   if (WIFEXITED (status))
     {
       if (config->expected_status == 0)
index 536f238175e5c35cb9b087a6d7055c0d0c633cc6..74e3861d40d85592722881452f196f5aa25e55ff 100644 (file)
@@ -249,7 +249,7 @@ support_delete_temp_files (void)
   pid_t pid = getpid ();
   while (temp_name_list != NULL)
     {
-      /* Only perform the removal if the path was registed in the same
+      /* Only perform the removal if the path was registered in the same
         process, as identified by the PID.  (This assumes that the
         parent process which registered the temporary file sticks
         around, to prevent PID reuse.)  */
index 008ced2d2547fce51ba2c969de0681fe150ce747..20ea19af37aa3a25ed5167cefe55fb94d264f278 100644 (file)
@@ -279,7 +279,7 @@ devmount (const char *new_root_path, const char *which)
            concat (new_root_path, "/dev/", which, NULL));
 }
 
-/* Returns true if the string "looks like" an environement variable
+/* Returns true if the string "looks like" an environment variable
    being set.  */
 static int
 is_env_setting (const char *a)
@@ -800,7 +800,7 @@ main (int argc, char **argv)
       --argc;
       while (is_env_setting (argv[1]))
        {
-         /* If there are variables we do NOT want to propogate, this
+         /* If there are variables we do NOT want to propagate, this
             is where the test for them goes.  */
            {
              /* Need to keep these.  Note that putenv stores a
@@ -1175,7 +1175,7 @@ main (int argc, char **argv)
 
   /* To complete the containerization, we need to fork () at least
      once.  We can't exec, nor can we somehow link the new child to
-     our parent.  So we run the child and propogate it's exit status
+     our parent.  So we run the child and propagate it's exit status
      up.  */
   child = fork ();
   if (child < 0)
@@ -1233,11 +1233,11 @@ main (int argc, char **argv)
        {
          /* This happens if we're trying to create a nested container,
             like if the build is running under podman, and we lack
-            priviledges.
+            privileges.
 
             Ideally we would WARN here, but that would just add noise to
             *every* test-container test, and the ones that care should
-            have their own relevent diagnostics.
+            have their own relevant diagnostics.
 
             FAIL_EXIT1 ("Unable to mount /proc: ");  */
        }
index aee191e5c01eee336a35131b0a09fd9e174a6d45..08c2c71ef53a215e9072ded858a3ec8bf94fd550 100644 (file)
@@ -76,22 +76,22 @@ struct timespec_ns_test_case ns_cases[] = {
   {.time = {.tv_sec = -1, .tv_nsec = 1},
    .time_ns = -TIMESPEC_HZ + 1,
   },
-  /* Overflow bondary by 2  */
+  /* Overflow boundary by 2  */
   {.time = {.tv_sec = TIME_T_MAX / TIMESPEC_HZ,
            .tv_nsec = TIME_T_MAX % TIMESPEC_HZ - 1},
    .time_ns = TIME_T_MAX - 1,
   },
-  /* Overflow bondary  */
+  /* Overflow boundary  */
   {.time = {.tv_sec = TIME_T_MAX / TIMESPEC_HZ,
            .tv_nsec = TIME_T_MAX % TIMESPEC_HZ},
    .time_ns = TIME_T_MAX,
   },
-  /* Underflow bondary by 1  */
+  /* Underflow boundary by 1  */
   {.time = {.tv_sec = TIME_T_MIN / TIMESPEC_HZ,
            .tv_nsec = TIME_T_MIN % TIMESPEC_HZ + 1},
    .time_ns = TIME_T_MIN + 1,
   },
-  /* Underflow bondary  */
+  /* Underflow boundary  */
   {.time = {.tv_sec = TIME_T_MIN / TIMESPEC_HZ,
            .tv_nsec = TIME_T_MIN % TIMESPEC_HZ},
    .time_ns = TIME_T_MIN,
@@ -153,19 +153,19 @@ struct timespec_norm_test_case norm_cases[] = {
   {.time = {.tv_sec = -1, .tv_nsec = -TIMESPEC_HZ - 1},
    .norm = {.tv_sec = -2, .tv_nsec = -1}
   },
-  /* Overflow bondary by 2  */
+  /* Overflow boundary by 2  */
   {.time = {.tv_sec = TIME_T_MAX - 2, .tv_nsec = TIMESPEC_HZ + 1},
    .norm = {.tv_sec = TIME_T_MAX - 1, 1},
   },
-  /* Overflow bondary by 1  */
+  /* Overflow boundary by 1  */
   {.time = {.tv_sec = TIME_T_MAX - 1, .tv_nsec = TIMESPEC_HZ + 1},
    .norm = {.tv_sec = TIME_T_MAX, .tv_nsec = 1},
   },
-  /* Underflow bondary by 2  */
+  /* Underflow boundary by 2  */
   {.time = {.tv_sec = TIME_T_MIN + 2, .tv_nsec = -TIMESPEC_HZ - 1},
    .norm = {.tv_sec = TIME_T_MIN + 1, -1},
   },
-  /* Underflow bondary by 1  */
+  /* Underflow boundary by 1  */
   {.time = {.tv_sec = TIME_T_MIN + 1, .tv_nsec = -TIMESPEC_HZ - 1},
    .norm = {.tv_sec = TIME_T_MIN, .tv_nsec = -1},
   },
index 48ee5ab5f6dc44bc26de2bda017ae0fad3988f7e..c66e0be29166b86f30859c5d3acf90f78ff156a3 100644 (file)
@@ -18,7 +18,7 @@
 #include <sys/sem.h>
 #include <errno.h>
 
-/* Perform user-defined atomical operation of array of semaphores.  */
+/* Perform user-defined atomic operation of array of semaphores.  */
 
 int
 semop (int semid, struct sembuf *sops, size_t nsops)
index 6f7371c59f8b31f71c62766885cb52194eff36ac..b92745a2dcbac4ebd3292617da1cd2653ed94308 100644 (file)
@@ -18,7 +18,7 @@
 #include <sys/sem.h>
 #include <errno.h>
 
-/* Perform user-defined atomical operation of array of semaphores.  */
+/* Perform user-defined atomic operation of array of semaphores.  */
 
 int
 __semtimedop (int semid, struct sembuf *sops, size_t nsops,
index d0671030c87019527b99663fdb9196a3d79e9eb6..7e2b102d40f0af3c0d2df88b1baeb10b4ee67778 100644 (file)
@@ -41,7 +41,7 @@ asctime_internal (const struct tm *tp, char *buf, size_t buflen)
 
   /* We limit the size of the year which can be printed.  Using the %d
      format specifier used the addition of 1900 would overflow the
-     number and a negative vaue is printed.  For some architectures we
+     number and a negative value is printed.  For some architectures we
      could in theory use %ld or an evern larger integer format but
      this would mean the output needs more space.  This would not be a
      problem if the 'asctime_r' interface would be defined sanely and
index 66f23adcba6f38a661b48f5b19c5051af3047975..74a583f261e3c8c601ce306d680cb1c7b7841720 100644 (file)
@@ -110,7 +110,7 @@ do_test (void)
     /* XXX It's not yet a bug when this fails.  */
     clock_test (cl);
   else
-         printf("CPU clock unavailble, skipping test\n");
+         printf("CPU clock unavailable, skipping test\n");
 
   return result;
 }
index 7d2db59ed4ad85a0718422cdfd210feab62d6065..4f0572eb01f6071d8147c1f1050421bdcd48b54c 100644 (file)
@@ -30,7 +30,7 @@ test_difftime_helper (time_t t1, time_t t0, double exp_val)
 static int
 do_test (void)
 {
-  time_t t = 1383791700; /* Provide reproductible start value.  */
+  time_t t = 1383791700; /* Provide reproducible start value.  */
 
   /* Check if difftime works with current time.  */
   test_difftime_helper (t + 1800, t - 1800, 3600.0);
index 8019e7f5d8c4c223226a140b7ec96181dde250b2..edd655e0e9598c41edcf92870453f6707c7e5ba8 100644 (file)
@@ -37,7 +37,7 @@ static bool verbose;
      Sign field consisting of a '+' or '-' sign,
      Hours field in two decimal digits, and
      optional Minutes field in two decimal digits. Optionally,
-     a ':' is used to seperate hours and minutes.
+     a ':' is used to separate hours and minutes.
 
    This function may write test strings with minutes values outside
    the valid range 00-59.  These are invalid strings and useful for
index 9e27eba4a7d05e94a4dde18cb2ea4e63000cebb7..a267eb652eb48004dee76bbc901f5e47ff93769c 100644 (file)
@@ -130,7 +130,7 @@ __tzfile_read (const char *file, size_t extra, char **extrap)
     {
       /* We must not allow to read an arbitrary file in a setuid
         program.  So we fail for any file which is not in the
-        directory hierachy starting at TZDIR
+        directory hierarchy starting at TZDIR
         and which is not the system wide default TZDEFAULT.  */
       if (__libc_enable_secure
          && ((*file == '/'
index 836058256a06d8263043153b36c678754ceb2711..1485076ca4645564b579609b48981ea5bfa0daf0 100644 (file)
@@ -48,7 +48,7 @@ fail_test (int c)
 
   if (wc != WEOF)
     {
-      printf ("%s: btowc('%c') succeded, returned L'\\x%x' instead of WEOF\n",
+      printf ("%s: btowc('%c') succeeded, returned L'\\x%x' instead of WEOF\n",
              current_locale, c, wc);
       return 1;
     }
index f603ffc37a1803ef9576602f4eea248c7fa4bd1a..f2386a8f50e5fabb8a6dc54c5ab7bd2f3fd5eeee 100644 (file)
@@ -39,7 +39,7 @@ utf8_test_1 (void)
   assert (mbrtowc (&wc, "\xE2", 1, &s) == (size_t) -2);        /* 1st byte processed */
   assert (mbrtowc (&wc, "\x89", 1, &s) == (size_t) -2);        /* 2nd byte processed */
   assert (wc == 42);           /* no value has not been stored into &wc yet */
-  assert (mbrtowc (&wc, "\xA0", 1, &s) == 1);  /* 3nd byte processed */
+  assert (mbrtowc (&wc, "\xA0", 1, &s) == 1);  /* 3rd byte processed */
   assert (wc == 0x2260);       /* E2 89 A0 = U+2260 (not equal) decoded correctly */
   assert (mbrtowc (&wc, "", 1, &s) == 0);      /* test final byte processing */
   assert (wc == 0);            /* test final byte decoding */
@@ -88,7 +88,7 @@ utf8_test_2 (void)
   memset (&s, 0, sizeof (s));  /* get s into initial state */
   assert (mbrtowc (&wc, "\xE2", 1, &s) == (size_t) -2);        /* 1st byte processed */
   assert (mbrtowc (&wc, "\x89", 1, &s) == (size_t) -2);        /* 2nd byte processed */
-  assert (mbrtowc (&wc, "\xA0", 1, &s) == 1);  /* 3nd byte processed */
+  assert (mbrtowc (&wc, "\xA0", 1, &s) == 1);  /* 3rd byte processed */
   assert (mbrtowc (NULL, "", 1, &s) == 0); /* valid terminator */
   assert (mbsinit (&s));
 
@@ -122,7 +122,7 @@ utf8_test_3 (void)
   memset (&s, 0, sizeof (s));  /* get s into initial state */
   assert (mbrtowc (&wc, "\xE2", 1, &s) == (size_t) -2);        /* 1st byte processed */
   assert (mbrtowc (&wc, "\x89", 1, &s) == (size_t) -2);        /* 2nd byte processed */
-  assert (mbrtowc (&wc, "\xA0", 1, &s) == 1);  /* 3nd byte processed */
+  assert (mbrtowc (&wc, "\xA0", 1, &s) == 1);  /* 3rd byte processed */
   assert (mbrtowc (NULL, NULL, 0, &s) == 0); /* valid terminator */
   assert (mbsinit (&s));