From 852495a0e9a10f80df8723414aa965f144196db8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C5=A0t=C4=9Bp=C3=A1n=20N=C4=9Bmec?= Date: Mon, 3 Nov 2025 20:29:39 +0100 Subject: [PATCH] doc: fix a few typos --- Documentation/RelNotes/v1.1.0-pre1.eml | 2 +- Documentation/RelNotes/v1.6.0.eml | 2 +- Documentation/public-inbox-config.pod | 7 +++---- Documentation/public-inbox-extindex.pod | 2 +- Documentation/public-inbox-netd.pod | 2 +- Documentation/technical/bitrot.txt | 4 ++-- Makefile.PL | 2 +- contrib/css/README | 2 +- examples/unsubscribe-milter@.service | 2 +- install/deps.perl | 4 ++-- lib/PublicInbox/Eml.pm | 2 +- lib/PublicInbox/Import.pm | 2 +- lib/PublicInbox/xap_helper.h | 2 +- 13 files changed, 17 insertions(+), 18 deletions(-) diff --git a/Documentation/RelNotes/v1.1.0-pre1.eml b/Documentation/RelNotes/v1.1.0-pre1.eml index ee1ecc396..3a6fc6552 100644 --- a/Documentation/RelNotes/v1.1.0-pre1.eml +++ b/Documentation/RelNotes/v1.1.0-pre1.eml @@ -272,7 +272,7 @@ Eric Wong (Contractor, The Linux Foundation) (239): feed: respect feedmax, again v1: remove articles from overview DB compact: do not merge v2 repos by default - v2writable: reduce partititions by one + v2writable: reduce partitions by one search: preserve References in Xapian smsg for x=t view v2: generate better Message-IDs for duplicates v2: improve deduplication checks diff --git a/Documentation/RelNotes/v1.6.0.eml b/Documentation/RelNotes/v1.6.0.eml index 3fe8beae4..c1c03b770 100644 --- a/Documentation/RelNotes/v1.6.0.eml +++ b/Documentation/RelNotes/v1.6.0.eml @@ -14,7 +14,7 @@ come in 1.7. The read-only httpd and nntpd daemons no longer block the event loop when retrieving blobs from git, making better use of SMP -systems while accomodating slow storage. +systems while accommodating slow storage. Indexing can be now be tuned to give somewhat usable performance on HDD storage, though we can't defy the laws of physics, either. diff --git a/Documentation/public-inbox-config.pod b/Documentation/public-inbox-config.pod index 00f260faf..e86645c4a 100644 --- a/Documentation/public-inbox-config.pod +++ b/Documentation/public-inbox-config.pod @@ -187,14 +187,13 @@ C. This is useful to allow looking up legacy serial IDs It must be specified in the form of C where C<$USER_PREFIX> is a lowercase prefix like C for search queries, and -C<$SQLITE_FILENAME> is points to an SQLite DB. C<$SQLITE_FILENAME> may +C<$SQLITE_FILENAME> points to an SQLite DB. C<$SQLITE_FILENAME> may be an absolute path or a path relative to C for v2 inboxes or C for v1 inboxes. -The schema of C<$SQLITE_FILENAME> should be the same as a +The schema of C<$SQLITE_FILENAME> should be the same as for C. See C in the public-inbox -source tree for an example of how to generate such a mapping from -via NNTP. +source tree for an example of how to generate such a mapping via NNTP. This is a noop with C diff --git a/Documentation/public-inbox-extindex.pod b/Documentation/public-inbox-extindex.pod index 131cc705b..09bd59a1e 100644 --- a/Documentation/public-inbox-extindex.pod +++ b/Documentation/public-inbox-extindex.pod @@ -135,7 +135,7 @@ the presence of an NNTP or IMAP server). Otherwise, public-inbox-extindex will use C as an internal key which can cause needless reindexing and require L<--gc> if inboxes are relocated. -Per-inbox C configs is only supported as of +Per-inbox C config is only supported as of public-inbox 2.0+ (PENDING). See L for more details. diff --git a/Documentation/public-inbox-netd.pod b/Documentation/public-inbox-netd.pod index d29514a2f..ddd6def94 100644 --- a/Documentation/public-inbox-netd.pod +++ b/Documentation/public-inbox-netd.pod @@ -54,7 +54,7 @@ As of public-inbox 2.0, C and C may also be specified on a per listener basis. For HTTP(S), these ensure full URLs are generated properly for HTTP clients which omit the HTTP C header. For NNTP(S), C -is printed in the the greeting and used for generating C +is printed in the greeting and used for generating C headers, overriding the L directive. diff --git a/Documentation/technical/bitrot.txt b/Documentation/technical/bitrot.txt index 8ba0cab5f..4eacc97e9 100644 --- a/Documentation/technical/bitrot.txt +++ b/Documentation/technical/bitrot.txt @@ -20,7 +20,7 @@ programming languages and APIs of our implementation. However, we only depend on its stability to maintain a stable, bidirectional mapping of Message-IDs to NNTP article numbers in msgmap.sqlite3. lei uses it to maintain mail source mappings, - but lei itself is not-yet-ready for reliably storing private mail. + but lei itself is not yet ready for reliably storing private mail. [1] https://www.loc.gov/preservation/digital/formats/fdd/fdd000461.shtml @@ -31,7 +31,7 @@ programming languages and APIs of our implementation. When relying on the `syscall' perlop, be sure to hard code the actual numbers used for syscalls instead of relying on the symbolic name => number mapping at compilation time. FreeBSD (and - probably others) will assign different numbers to the same name + probably others) will assign different numbers to the same name (e.g. SYS_kevent changed from 363 to 560, while SYS_freebsd11_kevent continues to map to 363 in FreeBSD 12+). diff --git a/Makefile.PL b/Makefile.PL index ae6ba31b7..531350d8f 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -276,7 +276,7 @@ Makefile.PL : MANIFEST touch -r MANIFEST \$@ \$(PERLRUN) \$@ -# Install symlinks to ~/bin (which is hopefuly in PATH) which point to +# Install symlinks to ~/bin (which is hopefully in PATH) which point to # this source tree. # prefix + bindir matches git.git Makefile: prefix = \$(HOME) diff --git a/contrib/css/README b/contrib/css/README index d0ba3befa..26747199d 100644 --- a/contrib/css/README +++ b/contrib/css/README @@ -36,7 +36,7 @@ Snippet from ~/.public-inbox/config, order matters to browsers. ; "https://" or "http://" for hosts which only support one protocol. css = href=//example.com/fugly.css title=external -All files in these example directory are CC0-1.0 (public domain): +All files in this example directory are CC0-1.0 (public domain): To the extent possible under law, Eric Wong has waived all copyright and related or neighboring rights to these examples. https://creativecommons.org/publicdomain/zero/1.0/legalcode diff --git a/examples/unsubscribe-milter@.service b/examples/unsubscribe-milter@.service index a68e6e818..3a06c3dd3 100644 --- a/examples/unsubscribe-milter@.service +++ b/examples/unsubscribe-milter@.service @@ -16,7 +16,7 @@ After = unsubscribe-milter.socket ExecStart = /usr/local/sbin/unsubscribe.milter /home/mlmmj/.unsubscribe.key # UNIQUE_MAILTO makes the List-Unsubscribe mailto: header unique -# so unsubcribing becomes one-step (requires MDA/MTA configuration, +# so unsubscribing becomes one-step (requires MDA/MTA configuration, # see the bottom of examples/unsubscribe.milter # Environment = UNIQUE_MAILTO=1 diff --git a/install/deps.perl b/install/deps.perl index 6563c3cef..49c728f79 100755 --- a/install/deps.perl +++ b/install/deps.perl @@ -104,7 +104,7 @@ $profiles->{'www-thread'} = [ @{$profiles->{v2essential}}, qw(Plack) ]; # common profile for PublicInbox::WWW $profiles->{'www-search'} = [ @{$profiles->{'www-thread'}}, qw(Xapian) ]; -# bare mininum for lei +# bare minimum for lei $profiles->{'lei-core'} = [ @{$profiles->{v2essential}}, qw(Xapian) ]; push @{$profiles->{'lei-core'}}, 'Inline::C' if $^O ne 'linux'; @@ -261,7 +261,7 @@ if ($pkg_fmt =~ /\A(?:pkg_add|pkgin)\z/) { } } -my %inst_check = ( # subs which return true if a package is intalled +my %inst_check = ( # subs which return true if a package is installed apk => sub { system(qw(apk info -q -e), $_[0]) == 0 }, deb => sub { system("dpkg -s $_[0] >/dev/null 2>&1") == 0 }, pkg => sub { system(qw(pkg info -q), $_[0]) == 0 }, diff --git a/lib/PublicInbox/Eml.pm b/lib/PublicInbox/Eml.pm index d59d7c3f6..81a57a031 100644 --- a/lib/PublicInbox/Eml.pm +++ b/lib/PublicInbox/Eml.pm @@ -183,7 +183,7 @@ sub mp_descend ($$) { # "multipart" messages can exist w/o a body my $bdy = ($nr ? delete($self->{bdy}) : \(body_raw($self))) or return; - # Cut at the the first epilogue, not subsequent ones. + # Cut at the first epilogue, not subsequent ones. # *sigh* just the regexp match alone seems to bump RSS by # length($$bdy) on a ~30M string: my $epilogue_missing; diff --git a/lib/PublicInbox/Import.pm b/lib/PublicInbox/Import.pm index 35985f74f..1478220e6 100644 --- a/lib/PublicInbox/Import.pm +++ b/lib/PublicInbox/Import.pm @@ -331,7 +331,7 @@ sub drop_unwanted_headers ($) { $eml->header_set($_); } - # We don't want public-inbox readers to be able to unsubcribe the + # We don't want public-inbox readers to be able to unsubscribe the # address which does archiving. WARNING: this breaks DKIM if the # mailing list sender follows RFC 8058, section 4; but breaking DKIM # (or have senders ignore RFC 8058 sec. 4) is preferable to having diff --git a/lib/PublicInbox/xap_helper.h b/lib/PublicInbox/xap_helper.h index edc418926..8d153065a 100644 --- a/lib/PublicInbox/xap_helper.h +++ b/lib/PublicInbox/xap_helper.h @@ -7,7 +7,7 @@ * C (not C++) is used as much as possible to lower the contribution * barrier for hackers who mainly know C (this includes the maintainer). * Yes, that means we use C stdlib stuff like open_memstream - * instead their equivalents in the C++ stdlib :P + * instead of their equivalents in the C++ stdlib :P * Everything here is an unstable internal API of public-inbox and * NOT intended for ordinary users; only public-inbox hackers */ -- 2.47.3