@matheusbsbs / matheus-bagliano / commits / 03670c8b23
Fork 0

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>

Elijah Newren committed Nov 5, 2019 at 17:07 UTC 03670c8b2375062a5bcc50ce8891a4406fbc88e2
11 files changed +14 -14
compat/nedmalloc/malloc.c.h
+3 -3
@@ -1564,7 +1564,7 @@ static FORCEINLINE void* win32direct_mmap(size_t size) {
1564 return (ptr != 0)? ptr: MFAIL;
1565 }
1566
1567 -/* This function supports releasing coalesed segments */
1567 +/* This function supports releasing coalesced segments */
1568 static FORCEINLINE int win32munmap(void* ptr, size_t size) {
1569 MEMORY_BASIC_INFORMATION minfo;
1570 char* cptr = (char*)ptr;
@@ -1655,7 +1655,7 @@ static FORCEINLINE int win32munmap(void* ptr, size_t size) {
1655 #define CALL_MREMAP(addr, osz, nsz, mv) MFAIL
1656 #endif /* HAVE_MMAP && HAVE_MREMAP */
1657
1658 -/* mstate bit set if continguous morecore disabled or failed */
1658 +/* mstate bit set if contiguous morecore disabled or failed */
1659 #define USE_NONCONTIGUOUS_BIT (4U)
1660
1661 /* segment bit set in create_mspace_with_base */
@@ -2485,7 +2485,7 @@ typedef struct malloc_segment* msegmentptr;
2485
2486 Trim support
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 non-topmost segments.
2490
2491 Locking
compat/obstack.h
+1 -1
@@ -79,7 +79,7 @@ change its address during its lifetime.
79 When the chars burst over a chunk boundary, we allocate a larger
80 chunk, and then copy the partly formed object from the end of the old
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
84 A special macro is provided to add a single char at a time to a
85 growing object. This allows the use of register variables, which
compat/regex/regcomp.c
+1 -1
@@ -3462,7 +3462,7 @@ build_equiv_class (bitset_t sbcset, const unsigned char *name)
3462 /* This isn't a valid character. */
3463 return REG_ECOLLATE;
3464
3465 - /* Build single byte matcing table for this equivalence class. */
3465 + /* Build single byte matching table for this equivalence class. */
3466 char_buf[1] = (unsigned char) '\0';
3467 len = weights[idx1 & 0xffffff];
3468 for (ch = 0; ch < SBC_MAX; ++ch)
compat/regex/regex.h
+1 -1
@@ -322,7 +322,7 @@ typedef enum
322 /* POSIX regcomp return error codes. (In the order listed in the
323 standard.) */
324 REG_BADPAT, /* Invalid pattern. */
325 - REG_ECOLLATE, /* Inalid collating element. */
325 + REG_ECOLLATE, /* Invalid collating element. */
326 REG_ECTYPE, /* Invalid character class name. */
327 REG_EESCAPE, /* Trailing backslash. */
328 REG_ESUBREG, /* Invalid back reference. */
compat/regex/regex_internal.c
+1 -1
@@ -1616,7 +1616,7 @@ free_state (re_dfastate_t *state)
1616 re_free (state);
1617 }
1618
1619 -/* Create the new state which is independ of contexts.
1619 +/* Create the new state which is independent of contexts.
1620 Return the new state if succeeded, otherwise return NULL. */
1621
1622 static re_dfastate_t *
compat/regex/regexec.c
+2 -2
@@ -2420,7 +2420,7 @@ find_recover_state (reg_errcode_t *err, re_match_context_t *mctx)
2420 /* From the node set CUR_NODES, pick up the nodes whose types are
2421 OP_OPEN_SUBEXP and which have corresponding back references in the regular
2422 expression. And register them to use them later for evaluating the
2423 - correspoding back references. */
2423 + corresponding back references. */
2424
2425 static reg_errcode_t
2426 internal_function
@@ -3347,7 +3347,7 @@ build_trtable (const re_dfa_t *dfa, re_dfastate_t *state)
3347 dests_node = dests_alloc->dests_node;
3348 dests_ch = dests_alloc->dests_ch;
3349
3350 - /* Initialize transiton table. */
3350 + /* Initialize transition table. */
3351 state->word_trtable = state->trtable = NULL;
3352
3353 /* At first, group all nodes belonging to `state' into several
contrib/mw-to-git/.perlcriticrc
+1 -1
@@ -14,7 +14,7 @@
14
15 # This rule states that each system call should have its return value checked
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 # This configuration keeps all default function but print.
19 [InputOutput::RequireCheckedSyscalls]
20 functions = open say close
contrib/mw-to-git/git-remote-mediawiki.perl
+1 -1
@@ -79,7 +79,7 @@ chomp($export_media);
79 $export_media = !($export_media eq 'false');
80
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 my $wiki_passwd = run_git("config --get remote.${remotename}.mwPassword");
84 my $wiki_domain = run_git("config --get remote.${remotename}.mwDomain");
85 chomp($wiki_login);
contrib/mw-to-git/t/install-wiki/db_install.php
+1 -1
@@ -24,7 +24,7 @@ $url = 'http://localhost:'.$port.'/wiki/mw-config/index.php';
24 $db_dir = urlencode($tmp);
25 $tmp_cookie = tempnam($tmp, "COOKIE_");
26 /*
27 - * Fetchs a page with cURL.
27 + * Fetches a page with cURL.
28 */
29 function get($page_name = "") {
30 $curl = curl_init();
contrib/mw-to-git/t/t9360-mw-to-git-clone.sh
+1 -1
@@ -143,7 +143,7 @@ test_expect_success 'Git clone works with one specific page cloned ' '
143 test_expect_success 'Git clone works with multiple specific page cloned ' '
144 wiki_reset &&
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 wiki_editpage namnam "I be erased" false &&
148 wiki_editpage nyancat "nyan nyan nyan you will not erase me" false &&
149 wiki_delete_page namnam &&
contrib/mw-to-git/t/test-gitmw-lib.sh
+1 -1
@@ -279,7 +279,7 @@ start_lighttpd () {
279 "$LIGHTTPD_DIR"/lighttpd -f "$WEB"/lighttpd.conf
280
281 if test $? -ne 0 ; then
282 - echo "Could not execute http deamon lighttpd"
282 + echo "Could not execute http daemon lighttpd"
283 exit 1
284 fi
285 }