]> Savannah Git Hosting - gnulib.git/commitdiff
Spelling fixes
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 8 Jun 2023 21:53:51 +0000 (14:53 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 8 Jun 2023 21:56:11 +0000 (14:56 -0700)
Most of these were reported by Josh Soref <jsoref@gmail.com> in:
https://lists.gnu.org/r/bug-gnulib/2023-06/msg00057.html
except that some are omitted because the original is OK (e.g.,
"obsolescent"), and some are omitted because they are upstream
files and I've fixed them upstream or have filed bug reports,
and I made a few nearby corrections to grammar.

52 files changed:
ChangeLog
Makefile
STATUS-libposix
build-aux/bootstrap
build-aux/vcs-to-changelog.py
build-aux/vcstocl/frontend_c.py
doc/gnulib-tool.texi
doc/lib-symbol-visibility.texi
doc/maintain.texi
doc/posix-functions/aligned_alloc.texi
doc/posix-functions/ctime.texi
doc/posix-functions/mbrtowc.texi
doc/standards.texi
lib/argp-parse.c
lib/argp.h
lib/bitset.h
lib/des.c
lib/dfa.c
lib/fchownat.c
lib/fts.c
lib/hash.h
lib/mbmemcasecoll.c
lib/parse-datetime.y
lib/regcomp.c
lib/rename.c
lib/setlocale.c
lib/sigsegv.in.h
lib/stackvma.c
lib/sys_file.in.h
lib/timevar.h
lib/wchar.in.h
m4/fsusage.m4
m4/lib-link.m4
modules/c-vsnprintf
pygnulib/GLConfig.py
pygnulib/GLImport.py
pygnulib/GLInfo.py
pygnulib/GLTestDir.py
pygnulib/__init__.py
pygnulib/constants.py
tests/test-execute-main.c
tests/test-getlogin.h
tests/test-intprops.c
tests/test-pthread-tss.c
tests/test-sigsegv-catch-segv1.c
tests/test-sigsegv-catch-segv2.c
tests/test-sigsegv-catch-stackoverflow2.c
tests/test-tls.c
tests/test-tss.c
top/bootstrap-funclib.sh
top/gitsub.sh
top/maint.mk

index 4bbdb9ccf389e53acc1dd723169c9f53c2331e06..9345067bb74944b2df8eb90b184ac7ac609e3ce7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
 2008-04-11  Simon Josefsson  <simon@josefsson.org>
 
        * lib/gc-gnulib.c: On Windows, use CryptGenRandom from CSP instead
-       of attempting to use non-existing /dev/*random.  Based on patch
+       of attempting to use nonexistent /dev/*random.  Based on patch
        from Adam Strzelecki <ono@java.pl> in
        <http://lists.gnu.org/r/help-gsasl/2008-02/msg00000.html>.
 
index 9cc7979557a94a605fd46309473603f9ea826606..6915fa5dbdacca354fe874279cfd33f1ef0b377b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -276,7 +276,7 @@ COPYRIGHT_TZ = UTC0
 # Also exclude doc/INSTALL*, since they too are generated.
 # Also adjust template-style files that must start with a single
 # (the current) year number in some places.
-# Also adjust version-etc.c and and gendocs.sh.
+# Also adjust version-etc.c and gendocs.sh.
 update-copyright:
        export TZ='$(COPYRIGHT_TZ)';                                    \
        exempt=$$(mktemp);                                              \
index 9b74be4c96a32887427983a448ec087f507b194a..e95a2a5dd1cc222de15a11f6b9866fa2f33a205b 100644 (file)
@@ -63,7 +63,7 @@ Bruno Haible says:
   <https://lists.gnu.org/r/bug-gnulib/2010-10/msg00291.html>
   <https://lists.gnu.org/r/bug-gnulib/2010-10/msg00308.html
 
-3) iconv_open's file file list
+3) iconv_open's file list
   <https://lists.gnu.org/r/bug-gnulib/2010-10/msg00282.html>
 
   Discussion:
index 8c68e96d43b1a578689600489457da0c00db9518..93e000d155df348368a2943e92e7ce2a4a1cd7a9 100755 (executable)
@@ -340,7 +340,7 @@ check_versions() {
     # Handle the still-experimental Automake-NG programs specially.
     # They remain named as the mainstream Automake programs ("automake",
     # and "aclocal") to avoid gratuitous incompatibilities with
-    # pre-existing usages (by, say, autoreconf, or custom autogen.sh
+    # preexisting usages (by, say, autoreconf, or custom autogen.sh
     # scripts), but correctly identify themselves (as being part of
     # "GNU automake-ng") when asked their version.
     case $app in
index f41c4aa2e017734744adcab75a952fa6430e7550..946798f2506585ada7ecad529ee6291488a6eb77 100755 (executable)
@@ -28,12 +28,12 @@ ProjectQuirks or a subclass of the same.  The definition of the ProjectQuirks
 class is below and it specifies the properties that the project must set to
 ensure correct parsing of its contents.
 
-Among other things, ProjectQurks specifies the VCS to read from; the default is
+Among other things, ProjectQuirks specifies the VCS to read from; the default is
 assumed to be git.  The script then studies the VCS log and for each change,
 list out the nature of changes in the constituent files.
 
 Each file type may have parser frontends that can read files and construct
-objects that may be compared to determine the minimal changes that occured in
+objects that may be compared to determine the minimal changes that occurred in
 each revision.  For files that do not have parsers, we may only know the nature
 of changes at the top level depending on the information that the VCS stores.
 
index bb3fee8b560f5d01b491461dc7d8b11c4cd2b3a0..926d81b775e5c68d30b359c401f4c6426bb95fe1 100644 (file)
@@ -206,7 +206,7 @@ class CompositeParser(ExprParser):
             if 'typedef' in cur:
                 name = re.sub(r'.*}\s*(\w+);$', r'\1', cur)
             else:
-                name= '<anoymous>'
+                name= '<anonymous>'
 
         ctype = found.group(1)
 
@@ -457,7 +457,7 @@ class Frontend:
         ''' Parse a preprocessor directive.
 
         In case a preprocessor condition (i.e. if/elif/else), create a new code
-        block to nest code into and in other cases, identify and add entities suchas
+        block to nest code into and in other cases, identify and add entities such as
         include files, defines, etc.
 
         - OP is the string array for the file
@@ -649,7 +649,7 @@ class Frontend:
     def consolidate_tree_blocks(self, tree):
         ''' Consolidate common macro conditional blocks.
 
-        Get macro conditional blocks at the same level but scatterred across the
+        Get macro conditional blocks at the same level but scattered across the
         file together into a single common block to allow for better comparison.
         '''
         # Nothing to do for non-nesting blocks.
index 03f7cacbd56f3f9a0884fc91f3d6fe7ded30c24e..3737ed694303c1e5d335a0d0f86eecd33e43dd1a 100644 (file)
@@ -179,7 +179,7 @@ extra effort to create self-contained tarballs, and it may disturb some
 mechanism the maintainer applies to the sources.  For these reasons,
 this option is generally discouraged.
 
-@code{gnulib-tool} will overwrite any pre-existing files, in
+@code{gnulib-tool} will overwrite any preexisting files, in
 particular @file{Makefile.am}.  It is also possible to separate the
 generated @file{Makefile.am} content (for building the gnulib library)
 into a separate file, say @file{gnulib.mk}, that can be included by your
index ec948a37ad804a1ddb9f7bdfbfa824c20e098a1c..be5e0863fc99115d1585c28f1b0912c956c20b5e 100644 (file)
@@ -116,7 +116,7 @@ macOS,
 AIX with gcc or xlclang.
 @end itemize
 @noindent
-It is not supprted on
+It is not supported on
 @itemize @bullet
 @item
 Other compilers on ELF platforms or AIX,
index e03e426d753742968b6a23fd443a7f0f49c72857..ef3ca18d182fffc31a834fad86130e143112d95d 100644 (file)
@@ -2267,7 +2267,7 @@ positively authenticate the signatures, then the files
 @file{foo-1.0.tar.gz} and @file{foo-1.0.tar.gz.sig} will be placed in the
 directory @file{gnu/bar/v1} of the @code{ftp.gnu.org} site.
 
-The directive file can be used to create currently non-existent
+The directive file can be used to create currently nonexistent
 directory trees, as long as they are under the package directory for
 your package (in the example above, that is @code{bar}).
 
@@ -2446,10 +2446,10 @@ Consideration}).  Although the GIF patents expired in 2006, using GIF
 images is still not recommended, as the PNG and JPEG formats are
 generally superior.  See @url{https://www.gnu.org/philosophy/gif.html}.
 
-Please make sure that any Javascript code in your web pages is covered
+Please make sure that any JavaScript code in your web pages is covered
 by a free license, and has its license indicated in a way LibreJS can
 recognize.  See @url{https://gnu.org/philosophy/javascript-trap.html}.
-If the Javascript in the page is minified, or for any other reason is
+If the JavaScript in the page is minified, or for any other reason is
 not the source code, it must point to its source code as described
 there.
 
index e78ca16f9ed5d7fdb28cf06ea90a27eb98a5451c..7180cf3c125834a267d57fbcd4a420def9d47c08 100644 (file)
@@ -32,7 +32,7 @@ that do not crash even if the AddressSanitizer bug is present:
 @itemize
 @item
 The Gnulib module @code{alignalloc} provides a portable function
-@code{alignalloc} that is a near-substitute for for glibc
+@code{alignalloc} that is a near-substitute for glibc
 @code{aligned_alloc}, except that the result must be freed
 with @code{alignfree} rather than plain @code{free}.
 
index bb6abb23a80d4ef2cd13a86604bee667cbbac580..2ac56cb524738a44c8c3078961ebff6fe999b89e 100644 (file)
@@ -27,7 +27,7 @@ not required to be thread safe.  Implementations of @code{ctime}
 typically write the timestamp into static buffer.  If two threads
 call @code{ctime} at roughly the same time, you might end up with the
 wrong date in one of the threads, or some undefined string.  There is
-a re-entrant interface @code{ctime_r}.
+a reentrant interface @code{ctime_r}.
 @item
 Native Windows platforms (mingw, MSVC) support only a subset of time
 zones supported by GNU or specified by POSIX@.  @xref{tzset}.
index bcba3f4c531c080f908db33f0249d185eab81a11..163a374ea233352d3658465317b8492f01043a88 100644 (file)
@@ -28,7 +28,7 @@ This function does not put the state into non-initial state when parsing an
 incomplete multibyte character on some platforms:
 AIX 7.2.
 @item
-This function stores a wide character when when parsing an incomplete multibyte
+This function stores a wide character when parsing an incomplete multibyte
 character on some platforms:
 MSVC 14.
 @item
index 30592c6568222cc01ae0307e18f9b0b36902fc4e..b1562b9353d77481b1e9a43ec4fed17fe92a6611 100644 (file)
@@ -4607,19 +4607,19 @@ you should not link to @var{p}.
 
 A web page recommends a program in an implicit but particularly strong
 way if it requires users to run that program in order to use the page.
-Many pages contain Javascript code which they recommend in this way.
-This Javascript code may be free or non-free, but non-free is the usual
+Many pages contain JavaScript code which they recommend in this way.
+This JavaScript code may be free or non-free, but non-free is the usual
 case.
 
 If the purpose for which you would refer to the page cannot be carried
-out without running non-free Javascript code, then you should not refer
+out without running non-free JavaScript code, then you should not refer
 to it.  Thus, if the purpose of referring to the page is for people to
 view a video, or subscribing to a mailing list, and the viewing or
 subscribing fail to work if the user's browser blocks the non-free
-Javascript code, then don't refer to that page.
+JavaScript code, then don't refer to that page.
 
 The extreme case is that of web sites which depend on non-free
-Javascript code even to @emph{see} the contents of the pages.  Any
+JavaScript code even to @emph{see} the contents of the pages.  Any
 site hosted on @indicateurl{wix.com} has this problem, and so do some
 other sites.  Referring people to such pages to read their contents
 is, in effect, urging them to run those non-free programs---so please
index a147a1e71bcd8f992d99edf1f3a9cfa2a2775e9d..dfc4351f9b4f7c0d7dfaea9a8c176068e6db67fd 100644 (file)
@@ -248,7 +248,7 @@ struct parser
   /* LONG_OPTS is the array of getop long option structures for the union of
      all the groups of options.  */
   struct option *long_opts;
-  /* OPT_DATA is the getopt data used for the re-entrant getopt.  */
+  /* OPT_DATA is the getopt data used for the reentrant getopt.  */
   struct _getopt_data opt_data;
 
   /* States of the various parsing groups.  */
index 7de939a2a13bdd2cf9c104458387cfd4acb65e32..404a631ca7f18726b16dcad5f369c369731b3eee 100644 (file)
@@ -407,7 +407,7 @@ struct argp_state
    unknown option is present, ARGP_ERR_UNKNOWN is returned; if some parser
    routine returned a non-zero value, it is returned; otherwise 0 is
    returned.  This function may also call exit unless the ARGP_NO_HELP flag
-   is set.  INPUT is a pointer to a value to be passed in to the parser.  */
+   is set.  INPUT is a pointer to a value to be passed into the parser.  */
 extern error_t argp_parse (const struct argp *__restrict __argp,
                            int /*argc*/, char **__restrict /*argv*/,
                            unsigned __flags, int *__restrict __arg_index,
index bb6596f7fe1bde960b83fc2bad50abdf1f9897db..93146626a8d1af908cc2df4ddedce9c35e63e38d 100644 (file)
@@ -383,10 +383,10 @@ void bitset_stats_enable (void);
 /* Disable bitset stats gathering.  */
 void bitset_stats_disable (void);
 
-/* Read bitset stats file of accummulated stats.  */
+/* Read bitset stats file of accumulated stats.  */
 void bitset_stats_read (const char *file_name);
 
-/* Write bitset stats file of accummulated stats.  */
+/* Write bitset stats file of accumulated stats.  */
 void bitset_stats_write (const char *file_name);
 
 /* Dump bitset stats.  */
index 3aad65170bd94c4c177d42351d19b6f63a0dfb3e..46d701822e1147a8b70629df1b1b9ca64e9c72e1 100644 (file)
--- a/lib/des.c
+++ b/lib/des.c
@@ -50,7 +50,7 @@
  *     unsigned char key[8];
  *     unsigned char plaintext[8];
  *     unsigned char ciphertext[8];
- *     unsigned char recoverd[8];
+ *     unsigned char recovered[8];
  *     gl_des_ctx context;
  *
  *     // Fill 'key' and 'plaintext' with some data
@@ -63,7 +63,7 @@
  *     des_ecb_encrypt(&context, plaintext, ciphertext);
  *
  *     // To recover the original plaintext from ciphertext use:
- *     des_ecb_decrypt(&context, ciphertext, recoverd);
+ *     des_ecb_decrypt(&context, ciphertext, recovered);
  *
  *
  * Triple-DES Example
  *     unsigned char key3[8];
  *     unsigned char plaintext[8];
  *     unsigned char ciphertext[8];
- *     unsigned char recoverd[8];
+ *     unsigned char recovered[8];
  *     gl_3des_ctx context;
  *
- *     // If you would like to use two 64bit keys, fill 'key1' and'key2'
+ *     // If you would like to use two 64bit keys, fill 'key1' and 'key2'
  *     // then setup the encryption context:
  *     gl_3des_set2keys(&context, key1, key2);
  *
@@ -87,7 +87,7 @@
  *     gl_3des_ecb_encrypt(&context, plaintext, ciphertext);
  *
  *     // Decrypting ciphertext to recover the plaintext with Triple-DES
- *     gl_3des_ecb_decrypt(&context, ciphertext, recoverd);
+ *     gl_3des_ecb_decrypt(&context, ciphertext, recovered);
  */
 
 
index d54aab40fd8ef5b3ce3201a50f96da87c9a63de5..f1bab73059be27c7d34ec1c2c41878d69e60e960 100644 (file)
--- a/lib/dfa.c
+++ b/lib/dfa.c
@@ -3263,9 +3263,9 @@ build_state (state_num s, struct dfa *d, unsigned char uc)
 /* Multibyte character handling sub-routines for dfaexec.  */
 
 /* Consume a single byte and transit state from 's' to '*next_state'.
-   This function is almost same as the state transition routin in dfaexec.
-   But state transition is done just once, otherwise matching succeed or
-   reach the end of the buffer.  */
+   This is almost the same as the state transition routine in dfaexec.
+   But the state transition is done just once; otherwise, matching succeeds or
+   we reach the end of the buffer.  */
 static state_num
 transit_state_singlebyte (struct dfa *d, state_num s, unsigned char const **pp)
 {
index 8d00ae587c25b15a0d75d72837c18093b117f9f2..c8a016088f0f453c0a3b585e0ff81b0f1741d9c1 100644 (file)
@@ -1,5 +1,5 @@
 /* This function serves as replacement for a missing fchownat function,
-   as well as a work around for the fchownat bug in glibc-2.4:
+   as well as a workaround for the fchownat bug in glibc-2.4:
     <https://lists.ubuntu.com/archives/ubuntu-users/2006-September/093218.html>
    when the buggy fchownat-with-AT_SYMLINK_NOFOLLOW operates on a symlink, it
    mistakenly affects the symlink referent, rather than the symlink itself.
index 3fffb45d701e120e5ddde9015e024ade3234ed06..884b84a5a1a805ce4e38c022ec09186e07954e92 100644 (file)
--- a/lib/fts.c
+++ b/lib/fts.c
@@ -1804,7 +1804,7 @@ fts_stat(FTS *sp, register FTSENT *p, bool follow)
 
         /*
          * If doing a logical walk, or application requested FTS_FOLLOW, do
-         * a stat(2).  If that fails, check for a non-existent symlink.  If
+         * a stat(2).  If that fails, check for a nonexistent symlink.  If
          * fail, set the errno from the stat call.
          */
         int flags = follow ? 0 : AT_SYMLINK_NOFOLLOW;
index be42e5af6a8a98a67733820b715d531b41c6c995..54d3f22f69bb44cf837552ea9dbe9420f08b44c0 100644 (file)
@@ -204,7 +204,7 @@ extern Hash_table *hash_xinitialize (size_t candidate,
   _GL_ATTRIBUTE_RETURNS_NONNULL;
 
 /* Make all buckets empty, placing any chained entries on the free list.
-   Apply the user-specified function data_freer (if any) to the datas of any
+   Apply the user-specified function data_freer (if any) to the data of any
    affected entries.  */
 extern void hash_clear (Hash_table *table);
 
index 552dbbbd7237e710a9e5c4ed46d8f115cc26e705..6f4acb7e777e763d8404c79cd8e4a2d2437dc0a8 100644 (file)
@@ -159,7 +159,7 @@ mbmemcasecoll (const char *s1, size_t s1len, const char *s2, size_t s2len,
   t1 = memory;
   t2 = memory + t1len + 1;
 
-  /* Csae-fold the two argument strings.  */
+  /* Case-fold the two argument strings.  */
   if (MB_CUR_MAX > 1)
     {
       t1len = apply_towlower (s1, s1len, t1, t1len);
index 18c9ebef3c04c3057432d4d3fe236b2966700ca1..f926f4d84c3d480001545e9b59ebee7d90485de5 100644 (file)
@@ -1638,7 +1638,7 @@ debug_strftime (struct tm const *tm, char *buf, int n)
     date:        normalized time: '(Y-M-D) 2006-04-02 03:45:00'
     date:                                             __
     date:      possible reasons:
-    date:        non-existing due to daylight-saving time;
+    date:        nonexistent due to daylight-saving time;
     date:        numeric values overflow;
     date:        missing timezone;
  */
@@ -1690,7 +1690,7 @@ debug_mktime_not_ok (struct tm const *tm0, struct tm const *tm1,
 
   dbg_printf (_("     possible reasons:\n"));
   if (dst_shift)
-    dbg_printf (_("       non-existing due to daylight-saving time;\n"));
+    dbg_printf (_("       nonexistent due to daylight-saving time;\n"));
   if (!eq_mday && !eq_month)
     dbg_printf (_("       invalid day/month combination;\n"));
   dbg_printf (_("       numeric values overflow;\n"));
index 894783968551683105831829ad0bf0e137fb75a5..1f6a131107bbc8f4ffa92b0b298820a8a85ba8c5 100644 (file)
@@ -905,7 +905,7 @@ init_word_char (re_dfa_t *dfa)
       bitset_word_t bits3 = 0x07fffffe;
       if (BITSET_WORD_BITS == 64)
        {
-         /* Pacify gcc -Woverflow on 32-bit platformns.  */
+         /* Pacify gcc -Woverflow on 32-bit platforms.  */
          dfa->word_char[0] = bits1 << 31 << 1 | bits0;
          dfa->word_char[1] = bits3 << 31 << 1 | bits2;
          i = 2;
index 4722f13a12d6f1a8b832dfedbc2c7e587af4057b..aa3afd87684dca7b4103498836040b619160ae6c 100644 (file)
@@ -360,7 +360,7 @@ rpl_rename (char const *src, char const *dst)
 # if (RENAME_TRAILING_SLASH_SOURCE_BUG || RENAME_DEST_EXISTS_BUG        \
       || RENAME_HARD_LINK_BUG)
   /* If the only bug was that a trailing slash was allowed on a
-     non-existing file destination, as in Solaris 10, then we've
+     nonexistent file destination, as in Solaris 10, then we've
      already covered that situation.  But if there is any problem with
      a trailing slash on an existing source or destination, as in
      Solaris 9, or if a directory can overwrite a symlink, as on
index d3b453c2c383b824d89b6d7a93406e9c9dd0f33c..c976e9abf7d08b542c71583af6457f6b10e2224e 100644 (file)
@@ -1574,7 +1574,7 @@ setlocale_improved (int category, const char *locale)
                            For LC_COLLATE, the application should use the locale
                            properties kCFLocaleCollationIdentifier,
                            kCFLocaleCollatorIdentifier.
-                           For LC_MONETARY, the applicationshould use the locale
+                           For LC_MONETARY, the application should use the locale
                            properties kCFLocaleCurrencySymbol,
                            kCFLocaleCurrencyCode.
                            But since most applications don't have macOS specific
index 40b453e67b67bbbfbba9f753cd8a2acf7d653a01..7db6c0df3966f1378620f1022f12d715f86a0e4c 100644 (file)
@@ -214,7 +214,7 @@ typedef void (*stackoverflow_handler_t) (int emergency, stackoverflow_context_t
  * Installs a stack overflow handler.
  * The extra_stack argument is a pointer to a pre-allocated area used as a
  * stack for executing the handler. It typically comes from a static variable
- * or from heap-allocated memoty; placing it on the main stack may fail on
+ * or from heap-allocated memory; placing it on the main stack may fail on
  * some operating systems.
  * Its size, passed in extra_stack_size, should be sufficiently large.  The
  * following code determines an appropriate size:
index 1224b7b07cdb740dd907a924ccff6c3d77ebc03a..0f245fba1bbba7e892dc2c5545e160f999c95be8 100644 (file)
@@ -112,7 +112,7 @@ simple_is_near_this (uintptr_t addr, struct vma_struct *vma)
      - On all platforms, if some other thread is doing memory allocations or
        deallocations between two read() calls, there is a high risk that the
        result of these two read() calls don't fit together, and as a
-       consequence we will parse gargage and either omit some VMAs or return
+       consequence we will parse garbage and either omit some VMAs or return
        VMAs with nonsensical addresses.
    So use mmap(), and ignore the resulting VMA.
    The stack-allocated buffer cannot be too large, because this can be called
@@ -939,7 +939,7 @@ struct callback_locals
 {
   uintptr_t address;
   struct vma_struct *vma;
-  /* The stack appears as multiple adjacents segments, therefore we
+  /* The stack appears as multiple adjacent segments, therefore we
      merge adjacent segments.  */
   uintptr_t curr_start, curr_end;
 # if STACK_DIRECTION < 0
@@ -1050,7 +1050,7 @@ struct callback_locals
 {
   uintptr_t address;
   struct vma_struct *vma;
-  /* The stack appears as multiple adjacents segments, therefore we
+  /* The stack appears as multiple adjacent segments, therefore we
      merge adjacent segments.  */
   uintptr_t curr_start, curr_end;
 # if STACK_DIRECTION < 0
@@ -2160,7 +2160,7 @@ struct callback_locals
 {
   uintptr_t address;
   struct vma_struct *vma;
-  /* The stack appears as three adjacents segments, therefore we
+  /* The stack appears as three adjacent segments, therefore we
      merge adjacent segments.  */
   uintptr_t curr_start, curr_end;
 # if STACK_DIRECTION < 0
index dbce79997313132cba40212b1d645dfede935a22..3919e576515a71eb7a989428317e5133e47586f2 100644 (file)
@@ -43,7 +43,7 @@
 # define LOCK_EX 2       /* Exclusive lock.  */
 # define LOCK_UN 8       /* Unlock.  */
 
-/* Can be OR'd in to one of the above.  */
+/* Can be OR'd into one of the above.  */
 # define LOCK_NB 4       /* Don't block when locking.  */
 #endif
 
index cafa02407e737e6233ca39549d3df67d9fc005ac..057adb8a79d3f082c174c4c801d3fd9baec0aa50 100644 (file)
@@ -35,7 +35,7 @@ extern "C" {
    system.
 
    Timing variables are defined using the DEFTIMEVAR macro in
-   timevar.def.  Each has an enumeral identifier, used when referring
+   timevar.def.  Each has an identifier of type timevar_id_t, used to refer
    to the timing variable in code, and a character string name.
 
    Timing variables can be used in two ways:
index 69fa2f8f59b4bf6e6c2540b7a5b56e38f8c38584..75f3ed21ffa8e64daef8046934877519c7874b47 100644 (file)
@@ -1199,7 +1199,7 @@ _GL_WARN_ON_USE (wcsrchr, "wcsrchr is unportable - "
 #endif
 
 
-/* Return the length of the initial segmet of WCS which consists entirely
+/* Return the length of the initial segment of WCS which consists entirely
    of wide characters not in REJECT.  */
 #if @GNULIB_WCSCSPN@
 # if !@HAVE_WCSCSPN@
@@ -1219,7 +1219,7 @@ _GL_WARN_ON_USE (wcscspn, "wcscspn is unportable - "
 #endif
 
 
-/* Return the length of the initial segmet of WCS which consists entirely
+/* Return the length of the initial segment of WCS which consists entirely
    of wide characters in ACCEPT.  */
 #if @GNULIB_WCSSPN@
 # if !@HAVE_WCSSPN@
index 88f3ca817cb37baadb984377c2b4131e61e03fce..724a863ac30d5b1c4ca3372e15601fe471d1541c 100644 (file)
@@ -269,7 +269,7 @@ int check_f_blocks_size[sizeof fsd.f_blocks * CHAR_BIT <= 32 ? -1 : 1];
 
 # Check for SunOS statfs brokenness wrt partitions 2GB and larger.
 # If <sys/vfs.h> exists and struct statfs has a member named f_spare,
-# enable the work-around code in fsusage.c.
+# enable the workaround code in fsusage.c.
 AC_DEFUN([gl_STATFS_TRUNCATES],
 [
   AC_CACHE_CHECK([for statfs that truncates block counts],
index 653e34f8d1c28cde18b191b62ea07e30edfc1b2d..5f8afae61a6a6093547ff10737765aa791fade0e 100644 (file)
@@ -224,7 +224,7 @@ AC_DEFUN([AC_LIB_LINKFLAGS_BODY],
     additional_libdir3=
   fi
   dnl Search the library and its dependencies in $additional_libdir and
-  dnl $LDFLAGS. Using breadth-first-seach.
+  dnl $LDFLAGS. Use breadth-first search.
   LIB[]NAME=
   LTLIB[]NAME=
   INC[]NAME=
index eb62fd96911af245c59884239bb01e01e31759d7..8188a96d3916784af4ae13d9154506bd55144870 100644 (file)
@@ -1,5 +1,5 @@
 Description:
-c_vsnprintf(): print formatted output from an stdarg argument listto a
+c_vsnprintf(): print formatted output from an stdarg argument list to a
 fixed length string in C locale
 
 Files:
index a2392bf90419e47e753d483b97dd64875de1920c..b99797d6441133e95b6f67685d1270313e0ee3a7 100644 (file)
@@ -577,7 +577,7 @@ class GLConfig(object):
                             % type(file).__name__)
 
     def getFiles(self):
-        '''Return the list of the fileed files.'''
+        '''Return the list of files.'''
         return list(self.table['files'])
 
     def setFiles(self, files):
index b7305eaacbc079a2c99b58c3742a8a82ce2b4a3c..707c3e74d35c2eefb048316dc1cf68745eadff5e 100644 (file)
@@ -257,7 +257,7 @@ class GLImport(object):
             raise GLError(10, None)
 
         # Define GLImport attributes.
-        self.emiter = GLEmiter(self.config)
+        self.emitter = GLEmiter(self.config)
         self.filesystem = GLFileSystem(self.config)
         self.modulesystem = GLModuleSystem(self.config)
         self.moduletable = GLModuleTable(self.config,
@@ -490,7 +490,7 @@ class GLImport(object):
         modules = [ str(module)
                     for module in moduletable['base'] ]
         avoids = self.config['avoids']
-        emit += self.emiter.copyright_notice()
+        emit += self.emitter.copyright_notice()
         emit += '''#
 # This file represents the specification of how gnulib-tool is used.
 # It acts as a cache: It is written and read by gnulib-tool.
@@ -575,7 +575,7 @@ class GLImport(object):
         modules = [ str(module)
                     for module in moduletable['base'] ]
         emit += '# DO NOT EDIT! GENERATED AUTOMATICALLY!\n'
-        emit += self.emiter.copyright_notice()
+        emit += self.emitter.copyright_notice()
         emit += '''#
 # This file represents the compiled summary of the specification in
 # gnulib-cache.m4. It lists the computed macro invocations that need
@@ -593,7 +593,7 @@ AC_DEFUN([%s_EARLY],
   m4_pattern_allow([^gl_ES$])dnl a valid locale name
   m4_pattern_allow([^gl_LIBOBJS$])dnl a variable
   m4_pattern_allow([^gl_LTLIBOBJS$])dnl a variable\n''' % (configure_ac, macro_prefix)
-        emit += self.emiter.preEarlyMacros(True, '  ', moduletable['final'])
+        emit += self.emitter.preEarlyMacros(True, '  ', moduletable['final'])
         uses_subdirs = False
         for module in moduletable['main']:
             # Test whether there are some source files in subdirectories.
@@ -630,20 +630,20 @@ AC_DEFUN([%s_INIT],
         if auxdir != 'build-aux':
             replace_auxdir = True
         emit += '  gl_m4_base=\'%s\'\n' % m4base
-        emit += self.emiter.initmacro_start(macro_prefix)
+        emit += self.emitter.initmacro_start(macro_prefix)
         emit += '  gl_source_base=\'%s\'\n' % sourcebase
         if witness_c_macro:
             emit += '  m4_pushdef([gl_MODULE_INDICATOR_CONDITION], [%s])\n' % witness_c_macro
         # Emit main autoconf snippets.
-        emit += self.emiter.autoconfSnippets(moduletable['main'],
-                                             moduletable, 0, True, False, True, replace_auxdir)
+        emit += self.emitter.autoconfSnippets(moduletable['main'],
+                                              moduletable, 0, True, False, True, replace_auxdir)
         if witness_c_macro:
             emit += '  m4_popdef([gl_MODULE_INDICATOR_CONDITION])\n'
         emit += '  # End of code from modules\n'
-        emit += self.emiter.initmacro_end(macro_prefix)
+        emit += self.emitter.initmacro_end(macro_prefix)
         emit += '  gltests_libdeps=\n'
         emit += '  gltests_ltlibdeps=\n'
-        emit += self.emiter.initmacro_start('%stests' % macro_prefix)
+        emit += self.emitter.initmacro_start('%stests' % macro_prefix)
         emit += '  gl_source_base=\'%s\'\n' % testsbase
         # Define a tests witness macro that depends on the package.
         # PACKAGE is defined by AM_INIT_AUTOMAKE, PACKAGE_TARNAME is defined by
@@ -658,10 +658,10 @@ AC_DEFUN([%s_INIT],
         emit += '  m4_pushdef([gl_MODULE_INDICATOR_CONDITION], '
         emit += '[$gl_module_indicator_condition])\n'
         # Emit tests autoconf snippets.
-        emit += self.emiter.autoconfSnippets(moduletable['tests'],
-                                             moduletable, 0, True, True, True, replace_auxdir)
+        emit += self.emitter.autoconfSnippets(moduletable['tests'],
+                                              moduletable, 0, True, True, True, replace_auxdir)
         emit += '  m4_popdef([gl_MODULE_INDICATOR_CONDITION])\n'
-        emit += self.emiter.initmacro_end('%stests' % macro_prefix)
+        emit += self.emitter.initmacro_end('%stests' % macro_prefix)
         # _LIBDEPS and _LTLIBDEPS variables are not needed if this library is
         # created using libtool, because libtool already handles the dependencies.
         if not libtool:
@@ -674,8 +674,8 @@ AC_DEFUN([%s_INIT],
             emit += '  LIBTESTS_LIBDEPS="$gltests_libdeps"\n'
             emit += '  AC_SUBST([LIBTESTS_LIBDEPS])\n'
         emit += '])\n'
-        emit += self.emiter.initmacro_done(macro_prefix, sourcebase)
-        emit += self.emiter.initmacro_done('%stests' % macro_prefix, testsbase)
+        emit += self.emitter.initmacro_done(macro_prefix, sourcebase)
+        emit += self.emitter.initmacro_done('%stests' % macro_prefix, testsbase)
         emit += '''
 # This macro records the list of files which have been installed by
 # gnulib-tool and may be removed by future gnulib-tool invocations.
@@ -1135,9 +1135,9 @@ AC_DEFUN([%s_FILE_LIST], [\n''' % macro_prefix
         # Create library makefile.
         basename = joinpath(sourcebase, makefile_am)
         tmpfile = self.assistant.tmpfilename(basename)
-        emit, uses_subdirs = self.emiter.lib_Makefile_am(basename,
-                                                         self.moduletable['main'], self.moduletable, self.makefiletable,
-                                                         actioncmd, for_test)
+        emit, uses_subdirs = self.emitter.lib_Makefile_am(basename,
+                                                          self.moduletable['main'], self.moduletable, self.makefiletable,
+                                                          actioncmd, for_test)
         with codecs.open(tmpfile, 'wb', 'UTF-8') as file:
             file.write(emit)
         filename, backup, flag = self.assistant.super_update(basename, tmpfile)
@@ -1183,7 +1183,7 @@ AC_DEFUN([%s_FILE_LIST], [\n''' % macro_prefix
             # Create po makefile parameterization, part 1.
             basename = joinpath(pobase, 'Makevars')
             tmpfile = self.assistant.tmpfilename(basename)
-            emit = self.emiter.po_Makevars()
+            emit = self.emitter.po_Makevars()
             with codecs.open(tmpfile, 'wb', 'UTF-8') as file:
                 file.write(emit)
             filename, backup, flag = self.assistant.super_update(basename, tmpfile)
@@ -1205,7 +1205,7 @@ AC_DEFUN([%s_FILE_LIST], [\n''' % macro_prefix
             basename = joinpath(pobase, 'POTFILES.in')
             tmpfile = self.assistant.tmpfilename(basename)
             with codecs.open(tmpfile, 'wb', 'UTF-8') as file:
-                file.write(self.emiter.po_POTFILES_in(filetable['all']))
+                file.write(self.emitter.po_POTFILES_in(filetable['all']))
             basename = joinpath(pobase, 'POTFILES.in')
             filename, backup, flag = self.assistant.super_update(basename, tmpfile)
             if flag == 1:
@@ -1314,9 +1314,9 @@ AC_DEFUN([%s_FILE_LIST], [\n''' % macro_prefix
         if inctests:
             basename = joinpath(testsbase, makefile_am)
             tmpfile = self.assistant.tmpfilename(basename)
-            emit, uses_subdirs = self.emiter.lib_Makefile_am(basename,
-                                                             self.moduletable['tests'], self.moduletable, self.makefiletable,
-                                                             actioncmd, for_test)
+            emit, uses_subdirs = self.emitter.lib_Makefile_am(basename,
+                                                              self.moduletable['tests'], self.moduletable, self.makefiletable,
+                                                              actioncmd, for_test)
             with codecs.open(tmpfile, 'wb', 'UTF-8') as file:
                 file.write(emit)
             filename, backup, flag = self.assistant.super_update(basename, tmpfile)
index 5e2eba54ddb71cbe62dcc0d23c147778c2e8a20c..cefb63a67901c621018435123e03b37d73342a9e 100644 (file)
@@ -43,7 +43,7 @@ isdir = os.path.isdir
 # Define GLInfo class
 #===============================================================================
 class GLInfo(object):
-    '''This class is used to get fromatted information about gnulib-tool.
+    '''This class is used to get formatted information about gnulib-tool.
     This information is mainly used in stdout messages, but can be used
     anywhere else. The return values are not the same as for the module,
     but still depends on them.'''
index 6eead9adb891839e33662fa7fb2f444fd587ed7d..7a6ef559f1e61f435a8ce5e43734b1783a263cfe 100644 (file)
@@ -80,7 +80,7 @@ class GLTestDir(object):
                 os.mkdir(self.testdir)
             except Exception as error:
                 raise GLError(19, self.testdir)
-        self.emiter = GLEmiter(self.config)
+        self.emitter = GLEmiter(self.config)
         self.filesystem = GLFileSystem(self.config)
         self.modulesystem = GLModuleSystem(self.config)
         self.assistant = GLFileAssistant(self.config)
@@ -354,11 +354,11 @@ class GLTestDir(object):
             os.mkdir(directory)
         destfile = joinpath(directory, 'Makefile.am')
         if single_configure:
-            emit, uses_subdirs = self.emiter.lib_Makefile_am(destfile, main_modules,
-                                                             moduletable, self.makefiletable, '', for_test)
+            emit, uses_subdirs = self.emitter.lib_Makefile_am(destfile, main_modules,
+                                                              moduletable, self.makefiletable, '', for_test)
         else:  # if not single_configure
-            emit, uses_subdirs = self.emiter.lib_Makefile_am(destfile, modules,
-                                                             moduletable, self.makefiletable, '', for_test)
+            emit, uses_subdirs = self.emitter.lib_Makefile_am(destfile, modules,
+                                                              moduletable, self.makefiletable, '', for_test)
         with codecs.open(destfile, 'wb', 'UTF-8') as file:
             file.write(emit)
         any_uses_subdirs = uses_subdirs
@@ -381,7 +381,7 @@ class GLTestDir(object):
         subdirs = [sourcebase, m4base]
         subdirs_with_configure_ac = list()
 
-        testsbase_appened = False
+        testsbase_append = False
         inctests = self.config.checkInclTestCategory(TESTS['tests'])
         if inctests:
             directory = joinpath(self.testdir, testsbase)
@@ -391,8 +391,8 @@ class GLTestDir(object):
                 # Create $testsbase/Makefile.am.
                 destfile = joinpath(directory, 'Makefile.am')
                 witness_macro = '%stests_WITNESS' % macro_prefix
-                emit, uses_subdirs = self.emiter.tests_Makefile_am(destfile,
-                                                                   tests_modules, self.makefiletable, witness_macro, for_test)
+                emit, uses_subdirs = self.emitter.tests_Makefile_am(destfile,
+                                                                    tests_modules, self.makefiletable, witness_macro, for_test)
                 with codecs.open(destfile, 'wb', 'UTF-8') as file:
                     file.write(emit)
             else:  # if not single_configure
@@ -400,8 +400,8 @@ class GLTestDir(object):
                 destfile = joinpath(directory, 'Makefile.am')
                 libtests = False
                 self.config.setLibtests(False)
-                emit, uses_subdirs = self.emiter.tests_Makefile_am(destfile,
-                                                                   modules, self.makefiletable, '', for_test)
+                emit, uses_subdirs = self.emitter.tests_Makefile_am(destfile,
+                                                                    modules, self.makefiletable, '', for_test)
                 with codecs.open(destfile, 'wb', 'UTF-8') as file:
                     file.write(emit)
                 # Viewed from the $testsbase subdirectory, $auxdir is different.
@@ -418,7 +418,7 @@ class GLTestDir(object):
                 emit += 'AC_PROG_CC\n'
                 emit += 'AC_PROG_INSTALL\n'
                 emit += 'AC_PROG_MAKE_SET\n'
-                emit += self.emiter.preEarlyMacros(False, '', modules)
+                emit += self.emitter.preEarlyMacros(False, '', modules)
                 if uses_subdirs:
                     emit += 'AM_PROG_CC_C_O\n\n'
                 snippets = list()
@@ -462,19 +462,19 @@ class GLTestDir(object):
                 emit += 'AC_DEFUN([gl_INIT], [\n'
                 replace_auxdir = True
                 emit += "gl_m4_base='../%s'\n" % m4base
-                emit += self.emiter.initmacro_start(macro_prefix)
+                emit += self.emitter.initmacro_start(macro_prefix)
                 # We don't have explicit ordering constraints between the various
                 # autoconf snippets. It's cleanest to put those of the library before
                 # those of the tests.
                 emit += "gl_source_base='../%s'\n" % sourcebase
-                emit += self.emiter.autoconfSnippets(modules,
-                                                     moduletable, 1, False, False, False,
-                                                     replace_auxdir)
+                emit += self.emitter.autoconfSnippets(modules,
+                                                      moduletable, 1, False, False, False,
+                                                      replace_auxdir)
                 emit += "gl_source_base='.'"
-                emit += self.emiter.autoconfSnippets(modules,
-                                                     moduletable, 2, False, False, False,
-                                                     replace_auxdir)
-                emit += self.emiter.initmacro_end(macro_prefix)
+                emit += self.emitter.autoconfSnippets(modules,
+                                                      moduletable, 2, False, False, False,
+                                                      replace_auxdir)
+                emit += self.emitter.initmacro_end(macro_prefix)
                 # _LIBDEPS and _LTLIBDEPS variables are not needed if this library is
                 # created using libtool, because libtool already handles the
                 # dependencies.
@@ -486,7 +486,7 @@ class GLTestDir(object):
                     emit += '  AC_SUBST([%s_LTLIBDEPS])\n' % libname_upper
                 emit += '])\n'
                 # FIXME use $sourcebase or $testsbase?
-                emit += self.emiter.initmacro_done(macro_prefix, sourcebase)
+                emit += self.emitter.initmacro_done(macro_prefix, sourcebase)
                 emit += '\ngl_INIT\n\n'
                 # Usually $testsbase/config.h will be a superset of config.h. Verify
                 # this by "merging" config.h into $testsbase/config.h; look out for gcc
@@ -505,7 +505,7 @@ class GLTestDir(object):
                 subdirs_with_configure_ac += [testsbase]
 
             subdirs += [testsbase]
-            testsbase_appened = True
+            testsbase_append = True
 
         # Create Makefile.am.
         emit = '## Process this file with automake to produce Makefile.in.\n\n'
@@ -535,7 +535,7 @@ class GLTestDir(object):
         emit += 'm4_pattern_allow([^gl_ES$])dnl a valid locale name\n'
         emit += 'm4_pattern_allow([^gl_LIBOBJS$])dnl a variable\n'
         emit += 'm4_pattern_allow([^gl_LTLIBOBJS$])dnl a variable\n'
-        emit += self.emiter.preEarlyMacros(False, '', modules)
+        emit += self.emitter.preEarlyMacros(False, '', modules)
         if any_uses_subdirs:
             emit += 'AM_PROG_CC_C_O\n'
         snippets = list()
@@ -582,19 +582,19 @@ class GLTestDir(object):
         else:  # auxdir == 'build-aux'
             replace_auxdir = False
         emit += 'gl_m4_base=\'%s\'\n' % m4base
-        emit += self.emiter.initmacro_start(macro_prefix)
+        emit += self.emitter.initmacro_start(macro_prefix)
         emit += 'gl_source_base=\'%s\'\n' % sourcebase
         if single_configure:
-            emit += self.emiter.autoconfSnippets(main_modules, moduletable,
-                                                 0, False, False, False, replace_auxdir)
+            emit += self.emitter.autoconfSnippets(main_modules, moduletable,
+                                                  0, False, False, False, replace_auxdir)
         else:  # if not single_configure
-            emit += self.emiter.autoconfSnippets(modules, moduletable,
-                                                 1, False, False, False, replace_auxdir)
-        emit += self.emiter.initmacro_end(macro_prefix)
+            emit += self.emitter.autoconfSnippets(modules, moduletable,
+                                                  1, False, False, False, replace_auxdir)
+        emit += self.emitter.initmacro_end(macro_prefix)
         if single_configure:
             emit += '  gltests_libdeps=\n'
             emit += '  gltests_ltlibdeps=\n'
-            emit += self.emiter.initmacro_start('%stests' % macro_prefix)
+            emit += self.emitter.initmacro_start('%stests' % macro_prefix)
             emit += '  gl_source_base=\'%s\'\n' % testsbase
             # Define a tests witness macro.
             emit += '  %stests_WITNESS=IN_GNULIB_TESTS\n' % macro_prefix
@@ -602,11 +602,11 @@ class GLTestDir(object):
             emit += '  gl_module_indicator_condition=$%stests_WITNESS\n' % macro_prefix
             emit += '  m4_pushdef([gl_MODULE_INDICATOR_CONDITION], '
             emit += '[$gl_module_indicator_condition])\n'
-            snippets = self.emiter.autoconfSnippets(tests_modules, moduletable,
-                                                    1, True, False, False, replace_auxdir)
+            snippets = self.emitter.autoconfSnippets(tests_modules, moduletable,
+                                                     1, True, False, False, replace_auxdir)
             emit += snippets.strip()
             emit += '  m4_popdef([gl_MODULE_INDICATOR_CONDITION])\n'
-            emit += self.emiter.initmacro_end('%stests' % macro_prefix)
+            emit += self.emitter.initmacro_end('%stests' % macro_prefix)
         # _LIBDEPS and _LTLIBDEPS variables are not needed if this library is
         # created using libtool, because libtool already handles the dependencies.
         if not libtool:
@@ -619,9 +619,9 @@ class GLTestDir(object):
             emit += '  LIBTESTS_LIBDEPS="$gltests_libdeps"\n'
             emit += '  AC_SUBST([LIBTESTS_LIBDEPS])\n'
         emit += '])\n'
-        emit += self.emiter.initmacro_done(macro_prefix, sourcebase)
+        emit += self.emitter.initmacro_done(macro_prefix, sourcebase)
         if single_configure:
-            emit += self.emiter.initmacro_done('%stests' % macro_prefix, testsbase)
+            emit += self.emitter.initmacro_done('%stests' % macro_prefix, testsbase)
         emit += '\ngl_INIT\n\n'
         if subdirs_with_configure_ac:
             if single_configure:
@@ -863,7 +863,7 @@ class GLMegaTestDir(object):
                 os.mkdir(self.megatestdir)
             except Exception as error:
                 raise GLError(19, self.megatestdir)
-        self.emiter = GLEmiter(self.config)
+        self.emitter = GLEmiter(self.config)
         self.filesystem = GLFileSystem(self.config)
         self.modulesystem = GLModuleSystem(self.config)
         self.assistant = GLFileAssistant(self.config)
index ca3685be497362ff9775c8a61bee94ac6f7b1b0c..d0e308ba0edf4d4840a9655b94d49506d0ae47ad 100644 (file)
@@ -31,5 +31,5 @@ Texinfo), assorted configuration scripts, and more. The goal is to provide all
 the common infrastructure needed by GNU packages.'''
 
 __copyright__ = '2012-2022 Free Software Foundation, Inc.'
-__author__ = 'Dmitriy Selyutin'
+__author__ = 'Dmitry Selyutin'
 __license__ = 'GNU GPLv3+'
index 5bdd00f514a06875449cd59c2651a78886b25ae6..0e7700a6bef6a84fbe707b51b66aadf2c8ada335 100644 (file)
@@ -39,7 +39,7 @@ __author__ = \
         'Bruno Haible',
         'Paul Eggert',
         'Simon Josefsson',
-        'Dmitriy Selyutin',
+        'Dmitry Selyutin',
     ]
 __license__ = 'GNU GPLv3+'
 __copyright__ = '2002-2022 Free Software Foundation, Inc.'
index cb799cf8837d590d12845cd562790e00590eae3a..cdbb5bd7612160b8d23b94ca8e1395e00365e320 100644 (file)
@@ -109,8 +109,8 @@ main (int argc, char *argv[])
       break;
     case 1:
       {
-        /* Check an invocation of a non-existent program.  */
-        const char *prog_argv[3] = { "./non-existent", NULL };
+        /* Check an invocation of a nonexistent program.  */
+        const char *prog_argv[3] = { "./nonexistent", NULL };
         int ret = execute (progname, prog_argv[0], prog_argv, NULL,
                            false, false, false, false, true, false, NULL);
         ASSERT (ret == 127);
index e4ae3b8fb985ec4ecadb539bf26f3a9689634a71..125c1521520aa30e330293f0593d0f289780ae76 100644 (file)
@@ -49,7 +49,7 @@ test_getlogin_result (const char *buf, int err)
 
 #if defined __linux__
       /* On Linux, it is possible to set up a chroot environment in such a way
-         that stdin is connected to a tty and nervertheless /proc/self/loginuid
+         that stdin is connected to a tty and nevertheless /proc/self/loginuid
          contains the value (uid_t)(-1).  In this situation, getlogin() and
          getlogin_r() fail; this is expected.  */
       bool loginuid_undefined = false;
index 5785706c0828e1022a2a3594c9ad36139d48e7af..3d995c11044db8c000b92d3b02bcdec751056b8c 100644 (file)
@@ -173,7 +173,7 @@ main (void)
      INT_<op>_OVERFLOW tests, so define macros to do both.  OP is the
      operation, OPNAME its symbolic name, A and B its operands, T the
      result type, V the overflow flag, and VRES the result if V and if
-     two's complement.  CHECK_BINOP is for most binary operatinos,
+     two's complement.  CHECK_BINOP is for most binary operations,
      CHECK_SBINOP for binary +, -, * when the result type is signed,
      and CHECK_UNOP for unary operations.  */
   #define CHECK_BINOP(op, opname, a, b, t, v, vres)                       \
index 513e142d5162613b4f29a3e6cd4294719108d89d..0caf475e5400797fe91357d082d79719e7e32e8e 100644 (file)
@@ -423,7 +423,7 @@ test_tss_dtorcheck2 (void)
 #undef THREAD_COUNT
 
 
-/* --- Test thread-local storage with with races between init and destroy --- */
+/* --- Test thread-local storage with races between init and destroy --- */
 
 /* Number of simultaneous threads.  */
 #if defined __ANDROID__
index 55effac67c669f82bf0c5d1a8b8c604a2fdf97a7..b1a3f666f464f1c7153078333c21bfc0b5e3e92f 100644 (file)
@@ -79,7 +79,7 @@ main ()
   prot_unwritable = PROT_READ;
 # endif
 
-  /* Setup some mmaped memory.  */
+  /* Setup some mmapped memory.  */
   p = mmap_zeromap ((void *) 0x12340000, 0x4000);
   if (p == (void *)(-1))
     {
index 1628f1a0de6844bd2bc42188293ccad8de3803e9..f2781b9f1bfbdbdcc8ec49e5b88a8e7ee7259ef6 100644 (file)
@@ -100,7 +100,7 @@ main ()
   prot_unwritable = PROT_READ;
 # endif
 
-  /* Setup some mmaped memory.  */
+  /* Setup some mmapped memory.  */
   p = mmap_zeromap ((void *) 0x12340000, 0x4000);
   if (p == (void *)(-1))
     {
index 73309386aa34c55b1a10dbc0d42a2d0e60cc00b8..f6dc32626f4a732f4508aa80e44848353f945625 100644 (file)
@@ -148,7 +148,7 @@ main ()
   prot_unwritable = PROT_READ;
 # endif
 
-  /* Setup some mmaped memory.  */
+  /* Setup some mmapped memory.  */
   p = mmap_zeromap ((void *) 0x12340000, 0x4000);
   if (p == (void *)(-1))
     {
index 2b0a33ec5c9059090618f71869cd085b307879ed..6a59a65ab0d0486920ed338fb032c7615a2a1c6c 100644 (file)
@@ -403,7 +403,7 @@ test_tls_dtorcheck2 (void)
 #undef THREAD_COUNT
 
 
-/* --- Test thread-local storage with with races between init and destroy --- */
+/* --- Test thread-local storage with races between init and destroy --- */
 
 /* Number of simultaneous threads.  */
 #define THREAD_COUNT 10
index ae17844ee56ea2e0ad5026b1cfb3ed7902d55d1f..9d1db0249ad77c5074c647cbff1b3f95587e893c 100644 (file)
@@ -408,7 +408,7 @@ test_tss_dtorcheck2 (void)
 #undef THREAD_COUNT
 
 
-/* --- Test thread-local storage with with races between init and destroy --- */
+/* --- Test thread-local storage with races between init and destroy --- */
 
 /* Number of simultaneous threads.  */
 #define THREAD_COUNT 10
index 1d22eed7ccaf5880e5ea52567a8b597147a5abf4..12b668c46d4366da35472f17ceec8cb3487b983d 100644 (file)
@@ -303,7 +303,7 @@ check_versions() {
     # Handle the still-experimental Automake-NG programs specially.
     # They remain named as the mainstream Automake programs ("automake",
     # and "aclocal") to avoid gratuitous incompatibilities with
-    # pre-existing usages (by, say, autoreconf, or custom autogen.sh
+    # preexisting usages (by, say, autoreconf, or custom autogen.sh
     # scripts), but correctly identify themselves (as being part of
     # "GNU automake-ng") when asked their version.
     case $app in
index 3373c0c8b4ee1aeb1ddb591f86abd3a56fa221d9..32f2c644cdcc8ef2763cfee11762043a6f19e59e 100755 (executable)
@@ -49,7 +49,7 @@
 #      subdirectory, let's call it a "subcheckout") are:
 #        - The simplicity: you are conceptually always using the newest revision
 #          of the dependency package.
-#        - You don't have to remember to periodially upgrade the dependency.
+#        - You don't have to remember to periodically upgrade the dependency.
 #          Upgrading the dependency is an implicit operation.
 
 # This program is meant to be copied to the top-level directory of the package,
index 12004f9be1af6727b0410d67bdfea76def58daa9..598c4939a627c3d5818a9b35b8a6be02c53891df 100644 (file)
@@ -1377,7 +1377,7 @@ sc_unportable_grep_q:
        @prohibit='grep -q' halt="unportable 'grep -q', use >/dev/null instead" \
          $(_sc_search_regexp)
 
-# The GNU Codying standards says that README should refer to both
+# The GNU Coding standards say that README should refer to both
 # INSTALL and the file that contains the copying conditions.  This
 # shall be COPYING for GPL and COPYING.LESSER for LGPL.