dovecot: s/shrinked/shrank/

dovecot at dovecot.org dovecot at dovecot.org
Sun Oct 28 13:27:56 EET 2007


details:   http://hg.dovecot.org/dovecot/rev/ce7f9d33d566
changeset: 6645:ce7f9d33d566
user:      Timo Sirainen <tss at iki.fi>
date:      Sun Oct 28 13:27:46 2007 +0200
description:
s/shrinked/shrank/

diffstat:

3 files changed, 5 insertions(+), 5 deletions(-)
src/lib-index/mail-index-sync-ext.c       |    2 +-
src/lib-index/mail-transaction-log-file.c |    6 +++---
src/lib-storage/index/mbox/mbox-sync.c    |    2 +-

diffs (54 lines):

diff -r 119c5a16150c -r ce7f9d33d566 src/lib-index/mail-index-sync-ext.c
--- a/src/lib-index/mail-index-sync-ext.c	Sun Oct 28 12:37:29 2007 +0200
+++ b/src/lib-index/mail-index-sync-ext.c	Sun Oct 28 13:27:46 2007 +0200
@@ -276,7 +276,7 @@ sync_ext_resize(const struct mail_transa
 	new_size = MAIL_INDEX_HEADER_SIZE_ALIGN(u->hdr_size);
 
 	if (new_size < old_size) {
-		/* header shrinked */
+		/* header shrank */
 		buffer_delete(map->hdr_copy_buf, ext->hdr_offset + new_size,
 			      old_size - new_size);
 		modified = TRUE;
diff -r 119c5a16150c -r ce7f9d33d566 src/lib-index/mail-transaction-log-file.c
--- a/src/lib-index/mail-transaction-log-file.c	Sun Oct 28 12:37:29 2007 +0200
+++ b/src/lib-index/mail-transaction-log-file.c	Sun Oct 28 13:27:46 2007 +0200
@@ -675,7 +675,7 @@ log_file_track_mailbox_sync_offset_hdr(s
 
 		if (sync_offset < file->saved_tail_offset) {
 			mail_transaction_log_file_set_corrupted(file,
-				"log_file_tail_offset shrinked");
+				"log_file_tail_offset shrank");
 			return -1;
 		}
 		file->saved_tail_offset = sync_offset;
@@ -841,7 +841,7 @@ mail_transaction_log_file_insert_read(st
 	buffer_set_used_size(file->buffer, file->buffer->used - size);
 
 	if (ret == 0) {
-		mail_transaction_log_file_set_corrupted(file, "file shrinked");
+		mail_transaction_log_file_set_corrupted(file, "file shrank");
 		return 0;
 	} else if (errno == ESTALE) {
 		/* log file was deleted in NFS server, fail silently */
@@ -1060,7 +1060,7 @@ int mail_transaction_log_file_map(struct
 
 		if ((uoff_t)st.st_size < file->sync_offset) {
 			mail_transaction_log_file_set_corrupted(file,
-				"file size shrinked");
+				"file size shrank");
 			return 0;
 		}
 
diff -r 119c5a16150c -r ce7f9d33d566 src/lib-storage/index/mbox/mbox-sync.c
--- a/src/lib-storage/index/mbox/mbox-sync.c	Sun Oct 28 12:37:29 2007 +0200
+++ b/src/lib-storage/index/mbox/mbox-sync.c	Sun Oct 28 13:27:46 2007 +0200
@@ -1186,7 +1186,7 @@ static int mbox_sync_handle_eof_updates(
 	file_size = st->st_size;
 	if (file_size < sync_ctx->file_input->v_offset) {
 		mbox_sync_set_critical(sync_ctx,
-			"file size unexpectedly shrinked in mbox file %s "
+			"file size unexpectedly shrank in mbox file %s "
 			"(%"PRIuUOFF_T" vs %"PRIuUOFF_T")",
 			sync_ctx->mbox->path, file_size,
 			sync_ctx->file_input->v_offset);


More information about the dovecot-cvs mailing list