]> git.ipfire.org Git - thirdparty/gnulib.git/commitdiff
Fix typos found by codespell.
authorTim Rühsen <tim.ruehsen@gmx.de>
Sat, 12 Jan 2019 14:17:09 +0000 (15:17 +0100)
committerBruno Haible <bruno@clisp.org>
Sat, 12 Jan 2019 14:18:20 +0000 (15:18 +0100)
* lib/*.[hc]: Fix typos in comments.
* pygnulib/*.py: Fix typos in error messages and comments.

13 files changed:
ChangeLog
lib/af_alg.h
lib/argp-help.c
lib/cdefs.h
lib/file-set.c
lib/get-rusage-as.c
lib/mountlist.h
lib/regexec.c
lib/strptime.c
lib/trigl.c
lib/vma-iter.c
pygnulib/GLError.py
pygnulib/constants.py

index 18b80b7b8931ab5aa798adfa86e768a7a0c9a4ca..ecc7690659174eafe3f1417e719b40644a6adfd2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2019-01-12  Tim Rühsen  <tim.ruehsen@gmx.de>
+
+       Fix typos found by codespell.
+       * lib/*.[hc]: Fix typos in comments.
+       * pygnulib/*.py: Fix typos in error messages and comments.
+
 2019-01-12  Bruno Haible  <bruno@clisp.org>
 
        doc: Fix documentation about container data types.
index aabb52fab4a511e9fe5e96079a4c493f2d758b94..877369a7fbb6596112851e7037daebd8c7fa1077 100644 (file)
@@ -66,7 +66,7 @@ afalg_buffer (const char *buffer, size_t len, const char *alg,
    STREAM is an open file stream.  The last operation on STREAM should
    not be 'ungetc', and if STREAM is also open for writing it should
    have been fflushed since its last write.  Read from the current
-   position to the end of STREAM.  Handle regular files efficently.
+   position to the end of STREAM.  Handle regular files efficiently.
 
    ALG is the message digest algorithm; see the file /proc/crypto.
 
index 75abe84dfe0432aa9fc1fe62943bf6948c47e07b..a3d3e981c3fadc6d7ec14de54265a4e0287a4d69 100644 (file)
@@ -1556,7 +1556,7 @@ argp_doc (const struct argp *argp, const struct argp_state *state,
 }
 \f
 /* Output a usage message for ARGP to STREAM.  If called from
-   argp_state_help, STATE is the relevent parsing state.  FLAGS are from the
+   argp_state_help, STATE is the relevant parsing state.  FLAGS are from the
    set ARGP_HELP_*.  NAME is what to use wherever a 'program name' is
    needed. */
 static void
index 4b696590c097b62daf3519e8dd53599c90ff30bb..4f921754436819c83ddde79290dfdebe0d03a76a 100644 (file)
    semantics.
 
    clang++ identifies itself as gcc-4.2, but has support for GNU inlining
-   semantics, that can be checked fot by using the __GNUC_STDC_INLINE_ and
+   semantics, that can be checked for by using the __GNUC_STDC_INLINE_ and
    __GNUC_GNU_INLINE__ macro definitions.  */
 #if (!defined __cplusplus || __GNUC_PREREQ (4,3) \
      || (defined __clang__ && (defined __GNUC_STDC_INLINE__ \
index 5916a178e4e11a15e876ddb14bd536cc1f7cd93d..5eb9fae3eaad3ca2857b465c97fbae9c46a22f43 100644 (file)
@@ -48,7 +48,7 @@ record_file (Hash_table *ht, char const *file, struct stat const *stats)
 
     if (ent_from_table != ent)
       {
-        /* There was alread a matching entry in the table, so ENT was
+        /* There was already a matching entry in the table, so ENT was
            not inserted.  Free it.  */
         triple_free (ent);
       }
index 0ace6d67c51d7c8d7e002dd7abe3736cb5157d24..73364c719815267454d723a707184eff1a9ac1c4 100644 (file)
@@ -91,7 +91,7 @@
      b) pstat_getprocvm() can be used to find out about the virtual memory
         areas.
      Both methods agree, except that the value of get_rusage_as_via_iterator()
-     is slighly larger higher than get_rusage_as_via_setrlimit(), by 4 KB in
+     is slightly larger higher than get_rusage_as_via_setrlimit(), by 4 KB in
      32-bit mode and by 40 KB in 64-bit mode.
 
    IRIX:
index d0cf6c1d644b51cb0e62ab9446fda729eca12ac3..b1e7e2fa92c50479daaf15a05be5681fab8922ba 100644 (file)
@@ -32,7 +32,7 @@ struct mount_entry
   char *me_type;                /* "nfs", "4.2", etc. */
   dev_t me_dev;                 /* Device number of me_mountdir. */
   unsigned int me_dummy : 1;    /* Nonzero for dummy file systems. */
-  unsigned int me_remote : 1;   /* Nonzero for remote fileystems. */
+  unsigned int me_remote : 1;   /* Nonzero for remote file systems. */
   unsigned int me_type_malloced : 1; /* Nonzero if me_type was malloced. */
   struct mount_entry *me_next;
 };
