[dovecot-cvs] dovecot/src/lib-storage/index/mbox mbox-file.c, 1.16,
1.17
cras at dovecot.org
cras at dovecot.org
Mon Apr 17 19:23:30 EEST 2006
- Previous message: [dovecot-cvs] dovecot/src/master login-process.c, 1.72,
1.73 mail-process.c, 1.90, 1.91 mail-process.h, 1.8,
1.9 main.c, 1.78, 1.79 master-settings.c, 1.123,
1.124 master-settings.h, 1.82, 1.83
- Next message: [dovecot-cvs] dovecot/src/lib-storage/index/maildir maildir-sync.c,
1.75, 1.76
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /var/lib/cvs/dovecot/src/lib-storage/index/mbox
In directory talvi:/tmp/cvs-serv23327
Modified Files:
mbox-file.c
Log Message:
Don't try to call utime() for mbox if it's readonly, it'll just fail.
Index: mbox-file.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/index/mbox/mbox-file.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- mbox-file.c 26 Feb 2006 10:05:22 -0000 1.16
+++ mbox-file.c 17 Apr 2006 16:23:27 -0000 1.17
@@ -103,7 +103,7 @@
struct stat st;
if (mbox->ibox.recent_flags_count > 0 && mbox->ibox.keep_recent &&
- mbox->mbox_fd != -1) {
+ mbox->mbox_fd != -1 && !mbox->mbox_readonly) {
/* we've seen recent messages which we want to keep recent.
keep file's atime lower than mtime so \Marked status
gets shown while listing */
- Previous message: [dovecot-cvs] dovecot/src/master login-process.c, 1.72,
1.73 mail-process.c, 1.90, 1.91 mail-process.h, 1.8,
1.9 main.c, 1.78, 1.79 master-settings.c, 1.123,
1.124 master-settings.h, 1.82, 1.83
- Next message: [dovecot-cvs] dovecot/src/lib-storage/index/maildir maildir-sync.c,
1.75, 1.76
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the dovecot-cvs
mailing list