]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Fix spelling errors in no-longer-updated-from-upstream modules
authorElijah Newren <newren@gmail.com>
Tue, 5 Nov 2019 17:07:30 +0000 (17:07 +0000)
committerJunio C Hamano <gitster@pobox.com>
Sun, 10 Nov 2019 07:00:55 +0000 (16:00 +0900)
We have several modules originally taken from some upstream source,
and which as far as I can tell we no longer update from the upstream
anymore.  As such, I have not submitted these spelling fixes to any
external projects but just include them directly here.

Reported-by: Jens Schleusener <Jens.Schleusener@fossies.org>
Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
compat/nedmalloc/malloc.c.h
compat/obstack.h
compat/regex/regcomp.c
compat/regex/regex.h
compat/regex/regex_internal.c
compat/regex/regexec.c
contrib/mw-to-git/.perlcriticrc
contrib/mw-to-git/git-remote-mediawiki.perl
contrib/mw-to-git/t/install-wiki/db_install.php
contrib/mw-to-git/t/t9360-mw-to-git-clone.sh
contrib/mw-to-git/t/test-gitmw-lib.sh

index 913434959002f252fecfc22e4027ae02f8053f63..814845d4b33fc89652be9fe0c1cd0d55e59023a3 100644 (file)
@@ -1564,7 +1564,7 @@ static FORCEINLINE void* win32direct_mmap(size_t size) {
   return (ptr != 0)? ptr: MFAIL;
 }
 
