]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
spelling fixes
authorklemens <ka7@github.com>
Sat, 18 Feb 2017 09:39:56 +0000 (10:39 +0100)
committerGitLab <gitlab@git.dovecot.net>
Sun, 19 Feb 2017 16:29:35 +0000 (18:29 +0200)
34 files changed:
NEWS
doc/example-config/conf.d/auth-system.conf.ext
doc/example-config/dovecot-sql.conf.ext
doc/man/doveadm-exec.1.in
doc/securecoding.txt
m4/dovecot.m4
m4/endian.m4
src/auth/password-scheme.h
src/config/config-filter.c
src/doveadm/client-connection-http.c
src/imap-urlauth/imap-urlauth.c
src/imap/cmd-append.c
src/imap/cmd-thread.c
src/imap/main.c
src/lib-dcrypt/ostream-encrypt.c
src/lib-fts/fts-tokenizer-generic.c
src/lib-fts/fts-tokenizer.h
src/lib-http/http-client-queue.c
src/lib-imap/imap-base-subject.c
src/lib-index/mail-cache.c
src/lib-mail/message-part-data.h
src/lib-program-client/program-client-remote.c
src/lib-sasl/dsasl-client.h
src/lib-ssl-iostream/istream-openssl.c
src/lib-storage/index/index-sort-string.c
src/lib-storage/index/maildir/maildir-storage.c
src/lib-storage/index/maildir/maildir-uidlist.c
src/lib-storage/list/mailbox-list-fs-iter.c
src/lib-storage/mailbox-attribute.h
src/lib/fdatasync-path.c
src/lib/sha1.h
src/lib/sha3.c
src/lib/test-data-stack.c
src/log/log-connection.c

diff --git a/NEWS b/NEWS
index 52315d15681866256ec35da6701f609b90d14c59..cc0cfe0bf4eb9d6bd0b72fc92d72dce39e5831ec 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -348,7 +348,7 @@ v2.2.11 2014-02-12  Timo Sirainen <tss@iki.fi>
        + stats: Track also wall clock time for commands.
        + pop3_migration plugin improvements to try harder to match the UIDLs
          correctly.
-       - imap: SEARCH/SORT PARTIAL reponses may have been too large.
+       - imap: SEARCH/SORT PARTIAL responses may have been too large.
        - doveadm backup: Fixed assert-crash when syncing mailbox deletion.
 
 v2.2.10 2013-11-25  Timo Sirainen <tss@iki.fi>
@@ -2220,7 +2220,7 @@ v1.0.rc27 2007-03-13  Timo Sirainen <tss@iki.fi>
          quota recalculation ignored the box).
        - Index file handling fixes
        - mbox syncing fixes
-       - Wrong endianess index files still weren't silently rebuilt
+       - Wrong endianness index files still weren't silently rebuilt
        - IMAP quota plugin: GETQUOTAROOT returned the mailbox name wrong the
          namespace had a prefix or if its separator was non-default
        - IMAP: If client was appending multiple messages with MULTIAPPEND
@@ -2242,7 +2242,7 @@ v1.0.rc26 2007-03-07  Timo Sirainen <tss@iki.fi>
          X-IMAP header crashed deliver.
        - deliver: If mail_debug=yes, drop out DEBUG environment before
          calling sendmail binary. Postfix's sendmail didn't really like it.
-       - mbox: X-UID brokeness fixes broke rc25 even with valid X-UID headers.
+       - mbox: X-UID brokenness fixes broke rc25 even with valid X-UID headers.
          Now the code should finally work right.
        - Maildir: When syncing a huge maildir, touch dovecot-uidlist.lock file
          once in a while to make sure it doesn't get overwritten by another
@@ -2250,7 +2250,7 @@ v1.0.rc26 2007-03-07  Timo Sirainen <tss@iki.fi>
        - Maildir++ quota: We didn't handle NUL bytes in maildirsize files very
          well. Now the file is rebuilt when they're seen (NFS problem).
        - Index/view handling fix should fix some crashes/errors
