[dovecot-cvs] dovecot/src/lib-storage/index/dbox dbox-save.c, 1.11,
1.12
cras at dovecot.org
cras at dovecot.org
Thu Jun 8 20:14:29 EEST 2006
- Previous message: [dovecot-cvs] dovecot/src/lib-storage/index/dbox dbox-mail.c, 1.10,
1.11 dbox-sync-full.c, 1.5, 1.6 dbox-uidlist.c, 1.29, 1.30
- Next message: [dovecot-cvs] dovecot/src/lib-storage/index/dbox dbox-save.c, 1.12,
1.13 dbox-uidlist.c, 1.30, 1.31 dbox-uidlist.h, 1.5, 1.6
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /var/lib/cvs/dovecot/src/lib-storage/index/dbox
In directory talvi:/tmp/cvs-serv28536
Modified Files:
dbox-save.c
Log Message:
Saving to multiple files within a transaction was broken.
Index: dbox-save.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/index/dbox/dbox-save.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- dbox-save.c 9 May 2006 11:57:37 -0000 1.11
+++ dbox-save.c 8 Jun 2006 17:14:27 -0000 1.12
@@ -349,13 +349,13 @@
file = dbox_uidlist_append_lookup_file(ctx->append_ctx,
file_seq);
- if (pwrite_full(ctx->file->fd, hdr.uid_hex,
+ if (pwrite_full(file->fd, hdr.uid_hex,
sizeof(hdr.uid_hex), offset +
offsetof(struct dbox_mail_header,
uid_hex)) < 0) {
mail_storage_set_critical(STORAGE(ctx->mbox->storage),
"pwrite_full(%s) failed: %m",
- ctx->file->path);
+ file->path);
ctx->failed = TRUE;
dbox_transaction_save_rollback(ctx);
return -1;
- Previous message: [dovecot-cvs] dovecot/src/lib-storage/index/dbox dbox-mail.c, 1.10,
1.11 dbox-sync-full.c, 1.5, 1.6 dbox-uidlist.c, 1.29, 1.30
- Next message: [dovecot-cvs] dovecot/src/lib-storage/index/dbox dbox-save.c, 1.12,
1.13 dbox-uidlist.c, 1.30, 1.31 dbox-uidlist.h, 1.5, 1.6
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the dovecot-cvs
mailing list