Git fork

Fix spelling errors in no-longer-updated-from-upstream modules

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>

authored by

Elijah Newren and committed by
Junio C Hamano
03670c8b ae821ffe

+14 -14
+3 -3
compat/nedmalloc/malloc.c.h
··· 1564 1564 return (ptr != 0)? ptr: MFAIL; 1565 1565 } 1566 1566 1567 - /* This function supports releasing coalesed segments */ 1567 + /* This function supports releasing coalesced segments */ 1568 1568 static FORCEINLINE int win32munmap(void* ptr, size_t size) { 1569 1569 MEMORY_BASIC_INFORMATION minfo; 1570 1570 char* cptr = (char*)ptr; ··· 1655 1655 #define CALL_MREMAP(addr, osz, nsz, mv) MFAIL 1656 1656 #endif /* HAVE_MMAP && HAVE_MREMAP */ 1657 1657 1658 - /* mstate bit set if continguous morecore disabled or failed */ 1658 + /* mstate bit set if contiguous morecore disabled or failed */ 1659 1659 #define USE_NONCONTIGUOUS_BIT (4U) 1660 1660 1661 1661 /* segment bit set in create_mspace_with_base */ ··· 2485 2485 2486 2486 Trim support 2487 2487 Fields holding the amount of unused topmost memory that should trigger 2488 - timming, and a counter to force periodic scanning to release unused 2488 + timing, and a counter to force periodic scanning to release unused 2489 2489 non-topmost segments. 2490 2490 2491 2491 Locking
+1 -1
compat/obstack.h
··· 79 79 When the chars burst over a chunk boundary, we allocate a larger 80 80 chunk, and then copy the partly formed object from the end of the old 81 81 chunk to the beginning of the new larger chunk. We then carry on 82 - accreting characters to the end of the object as we normally would. 82 + accrediting characters to the end of the object as we normally would. 83 83 84 84 A special macro is provided to add a single char at a time to a 85 85 growing object. This allows the use of register variables, which
+1 -1
compat/regex/regcomp.c
··· 3462 3462 /* This isn't a valid character. */ 3463 3463 return REG_ECOLLATE; 3464 3464 3465 - /* Build single byte matcing table for this equivalence class. */ 3465 + /* Build single byte matching table for this equivalence class. */ 3466 3466 char_buf[1] = (unsigned char) '\0'; 3467 3467 len = weights[idx1 & 0xffffff]; 3468 3468 for (ch = 0; ch < SBC_MAX; ++ch)
+1 -1
compat/regex/regex.h
··· 322 322 /* POSIX regcomp return error codes. (In the order listed in the 323 323 standard.) */ 324 324 REG_BADPAT, /* Invalid pattern. */ 325 - REG_ECOLLATE, /* Inalid collating element. */ 325 + REG_ECOLLATE, /* Invalid collating element. */ 326 326 REG_ECTYPE, /* Invalid character class name. */ 327 327 REG_EESCAPE, /* Trailing backslash. */ 328 328 REG_ESUBREG, /* Invalid back reference. */
+1 -1
compat/regex/regex_internal.c
··· 1616 1616 re_free (state); 1617 1617 } 1618 1618 1619 - /* Create the new state which is independ of contexts. 1619 + /* Create the new state which is independent of contexts. 1620 1620 Return the new state if succeeded, otherwise return NULL. */ 1621 1621 1622 1622 static re_dfastate_t *
+2 -2
compat/regex/regexec.c
··· 2420 2420 /* From the node set CUR_NODES, pick up the nodes whose types are 2421 2421 OP_OPEN_SUBEXP and which have corresponding back references in the regular 2422 2422 expression. And register them to use them later for evaluating the 2423 - correspoding back references. */ 2423 + corresponding back references. */ 2424 2424 2425 2425 static reg_errcode_t 2426 2426 internal_function ··· 3347 3347 dests_node = dests_alloc->dests_node; 3348 3348 dests_ch = dests_alloc->dests_ch; 3349 3349 3350 - /* Initialize transiton table. */ 3350 + /* Initialize transition table. */ 3351 3351 state->word_trtable = state->trtable = NULL; 3352 3352 3353 3353 /* At first, group all nodes belonging to `state' into several
+1 -1
contrib/mw-to-git/.perlcriticrc
··· 14 14 15 15 # This rule states that each system call should have its return value checked 16 16 # The problem is that it includes the print call. Checking every print call's 17 - # return value would be harmful to the code readabilty. 17 + # return value would be harmful to the code readability. 18 18 # This configuration keeps all default function but print. 19 19 [InputOutput::RequireCheckedSyscalls] 20 20 functions = open say close
+1 -1
contrib/mw-to-git/git-remote-mediawiki.perl
··· 79 79 $export_media = !($export_media eq 'false'); 80 80 81 81 my $wiki_login = run_git("config --get remote.${remotename}.mwLogin"); 82 - # Note: mwPassword is discourraged. Use the credential system instead. 82 + # Note: mwPassword is discouraged. Use the credential system instead. 83 83 my $wiki_passwd = run_git("config --get remote.${remotename}.mwPassword"); 84 84 my $wiki_domain = run_git("config --get remote.${remotename}.mwDomain"); 85 85 chomp($wiki_login);
+1 -1
contrib/mw-to-git/t/install-wiki/db_install.php
··· 24 24 $db_dir = urlencode($tmp); 25 25 $tmp_cookie = tempnam($tmp, "COOKIE_"); 26 26 /* 27 - * Fetchs a page with cURL. 27 + * Fetches a page with cURL. 28 28 */ 29 29 function get($page_name = "") { 30 30 $curl = curl_init();
+1 -1
contrib/mw-to-git/t/t9360-mw-to-git-clone.sh
··· 143 143 test_expect_success 'Git clone works with multiple specific page cloned ' ' 144 144 wiki_reset && 145 145 wiki_editpage foo "I will be there" false && 146 - wiki_editpage bar "I will not disapear" false && 146 + wiki_editpage bar "I will not disappear" false && 147 147 wiki_editpage namnam "I be erased" false && 148 148 wiki_editpage nyancat "nyan nyan nyan you will not erase me" false && 149 149 wiki_delete_page namnam &&
+1 -1
contrib/mw-to-git/t/test-gitmw-lib.sh
··· 279 279 "$LIGHTTPD_DIR"/lighttpd -f "$WEB"/lighttpd.conf 280 280 281 281 if test $? -ne 0 ; then 282 - echo "Could not execute http deamon lighttpd" 282 + echo "Could not execute http daemon lighttpd" 283 283 exit 1 284 284 fi 285 285 }