-/* This function supports releasing coalesed segments */
+/* This function supports releasing coalesced segments */
 static FORCEINLINE int win32munmap(void* ptr, size_t size) {
   MEMORY_BASIC_INFORMATION minfo;
   char* cptr = (char*)ptr;
@@ -1655,7 +1655,7 @@ static FORCEINLINE int win32munmap(void* ptr, size_t size) {
     #define CALL_MREMAP(addr, osz, nsz, mv)     MFAIL
 #endif /* HAVE_MMAP && HAVE_MREMAP */
 
-/* mstate bit set if continguous morecore disabled or failed */
+/* mstate bit set if contiguous morecore disabled or failed */
 #define USE_NONCONTIGUOUS_BIT (4U)
 
 /* segment bit set in create_mspace_with_base */
@@ -2485,7 +2485,7 @@ typedef struct malloc_segment* msegmentptr;
 
   Trim support
     Fields holding the amount of unused topmost memory that should trigger
-    timming, and a counter to force periodic scanning to release unused
+    timing, and a counter to force periodic scanning to release unused
     non-topmost segments.
 
   Locking
index ae36ed6a669d96266f01f4983b9d6a418e1dcfef..01e7c818400544ae8aa69dcf544f633d99057d7f 100644 (file)
@@ -79,7 +79,7 @@ change its address during its lifetime.
 When the chars burst over a chunk boundary, we allocate a larger
 chunk, and then copy the partly formed object from the end of the old
 chunk to the beginning of the new larger chunk.  We then carry on
-accreting characters to the end of the object as we normally would.
+accrediting characters to the end of the object as we normally would.
 
 A special macro is provided to add a single char at a time to a
 growing object.  This allows the use of register variables, which
index c0d838834ad8714cc29148bf23895ab30498947e..d1bc09e49b667522ddf5b7aa2576e10835cd8def 100644 (file)
@@ -3462,7 +3462,7 @@ build_equiv_class (bitset_t sbcset, const unsigned char *name)
        /* This isn't a valid character.  */
        return REG_ECOLLATE;
 
-      /* Build single byte matcing table for this equivalence class.  */
+      /* Build single byte matching table for this equivalence class.  */
       char_buf[1] = (unsigned char) '\0';
       len = weights[idx1 & 0xffffff];
       for (ch = 0; ch < SBC_MAX; ++ch)
index 4d81358a83d0a4a4086c6ecfc7d84988eba860e9..08a26096637712689a071bf58586939bb6ff7c75 100644 (file)
@@ -322,7 +322,7 @@ typedef enum
   /* POSIX regcomp return error codes.  (In the order listed in the
      standard.)  */
   REG_BADPAT,          /* Invalid pattern.  */
-  REG_ECOLLATE,                /* Inalid collating element.  */
+  REG_ECOLLATE,                /* Invalid collating element.  */
   REG_ECTYPE,          /* Invalid character class name.  */
   REG_EESCAPE,         /* Trailing backslash.  */
   REG_ESUBREG,         /* Invalid back reference.  */
index 59bf151336c22d65ae3470ba3ded73d99f7130fe..ec51cf34461ef2eeafea7087b2abe9cafc260932 100644 (file)
@@ -1616,7 +1616,7 @@ free_state (re_dfastate_t *state)
   re_free (state);
 }
 
-/* Create the new state which is independ of contexts.
+/* Create the new state which is independent of contexts.
    Return the new state if succeeded, otherwise return NULL.  */
 
 static re_dfastate_t *
index 1b5d89fd5ed1a2c143bc6dafdf027b1f5f2cf790..49358ae475c1f70bb977b6b1b0fc7f1790e19415 100644 (file)
@@ -2420,7 +2420,7 @@ find_recover_state (reg_errcode_t *err, re_match_context_t *mctx)
 /* From the node set CUR_NODES, pick up the nodes whose types are
    OP_OPEN_SUBEXP and which have corresponding back references in the regular
    expression. And register them to use them later for evaluating the
-   correspoding back references.  */
+   corresponding back references.  */
 
 static reg_errcode_t
 internal_function
@@ -3347,7 +3347,7 @@ build_trtable (const re_dfa_t *dfa, re_dfastate_t *state)
   dests_node = dests_alloc->dests_node;
   dests_ch = dests_alloc->dests_ch;
 
-  /* Initialize transiton table.  */
+  /* Initialize transition table.  */
   state->word_trtable = state->trtable = NULL;
 
   /* At first, group all nodes belonging to `state' into several
index 158958d36357bd217f8b257cbdbdc65b049d6c07..b7333267adad494dd460dbc59771bf07d862eaf7 100644 (file)
@@ -14,7 +14,7 @@
 
 # This rule states that each system call should have its return value checked
 # The problem is that it includes the print call. Checking every print call's
-# return value would be harmful to the code readabilty.
+# return value would be harmful to the code readability.
 # This configuration keeps all default function but print.
 [InputOutput::RequireCheckedSyscalls]
 functions = open say close
index af9cbc9d0f7bc296ec728c3b965c26a057c8cf72..d8ff2e69c4980652e866047c0a322e5436318fb9 100755 (executable)
@@ -79,7 +79,7 @@ chomp($export_media);
 $export_media = !($export_media eq 'false');
 
 my $wiki_login = run_git("config --get remote.${remotename}.mwLogin");
-# Note: mwPassword is discourraged. Use the credential system instead.
+# Note: mwPassword is discouraged. Use the credential system instead.
 my $wiki_passwd = run_git("config --get remote.${remotename}.mwPassword");
 my $wiki_domain = run_git("config --get remote.${remotename}.mwDomain");
 chomp($wiki_login);
index 0f3f4e018a05e14b8278f0d4cb80e5958208714e..b033849800bc2cbb2052ca57a501bc2d54304530 100644 (file)
@@ -24,7 +24,7 @@ $url = 'http://localhost:'.$port.'/wiki/mw-config/index.php';
 $db_dir = urlencode($tmp);
 $tmp_cookie = tempnam($tmp, "COOKIE_");
 /*
- * Fetchs a page with cURL.
+ * Fetches a page with cURL.
  */
 function get($page_name = "") {
        $curl = curl_init();
index cfbfe7ddf622c46559c626360970df303a9eb8d1..9106833578e0e23c43157d1b6291296bab6e6c13 100755 (executable)
@@ -143,7 +143,7 @@ test_expect_success 'Git clone works with one specific page cloned ' '
 test_expect_success 'Git clone works with multiple specific page cloned ' '
        wiki_reset &&
        wiki_editpage foo "I will be there" false &&
-       wiki_editpage bar "I will not disapear" false &&
+       wiki_editpage bar "I will not disappear" false &&
        wiki_editpage namnam "I be erased" false &&
        wiki_editpage nyancat "nyan nyan nyan you will not erase me" false &&
        wiki_delete_page namnam &&
index 6546294f159e940eb8f7adc3e695f16d9395eebc..3948a002828320e028cef03f7b5aa34a1ee683ce 100755 (executable)
@@ -279,7 +279,7 @@ start_lighttpd () {
        "$LIGHTTPD_DIR"/lighttpd -f "$WEB"/lighttpd.conf
 
        if test $? -ne 0 ; then
-               echo "Could not execute http deamon lighttpd"
+               echo "Could not execute http daemon lighttpd"
                exit 1
        fi
 }