-       - If index files were moved to a different endianess machine, Dovecot
+       - If index files were moved to a different endianness machine, Dovecot
          logged all sorts of errors instead of silently rebuilding them.
        - Convert plugin didn't change hierarchy separators in mailbox names.
        - PostgreSQL authentication could have lost requests once in a while
index 23f943c7b6fc318a5d72d5e5428e592a8edf9070..dadb9f7c9734f03d8a6b149afbb7a51213ee0f6c 100644 (file)
@@ -14,7 +14,7 @@ passdb {
   #args = dovecot
 }
 
-# System users (NSS, /etc/passwd, or similiar).
+# System users (NSS, /etc/passwd, or similar).
 # In many systems nowadays this uses Name Service Switch, which is
 # configured in /etc/nsswitch.conf. <doc/wiki/AuthDatabase.Passwd.txt>
 #passdb {
@@ -23,7 +23,7 @@ passdb {
   #args = 
 #}
 
-# Shadow passwords for system users (NSS, /etc/shadow or similiar).
+# Shadow passwords for system users (NSS, /etc/shadow or similar).
 # Deprecated by PAM nowadays.
 # <doc/wiki/PasswordDatabase.Shadow.txt>
 #passdb {
@@ -44,7 +44,7 @@ passdb {
 ## User databases
 ##
 
-# System users (NSS, /etc/passwd, or similiar). In many systems nowadays this
+# System users (NSS, /etc/passwd, or similar). In many systems nowadays this
 # uses Name Service Switch, which is configured in /etc/nsswitch.conf.
 userdb {
   # <doc/wiki/AuthDatabase.Passwd.txt>
index a434244885d04009d966dac5247bfca29ebbd80e..2f8559b8d49e6958df765a4e0f2eafc801fdb3a1 100644 (file)
@@ -37,7 +37,7 @@
 # settings, like: host=sql1.host.org host=sql2.host.org
 #
 # pgsql:
-#   For available options, see the PostgreSQL documention for the
+#   For available options, see the PostgreSQL documentation for the
 #   PQconnectdb function of libpq.
 #   Use maxconns=n (default 5) to change how many connections Dovecot can
 #   create to pgsql.
index 2a9e5fcaba1180872629e5901ecd5eac913b3b3e..1931f2a5415e929f08c2cbf56547726088169db9 100644 (file)
@@ -28,7 +28,7 @@ the name of an executable located in
 .\"-------------------------------------
 .TP
 .I binary arguments
-options and arguments, wich will be passed through to the
+options and arguments, which will be passed through to the
 .IR binary .
 .\"------------------------------------------------------------------------
 .SH EXAMPLE
index 9802e0374b527f55b892f89960751de7e6024fdf..e3e3306223586c3b2cd29b76dd26a13f3acfa007 100644 (file)
@@ -63,7 +63,7 @@ well currently. In any case I'd rather not make it required.
 There are a few ways to avoid most free() calls however: data stack and
 memory pools.
 
-Data stack works in somewhat similiar way to C's control stack. alloca() is
+Data stack works in somewhat similar way to C's control stack. alloca() is
 quite near to what it does, but there's one major difference: Stack frames
 are explicitly defined, so functions can return values allocated from data
 stack. t_strdup_printf() call is an excellent example of why this is
index 5fce9c3bb9512624dbbe7004185c7e5b178073a2..810aa40217b85dd6c98e4be72579e89f193499b7 100644 (file)
@@ -74,7 +74,7 @@ EOF
   AC_SUBST(RUN_TEST)
 ])
 
-# Substitute every var in the given comma seperated list
+# Substitute every var in the given comma separated list
 AC_DEFUN([AX_SUBST_L],[
        m4_foreach([__var__], [$@], [AC_SUBST(__var__)])
 ])
index a1766ff5f4a831b2540f2dd9f1f86aca255799ae..9518a116eb6f243ed34d800b44baab070c2bf227 100644 (file)
@@ -1,5 +1,5 @@
 dnl **
-dnl ** Endianess
+dnl ** Endianness
 dnl **
 
 dnl At least Apple's gcc supports __BIG_ENDIAN__ and __LITTLE_ENDIAN__
index 65a92ef1c5ebc9e2f1994d76f34af08653437f38..35feee9d249c5e424bee4f46689015b2e998e0de 100644 (file)
@@ -101,7 +101,7 @@ int pbkdf2_verify(const char *plaintext, const char *user ATTR_UNUSED,
                  const unsigned char *raw_password, size_t size,
                  const char **error_r);
 
-/* check wich of the algorithms Blowfisch, SHA-256 and SHA-512 are
+/* check which of the algorithms Blowfisch, SHA-256 and SHA-512 are
    supported by the used libc's/glibc's crypt() */
 void password_scheme_register_crypt(void);
 
index a75f9d37919b862fb9fabfb2d092c2aac8707f8b..c7dddb3650404140d89b1a52c1a48296751e1ed7 100644 (file)
@@ -35,7 +35,7 @@ static bool
 config_filter_match_local_name(const struct config_filter *mask,
                               const char *filter_local_name)
 {
-       /* Handle multiple names seperated by spaces in local_name
+       /* Handle multiple names separated by spaces in local_name
           * Ex: local_name "mail.domain.tld domain.tld mx.domain.tld" { ... } */
        const char *const *local_name = t_strsplit_spaces(mask->local_name, " ");
 
index c58c37d621e1710520030eb16068168686c2b43d..820dbf85411a082591d019a6756853312c5f9579 100644 (file)
@@ -464,7 +464,7 @@ doveadm_http_server_read_request_v1(struct client_connection_http *conn)
                                        break;
                                }
                        }