index 0a7a27b772e3f65198d04861cb4a4e4ee97db522..91d5a797b82e2679ceab74238416de06693e46ea 100644 (file)
@@ -2207,7 +2207,7 @@ sift_states_iter_mb (const re_match_context_t *mctx, re_sift_context_t *sctx,
                            dfa->nexts[node_idx]))
     /* The node can't accept the "multi byte", or the
        destination was already thrown away, then the node
-       could't accept the current input "multi byte".   */
+       couldn't accept the current input "multi byte".   */
     naccepted = 0;
   /* Otherwise, it is sure that the node could accept
      'naccepted' bytes input.  */
index bd7f870328dab5658e46d439b02446e4c46e775c..e6d405a442d0fff173d1e19725962e13192a2cb9 100644 (file)
@@ -277,7 +277,7 @@ __strptime_internal (rp, fmt, tm, decided, era_cnt LOCALE_PARAM)
         }
 
       /* Any character but '%' must be matched by the same character
-         in the iput string.  */
+         in the input string.  */
       if (*fmt != '%')
         {
           match_char (*fmt++, *rp++);
index 1f73bd92e91321739431aac0a88f7afc9bf93df9..29cd2ba3e1fe3a541e3e04a948df850b79c8fc05 100644 (file)
@@ -325,7 +325,7 @@ static char rcsid[] =
  *                      z    = (z-x[i])*2**24
  *
  *
- *      y[]     ouput result in an array of double precision numbers.
+ *      y[]     output result in an array of double precision numbers.
  *              The dimension of y[] is:
  *                      24-bit  precision       1
  *                      53-bit  precision       2
index a871d2c55fbb1224f842e08ed02988a3401ec6fc..d641570579304773763d8cbfb542046d08efb80a 100644 (file)
      - 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.  */
 
index 9c249a3287537f82cb66548484b2d4870e29bfa2..0727e2f38f20a33d5f1f81fdff8ee3b2e991ba80 100644 (file)
@@ -62,7 +62,7 @@ class GLError(Exception):
           9: missing libname argument
          10: conddeps are not supported with inctests
          11: incompatible licenses on modules: <modules>
-         12: cannot process empy filelist
+         12: cannot process empty filelist
          13: cannot create the given directory: <directory>
          14: cannot delete the given file: <file>
          15: cannot create the given file: <file>
@@ -71,7 +71,7 @@ class GLError(Exception):
          18: module lacks a license: <module>
          19: could not create destination directory: <directory>
         errinfo: additional information;
-        style: 0 or 1, wheter old-style'''
+        style: 0 or 1, whether old-style'''
         self.errno = errno
         self.errinfo = errinfo
         self.args = (self.errno, self.errinfo)
@@ -97,7 +97,7 @@ class GLError(Exception):
                 + " so you might have to set this argument",
                 "conddeps are not supported with inctests",
                 "incompatible licenses on modules: %s" % repr(errinfo),
-                "cannot process empy filelist",
+                "cannot process empty filelist",
                 "cannot create the given directory: %s" % repr(errinfo),
                 "cannot remove the given file: %s" % repr(errinfo),
                 "cannot create the given file: %s" % repr(errinfo),
index 2dc64e6b67e948997bdf5f5115de184ffbed1db2..39fe08f002ee72bb61f3d2566fa0791edfdb7027 100644 (file)
@@ -54,7 +54,7 @@ if not PYTHON3:
 #===============================================================================
 # Define global constants
 #===============================================================================
-# Declare neccessary variables
+# Declare necessary variables
 APP = dict()  # Application
 DIRS = dict()  # Directories
 UTILS = dict()  # Utilities