[dovecot-cvs] dovecot/src/lib-storage/index/mbox mbox-sync.c, 1.28,
1.29
cras at procontrol.fi
cras at procontrol.fi
Fri Jun 18 01:06:42 EEST 2004
- Previous message: [dovecot-cvs] dovecot/src/lib-storage/index/mbox
mbox-sync-rewrite.c, 1.15, 1.16
- Next message: [dovecot-cvs]
dovecot/src/lib-storage/index/mbox istream-raw-mbox.c, 1.9,
1.10 mbox-sync-private.h, 1.13, 1.14 mbox-sync-rewrite.c, 1.16,
1.17 mbox-sync.c, 1.29, 1.30
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/dovecot/src/lib-storage/index/mbox
In directory talvi:/tmp/cvs-serv24962/lib-storage/index/mbox
Modified Files:
mbox-sync.c
Log Message:
X-IMAPbase update fix
Index: mbox-sync.c
===================================================================
RCS file: /home/cvs/dovecot/src/lib-storage/index/mbox/mbox-sync.c,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -d -r1.28 -r1.29
--- mbox-sync.c 17 Jun 2004 21:29:20 -0000 1.28
+++ mbox-sync.c 17 Jun 2004 22:06:40 -0000 1.29
@@ -958,6 +958,15 @@
{
struct mbox_sync_mail_context mail_ctx;
+ if (istream_raw_mbox_seek(sync_ctx->input, 0) < 0) {
+ /* doesn't begin with a From-line, which is weird because it
+ just did. */
+ mail_storage_set_critical(sync_ctx->ibox->box.storage,
+ "Unexpectedly lost From-header line from mbox file %s",
+ sync_ctx->ibox->path);
+ return -1;
+ }
+
sync_ctx->t = mail_index_transaction_begin(sync_ctx->sync_view, FALSE);
sync_ctx->update_base_uid_last = sync_ctx->next_uid-1;
- Previous message: [dovecot-cvs] dovecot/src/lib-storage/index/mbox
mbox-sync-rewrite.c, 1.15, 1.16
- Next message: [dovecot-cvs]
dovecot/src/lib-storage/index/mbox istream-raw-mbox.c, 1.9,
1.10 mbox-sync-private.h, 1.13, 1.14 mbox-sync-rewrite.c, 1.16,
1.17 mbox-sync.c, 1.29, 1.30
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the dovecot-cvs
mailing list