From dd27850e5449d35686224a4db055e33d368291e6 Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Mon, 19 Aug 2024 12:28:15 +0200 Subject: [PATCH] fix typos most found using https://github.com/crate-ci/typos . --- debian/changelog | 6 +++--- src/driver.h | 2 +- src/main_sync.c | 2 +- src/mbsync.1.in | 4 ++-- src/mbsyncrc.sample | 4 ++-- src/run-tests.pl | 4 ++-- src/sync.c | 2 +- 7 files changed, 12 insertions(+), 12 deletions(-) diff --git a/debian/changelog b/debian/changelog index 9a04bbe..3f22e1a 100644 --- a/debian/changelog +++ b/debian/changelog @@ -181,7 +181,7 @@ isync (1.0.3-1) experimental; urgency=low - It also supports unflagging messages. (Closes: #111286) - IMAP commands are sent asynchronously. (Closes: #226222) * Kill the old debconf question about upgrades from pre-0.8 versions. - * Use the (now obsolete) swedish and portugese translations anyway. + * Use the (now obsolete) swedish and portuguese translations anyway. (Closes: #337771, #378891) * New debconf note that warns about upgrades from pre-1.0 versions. * Add a build dependency on po-debconf. @@ -273,7 +273,7 @@ isync (0.9.1-1) unstable; urgency=low * Remove sample.isyncrc from debian/docs: no need to have it both as a doc and as an example. * Move package from section non-US/main (?) to mail. (Closes: #154216) - * Update versionned build-dependency on debhelper to >= 4.1.16. + * Update versioned build-dependency on debhelper to >= 4.1.16. * Bump Standards-Version to 3.6.1. (No change required.) -- Nicolas Boullis Tue, 14 Oct 2003 22:02:20 +0200 @@ -311,7 +311,7 @@ isync (0.8-1) unstable; urgency=low duplicate messages on your IMAP server. * Has better support for uploading locally added messages. Closes: #120272 - * Added a debconf queston with some info about this that lets you abort the + * Added a debconf question with some info about this that lets you abort the upgrade. * Added NEWS.Debian with same info. * New maintainer. diff --git a/src/driver.h b/src/driver.h index fde8908..ebc96b6 100644 --- a/src/driver.h +++ b/src/driver.h @@ -271,7 +271,7 @@ struct driver { /* Add/remove the named flags to/from the given message. The message may be either * a pre-fetched one (in which case the in-memory representation is updated), - * or it may be identifed by UID only. + * or it may be identified by UID only. * The operation may be delayed until commit_cmds() is called. */ void (*set_msg_flags)( store_t *ctx, message_t *msg, uint uid, int add, int del, void (*cb)( int sts, void *aux ), void *aux ); diff --git a/src/main_sync.c b/src/main_sync.c index fff944c..afd136e 100644 --- a/src/main_sync.c +++ b/src/main_sync.c @@ -532,7 +532,7 @@ store_connected( int sts, void *aux ) int bufl = snprintf( buf, sizeof(buf), "%s%s", nz( mvars->chan->boxes[t], "" ), pat ); int flags = 0; // Partial matches like "INB*" or even "*" are not considered, - // except implicity when the INBOX lives under Path. + // except implicitly when the INBOX lives under Path. if (starts_with( buf, bufl, "INBOX", 5 )) { char c = buf[5]; if (!c) { diff --git a/src/mbsync.1.in b/src/mbsync.1.in index 759dbf1..f950b3b 100644 --- a/src/mbsync.1.in +++ b/src/mbsync.1.in @@ -111,7 +111,7 @@ Enable debugging categories: .br \fBs\fR, \fBsync\fR - print synchronization debug info .in -4 -All categories except \fBcrash\fR implictly enable \fIverbose\fR mode. +All categories except \fBcrash\fR implicitly enable \fIverbose\fR mode. Without category specification, all categories except net-all are enabled. .TP \fB-q\fR, \fB--quiet\fR @@ -368,7 +368,7 @@ See \fBUserCmd\fR above for details. Whether to use the macOS Keychain to obtain the password. (Default: \fBno\fR) .IP -The neccessary keychain item can be created this way: +The necessary keychain item can be created this way: .RS .IP .nh diff --git a/src/mbsyncrc.sample b/src/mbsyncrc.sample index e7c6196..7f85527 100644 --- a/src/mbsyncrc.sample +++ b/src/mbsyncrc.sample @@ -73,12 +73,12 @@ Inbox ~/Mail/w0rk_InBoX Channel personal-joined Far :personal: Near :local-personal: -Paterns * +Patterns * Channel work-joined Far :work: Near :local-work: -Paterns * +Patterns * Group joined personal-joined work-joined diff --git a/src/run-tests.pl b/src/run-tests.pl index 459142a..eeb0171 100755 --- a/src/run-tests.pl +++ b/src/run-tests.pl @@ -36,7 +36,7 @@ if (!-d "tmp") { my $tdir = tempdir(); symlink $tdir, "tmp" or die "Cannot symlink temp directory: $!\n"; } -chdir "tmp" or die "Cannot enter temp direcory.\n"; +chdir "tmp" or die "Cannot enter temp directory.\n"; use enum qw(:=1 A..Z); sub mn($) { my ($n) = @_; $n == 0 ? "0" : chr(64 + $n) } @@ -959,7 +959,7 @@ sub test($$$$;$) # # => create in trash; deletion may follow # | => use zero UID for state modification, even if msg exists; cmd may follow # & => use zero UID for state identification, even if message exists -# &n => use UID of n'th occurence of subject for state id; command may follow +# &n => use UID of n'th occurrence of subject for state id; command may follow # Special flag suffixes: # * => big # ? => placeholder diff --git a/src/sync.c b/src/sync.c index 600b7af..fa74d88 100644 --- a/src/sync.c +++ b/src/sync.c @@ -431,7 +431,7 @@ box_confirmed2( sync_vars_t *svars, int t ) /* This can legitimately happen if a deletion propagation was interrupted. * We have no place to record this transaction, so we just assume it. * Of course this bears the danger of clearing the state if both mailboxes - * temorarily cannot be opened for some weird reason (while the stores can). */ + * temporarily cannot be opened for some weird reason (while the stores can). */ delete_state( svars ); } done: