[dovecot-cvs] dovecot/src/lib-index mail-index-lock.c, 1.54.2.6, 1.54.2.7
tss at dovecot.org
tss at dovecot.org
Mon May 14 02:01:25 EEST 2007
- Previous message: [dovecot-cvs] dovecot/src/auth auth-request.c, 1.99, 1.100 passdb-ldap.c, 1.63, 1.64 passdb-sql.c, 1.34, 1.35 password-scheme.c, 1.34, 1.35
- Next message: [dovecot-cvs] dovecot/src/lib-index mail-index-lock.c,1.62,1.63
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /var/lib/cvs/dovecot/src/lib-index
In directory talvi:/tmp/cvs-serv31262
Modified Files:
Tag: branch_1_0
mail-index-lock.c
Log Message:
Log an error if pwrite_full() fails while overwriting index mapping.
Index: mail-index-lock.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-index/mail-index-lock.c,v
retrieving revision 1.54.2.6
retrieving revision 1.54.2.7
diff -u -d -r1.54.2.6 -r1.54.2.7
--- mail-index-lock.c 11 Mar 2007 18:03:52 -0000 1.54.2.6
+++ mail-index-lock.c 13 May 2007 23:01:23 -0000 1.54.2.7
@@ -455,8 +455,11 @@
} else {
/* write the modified parts. header is small enough to be
always written, write_seq_* specifies the record range. */
- if (mail_index_write_map_over(index) < 0)
+ if (mail_index_write_map_over(index) < 0) {
+ mail_index_set_error(index,
+ "pwrite_full(%s) failed: %m", index->filepath);
mail_index_set_inconsistent(index);
+ }
}
map->write_to_disk = FALSE;
- Previous message: [dovecot-cvs] dovecot/src/auth auth-request.c, 1.99, 1.100 passdb-ldap.c, 1.63, 1.64 passdb-sql.c, 1.34, 1.35 password-scheme.c, 1.34, 1.35
- Next message: [dovecot-cvs] dovecot/src/lib-index mail-index-lock.c,1.62,1.63
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the dovecot-cvs
mailing list