-                       /* skip parameters if error has already occured */
+                       /* skip parameters if error has already occurred */
                        if (!found || conn->method_err != 0) {
                                json_parse_skip_next(conn->json_parser);
                                conn->json_state = JSON_STATE_COMMAND_PARAMETER_KEY;
index 17ec764ae1a5ccabbf7391bc21d9c34f32a6c776..0d800f2ee70606b2aa2c426cf5be6b9b1fccc303 100644 (file)
@@ -30,7 +30,7 @@ The imap-urlauth service thus consists of three separate stages:
   a worker, the imap-urlauth service establishes a control connection to the
   imap-urlauth-worker service. In the handshake phase of the control protocol,
   the connection of the client is passed to the worker. Once the worker
-  finishes, a new worker is started and the client connection is tranfered to
+  finishes, a new worker is started and the client connection is transfered to
   it, unless the client is disconnected.
 
 - imap-urlauth-worker:
index 448ff0250bffb16d91f93ac3814f22fc1ed73a45..b48af061c2df75e34af01d75640d5877f83cef1c 100644 (file)
@@ -792,7 +792,7 @@ static bool cmd_append_parse_new_msg(struct client_command_context *cmd)
        }
        if (ret == 0) {
                /* CATENATE contained only URLs. Finish it and see if there
-                  are more messsages. */
+                  are more messages. */
                cmd_append_finish_catenate(cmd);
                imap_parser_reset(ctx->save_parser);
                return cmd_append_parse_new_msg(cmd);
index d1fe309668c3304dbebbf9a6d30390c099200c5d..aa387d7a1f77b0fd86503496887e9db4755d802c 100644 (file)
@@ -21,7 +21,7 @@ static int imap_thread_write(struct mail_thread_iterate_context *iter,
                return 0;
 
        if (count == 1 && !root) {
-               /* only one child - special case to avoid extra paranthesis */
+               /* only one child - special case to avoid extra parenthesis */
                node = mail_thread_iterate_next(iter, &child_iter);
                str_printfa(str, "%u", node->uid);
                if (child_iter != NULL) {
index 132d3cff69e2e8f9ebdadb5fcd37ff5bcd3f8086..6ef5f6edafd66fe7e94259a7ff08fb2c122c176e 100644 (file)
@@ -205,7 +205,7 @@ client_add_input(struct client *client, const unsigned char *client_input,
        o_stream_unref(&output);
 
        /* we could have already handled LOGOUT, or we might need to continue
-          pending ambigious commands. */
+          pending ambiguous commands. */
        if (client->disconnected)
                client_destroy(client, NULL);
        else
index dbc0afadb084c7656a5109a75b67e0295f27273c..25de42b93d6f7266883d8f7441daf5cc6beec49c 100644 (file)
@@ -616,7 +616,7 @@ int o_stream_encrypt_init(struct encrypt_ostream *estream, const char *algorithm
                        return -1;
                }
 
-               /* MAC algoritm is used for PBKDF2 and keydata hashing */
+               /* MAC algorithm is used for PBKDF2 and keydata hashing */
                return o_stream_encrypt_keydata_create_v2(estream, malg);
        }
 }
index 1c5adef6a43ed0b5d5a3f354d2fe82dd4e40ad40..ecbaaf4505ca22228e4b1deb36886d8e2f7c33f2 100644 (file)
@@ -248,7 +248,7 @@ fts_tokenizer_generic_simple_next(struct fts_tokenizer *_tok,
        return 0;
 }
 
-/* TODO: Arrange array searches roughly in order of likelyhood of a match.
+/* TODO: Arrange array searches roughly in order of likelihood of a match.
    TODO: Make some array of the arrays, so this can be a foreach loop.
    TODO: Check for Hangul.
    TODO: Add Hyphens U+002D HYPHEN-MINUS, U+2010 HYPHEN, possibly also
index 6e032157b867274d48eb9c4528c2b1201f8a2915..c202cf78fefeabed6698f82fdb4a22d884304fc2 100644 (file)
@@ -26,7 +26,7 @@ extern const struct fts_tokenizer *fts_tokenizer_email_address;
 
 /* Generic email content tokenizer. Cuts text into tokens. */
 /* Settings: 
-   "maxlen" Maximum length of token, before an arbitary cut off is made.
+   "maxlen" Maximum length of token, before an arbitrary cut off is made.
    Defaults to FTS_DEFAULT_TOKEN_MAX_LENGTH.
 
    "algorithm", accepted values are "simple" or "tr29". Defines the
index ba3e668d5f6bcb2c04ab9279d1e662d3da943890..496dc5e8a2e67646479f9def559b902f9acf3952 100644 (file)
@@ -696,7 +696,7 @@ http_client_queue_request_timeout(struct http_client_queue *queue)
                array_append(&failed_requests, &reqs[i], 1);
        }
 
-       /* update timout */
+       /* update timeout */
        if (i < count)
                new_to = reqs[i]->timeout_time;
 
@@ -766,7 +766,7 @@ http_client_queue_request_timeout_cmp(struct http_client_request *const *req1,
                return ret;
        }
 
-       /* sort by minumum attempts for fairness */
+       /* sort by minimum attempts for fairness */
        return ((*req2)->attempts - (*req1)->attempts);
 }
 
index 84887d45124ae8a6e81f4fdecd802413192d7cc7..d03aec1f52cf306b55b04e80af811b9173a98b26 100644 (file)
@@ -1,6 +1,6 @@
 /* Copyright (c) 2002-2017 Dovecot authors, see the included COPYING file */
 
-/* Implementated against draft-ietf-imapext-sort-10 and
+/* Implemented against draft-ietf-imapext-sort-10 and
    draft-ietf-imapext-thread-12 */
 
 #include "lib.h"
index e1652323f22d598f1069250557c4f443bbdd1db5..40c989ddea87c216488ac544c5265090110b8449 100644 (file)
@@ -433,7 +433,7 @@ int mail_cache_map(struct mail_cache *cache, size_t offset, size_t size,
                            messages. The caller will then just have to
                            fallback to generating the value itself.
 
-                           We can't simply reopen the cache flie, because
+                           We can't simply reopen the cache file, because
                            using it requires also having updated file
                            offsets. */
                         if (errno != ESTALE)
index ea436baa2cb53e6df860c896d595eb3dd9a1c073..3d8a6ae8ddad33ca65f0146011c4176b2b933e42 100644 (file)
@@ -45,7 +45,7 @@ extern const char *message_part_envelope_headers[];
  */
 
 /* Returns TRUE if this message part has content-type "text/plain",
-   chaset "us-ascii" and content-tranfer-encoding "7bit" */
+   chaset "us-ascii" and content-transfer-encoding "7bit" */
 bool message_part_data_is_plain_7bit(const struct message_part *part)
        ATTR_PURE;
 
index eaa8694d2e140d3d2beae4503628ac05c77d9348..6341da30d653b9d7f86b2e6a2972b536abb33aba 100644 (file)
@@ -319,7 +319,7 @@ void program_client_net_connect_timeout(struct program_client *pclient)
        program_client_net_connect_again(pclient);
 }
 
-/* see if connect suceeded or not, if it did, then proceed
+/* see if connect succeeded or not, if it did, then proceed
    normally, otherwise try reconnect to next address */
 static
 void program_client_net_connected(struct program_client *pclient)
index 073b8c9dee88378ad070a5cb18de0176c70e15a3..999008d588e700c4b98fb7efd7722f523951c13d 100644 (file)
@@ -32,7 +32,7 @@ int dsasl_client_output(struct dsasl_client *client,
                        const char **error_r);
 
 /* Call for setting extra parameters for authentication, these are mechanism
-   dependant. -1 = error, 0 = not found, 1 = ok
+   dependent. -1 = error, 0 = not found, 1 = ok
    value can be NULL. */
 int dsasl_client_set_parameter(struct dsasl_client *client,
                               const char *param, const char *value,
index 03e40706bcf7b36f78ed67f8154be485ce413a08..f895a415920172e4a01c9989353be01240e55d26 100644 (file)
@@ -92,7 +92,7 @@ static ssize_t i_stream_ssl_read_real(struct istream_private *stream)
 
        /* now make sure that we read everything already buffered in OpenSSL
           into the stream (without reading anything more). this makes I/O loop
-          behave similary for ssl-istream as file-istream. */
+          behave similarly for ssl-istream as file-istream. */
        sstream->ssl_io->input_handler = FALSE;
        stream->max_buffer_size = (size_t)-1;
        while ((ret = SSL_read(ssl_io->ssl, buffer, sizeof(buffer))) > 0) {
index 0bedb13fa7a8f80d637169cb9dd6d43f7cc79764..6effdaf29854f756312eefea7574afc25388e7a6 100644 (file)
@@ -1,6 +1,6 @@
 /* Copyright (c) 2006-2017 Dovecot authors, see the included COPYING file */
 
-/* The idea is that we use 32bit integers for string sort IDs which specifiy
+/* The idea is that we use 32bit integers for string sort IDs which specify
    the sort order for primary sort condition. The whole 32bit integer space is
    used and whenever adding a string, the available space is halved and the new
    ID is added in the middle. For example if we add one mail the first time, it
index 0cc4f3599a9557c01ff1a5651f465bae73ad41d8..f5ae59e8fa8cb6b0d802c772860c3bb9da4be795 100644 (file)
@@ -58,7 +58,7 @@ maildir_storage_create(struct mail_storage *_storage, struct mail_namespace *ns,
 
        if (list->set.control_dir == NULL && list->set.inbox_path == NULL &&
            (ns->flags & NAMESPACE_FLAG_INBOX_ANY) != 0) {
-               /* put the temp files into tmp/ directory preferrably */
+               /* put the temp files into tmp/ directory preferably */
                storage->temp_prefix = p_strconcat(_storage->pool, "tmp/",
                                                   storage->temp_prefix, NULL);
                dir = mailbox_list_get_root_forced(list, MAILBOX_LIST_PATH_TYPE_DIR);
index 02f886cbd38246b9c5fd4f0722729cb8204e31c8..deacc1f9c003c0ce30a600774df04581a5fde820 100644 (file)
@@ -374,7 +374,7 @@ static void maildir_uidlist_update_hdr(struct maildir_uidlist *uidlist,
        struct maildir_index_header *mhdr = uidlist->mhdr;
 
        if (mhdr->uidlist_mtime == 0 && uidlist->version != UIDLIST_VERSION) {
-               /* upgrading from older verson. don't update the
+               /* upgrading from older version. don't update the
                   uidlist times until it uses the new format */
                uidlist->recreate = TRUE;
                return;
index d1311d52648fd0241a9d97cecbf56dd8b1edf54a..9099aa838c64deac1c8c40f5aae9c2ca8ac5e6d0 100644 (file)
@@ -268,7 +268,7 @@ fs_list_dir_read(struct fs_list_iterate_context *ctx,
        fsdir = opendir(path);
        if (fsdir == NULL) {
                if (ENOTFOUND(errno)) {
-                       /* root) user gave invalid hiearchy, ignore
+                       /* root) user gave invalid hierarchy, ignore
                           sub) probably just race condition with other client
                           deleting the mailbox. */
                        return 0;
index d7e8348867a633a2cb13643ef6311ecc5787871c..09abb996611b6fdb7641bb69ab3f2213f021a531 100644 (file)
  *
  *     priv/<GUID>/vendor/vendor.dovecot/pvt/server/foo
  *
- * would be refered to as:
+ * would be referred to as:
  *
  *     vendor/vendor.dovecot/pvt/server/foo
  *
index 01bffe6a10ceb599fcb67f707d26a4ea33373ee0..4746f02b10afd42ce8f884054af84ad2876a105d 100644 (file)
@@ -16,7 +16,7 @@ int fdatasync_path(const char *path)
        if (fd == -1)
                return -1;
        if (fdatasync(fd) < 0) {
-               /* Some OSes/FSes don't allow fsyncing directores. Silently
+               /* Some OSes/FSes don't allow fsyncing directories. Silently
                   ignore the problem. */
                if (errno == EBADF) {
                        /* e.g. NetBSD */
index 6fadeea2378f0941ab35e69c1223a270f7083450..c8e1e67b546cbe4c6a251dda296dc7b0568a9185 100644 (file)
@@ -68,7 +68,7 @@ extern void sha1_loop(struct sha1_ctxt *, const void *, size_t);
 extern void sha1_result(struct sha1_ctxt *, void *);
 
 
-/* compatibilty with other SHA1 source codes */
+/* compatibility with other SHA1 source codes */
 typedef struct sha1_ctxt SHA1_CTX;
 #define SHA1Init(x)            sha1_init((x))
 #define SHA1Update(x, y, z)    sha1_loop((x), (y), (z))
index 657167850c73dca1a26b593096f9149831c33680..e8d1c694d2462f7a543a4e7a7730c602dec210cf 100644 (file)
@@ -110,7 +110,7 @@ keccakf(uint64_t s[25])
        }
 }
 
-/* *************************** Public Inteface ************************ */
+/* *************************** Public Interface ************************ */
 
 void sha3_256_init(void *context)
 {
index 5800f3763d8e7b444069fd13e7973ebadc47ca42..b43d0d1264c2c162700b3dddee7fb7df3358be5b 100644 (file)
@@ -163,7 +163,7 @@ enum fatal_test_state fatal_data_stack(unsigned int stage)
                        return FATAL_TEST_ABORT; /* abort, things are messed up with t_pop */
                *undo_ptr = undo_data;
                undo_ptr = NULL;
-               /* t_pop musn't abort, that would cause recursion */
+               /* t_pop mustn't abort, that would cause recursion */
                things_are_messed_up = TRUE;
                if (t_id != NONEXISTENT_STACK_FRAME_ID && !t_pop(&t_id))
                        return FATAL_TEST_ABORT; /* abort, things are messed up with us */
index dd62b272e5428f06ec7531e81071c610c9233aa4..5080d1324a1680f8445624fd8b5996c0a8e5be58 100644 (file)
@@ -22,7 +22,7 @@
 /* Log a warning after 1 secs when we've been all the time busy writing the
    log connection. */
 #define LOG_WARN_PENDING_COUNT (1000 / MAX_MSECS_PER_CONNECTION)
-/* If we keep beeing busy, log a warning every 60 seconds. */
+/* If we keep being busy, log a warning every 60 seconds. */
 #define LOG_WARN_PENDING_INTERVAL (60 * LOG_WARN_PENDING_COUNT)
 
 struct log_client {