# HG changeset patch # User Timo Sirainen # Date 1193570866 -7200 # Node ID ce7f9d33d566c251bcd3a64bba83213559ad9824 # Parent 119c5a16150cfe4251625817734ebfb2169372ee s/shrinked/shrank/ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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);