]> Sergey Matveev's repositories - public-inbox.git/commitdiff
triewyde: ficks soem speling errrors
authorEric Wong <e@yhbt.net>
Tue, 7 Apr 2020 21:55:54 +0000 (21:55 +0000)
committerEric Wong <e@yhbt.net>
Thu, 9 Apr 2020 05:41:57 +0000 (05:41 +0000)
Dikshunarees R gude!

lib/PublicInbox/DS.pm
lib/PublicInbox/Hval.pm
lib/PublicInbox/MsgTime.pm
lib/PublicInbox/SearchIdx.pm
lib/PublicInbox/SearchThread.pm
lib/PublicInbox/View.pm
t/data/0001.patch
t/httpd-corner.t
t/mda.t
t/search.t

index 4d685131f0cf24ec709f878d518ccdfa64eecdae..01c8917eafedb6f509b0953ddf59c192b61ab86a 100644 (file)
@@ -615,7 +615,7 @@ sub shutdn_tls_step ($) {
 }
 
 # don't bother with shutdown($sock, 2), we don't fork+exec w/o CLOEXEC
-# or fork w/o exec, so no inadvertant socket sharing
+# or fork w/o exec, so no inadvertent socket sharing
 sub shutdn ($) {
     my ($self) = @_;
     my $sock = $self->{sock} or return;
index 23233f0e7e979c8ff524e1864a46489a747512c9..46a839160c3f996e25eb4e0b91b4a1a82fdfabef 100644 (file)
@@ -80,7 +80,7 @@ sub obfuscate_addrs ($$;$) {
        my $ibx = $_[0];
        my $repl = $_[2] // '&#8226;';
        my $re = $ibx->{-no_obfuscate_re}; # regex of domains
-       my $addrs = $ibx->{-no_obfuscate}; # { adddress => 1 }
+       my $addrs = $ibx->{-no_obfuscate}; # { $address => 1 }
        $_[1] =~ s/(([\w\.\+=\-]+)\@([\w\-]+\.[\w\.\-]+))/
                my ($addr, $user, $domain) = ($1, $2, $3);
                if ($addrs->{$addr} || ((defined $re && $domain =~ $re))) {
index bd7ef8117d30fb5ad32aeef4f46c1813edd06fbd..920e8f8a4e7d81f9aec43b0177f39652854f0b60 100644 (file)
@@ -95,7 +95,7 @@ sub str2date_zone ($) {
                $sign = '+' if $off == 0;
                $zone = sprintf('%s%02d%02d', $sign, $tz_hh, $tz_mm);
 
-       # Time::Zone and Date::Parse are part of the same distibution,
+       # Time::Zone and Date::Parse are part of the same distribution,
        # and we need Time::Zone to deal with tz names like "EDT"
        } elsif (eval { require Date::Parse }) {
                $ts = Date::Parse::str2time($date);
index 9a5484e30b81b8ac29bb9bbfa43816ac6ee04210..05689941e0b80bdaed9c6caca89c18846f57c5ea 100644 (file)
@@ -634,7 +634,7 @@ sub _git_log {
        my $git = $self->{git};
 
        if (index($range, '..') < 0) {
-               # don't show annoying git errrors to users who run -index
+               # don't show annoying git errors to users who run -index
                # on empty inboxes
                $git->qx(qw(rev-parse -q --verify), "$range^0");
                if ($?) {
index 8b2cb8059db94043affbbf82abbfbea2eddb57ba..38d1aa6e2c99e961b7caae4562adf840ef5e59b8 100644 (file)
@@ -29,7 +29,7 @@ sub thread {
        # Sadly, we sort here anyways since the fill-in-the-blanks References:
        # can be shakier if somebody used In-Reply-To with multiple, disparate
        # messages.  So, take the client Date: into account since we can't
-       # alway determine ordering when somebody uses multiple In-Reply-To.
+       # always determine ordering when somebody uses multiple In-Reply-To.
        # We'll trust the client Date: header here instead of the Received:
        # time since this is for display (and not retrieval)
        _add_message($id_table, $_) for sort { $a->{ds} <=> $b->{ds} } @$msgs;
index 33b323dce248670dc1da248b795419470b4c0019..b6d7acaf64642d31c240febcf431891298e778c3 100644 (file)
@@ -150,7 +150,7 @@ sub in_reply_to {
 sub fold_addresses ($) {
        return $_[0] if length($_[0]) <= COLS;
        # try to fold on commas after non-word chars before $lim chars,
-       # Try to get the "," preceeded by ">" or ")", but avoid folding
+       # Try to get the "," preceded by ">" or ")", but avoid folding
        # on the comma where somebody uses "Lastname, Firstname".
        # We also try to keep the last and penultimate addresses in
        # the list on the same line if possible, hence the extra \z
index b7964a2b3438d70c5f17368a8e6c21893ed5c72a..4d0e52fc4e43b3e633bcc29e5d8ac6758899c945 100644 (file)
@@ -12,7 +12,7 @@ still allows probabilistic searches on everything that's in a
 "git diff", including the blob names which were just made
 boolean.
 
-Note, attachment filenames ("n:" prefix) will stil use
+Note, attachment filenames ("n:" prefix) will still use
 probabilistic search, as they're hardly standardized.
 ---
  lib/PublicInbox/Search.pm | 6 +++---
index cbfc83327bddd8edd2316b226839d1b9b518e788..89f2866b55682215811eec1e87b7abc269b4a4d3 100644 (file)
@@ -544,7 +544,7 @@ SKIP: {
 }
 
 {
-       my $conn = conn_for($sock, '1.1 Connnection: close');
+       my $conn = conn_for($sock, '1.1 Connection: close');
        $conn->write("PUT /sha1 HTTP/1.1\r\nConnection:close\r\n");
        delay();
        $conn->write("Content-Length: $len\r\n\r\n$str");
diff --git a/t/mda.t b/t/mda.t
index 3bdccb4995e27394759eab1918d1a0c82c9d623f..ddc0c27975288fd66d639246da892c6eece94096 100644 (file)
--- a/t/mda.t
+++ b/t/mda.t
@@ -34,7 +34,7 @@ my $fail_bad_header = sub ($$$) {
                "no error on undeliverable ($msg)");
        my $rev = $git->qx(qw(rev-list HEAD));
        chomp $rev;
-       is($rev, $good_rev, "bad revision not commited ($msg)");
+       is($rev, $good_rev, "bad revision not committed ($msg)");
        @f = glob("$faildir/*/*");
        is(scalar @f, 1, "faildir written to");
        [ $in, $out, $err ];
index 3213ac2a9051a8b7c2b6f929ac2db08c78296646..839a320ae6c63c0fb0ce43e6bac17dd6b58f3530 100644 (file)
@@ -229,7 +229,7 @@ $ibx->with_umask(sub {
        $rw_commit->();
        $ro->reopen;
        my $t = $ro->{over_ro}->get_thread('root@s');
-       is(scalar(@$t), 4, "got all 4 mesages in thread");
+       is(scalar(@$t), 4, "got all 4 messages in thread");
        my @exp = sort($long_reply_mid, 'root@s', 'last@s', $long_mid);
        @res = filter_mids($t);
        is_deeply(\@res, \@exp, "get_thread works");