[dovecot-cvs] dovecot/src/lib-index mail-index-open.c,1.36,1.37
mail-index.h,1.79,1.80
cras at procontrol.fi
cras at procontrol.fi
Sun Jun 15 06:20:54 EEST 2003
- Previous message: [dovecot-cvs]
dovecot/src/lib-storage/index index-storage.c,1.32,1.33
- Next message: [dovecot-cvs]
dovecot/src/lib-index/maildir maildir-expunge.c,1.2,1.3
maildir-index.h,1.21,1.22 maildir-sync.c,1.52,1.53
maildir-update-flags.c,1.4,1.5
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/dovecot/src/lib-index
In directory danu:/tmp/cvs-serv11439/lib-index
Modified Files:
mail-index-open.c mail-index.h
Log Message:
Dirty maildir flags support works now.
Index: mail-index-open.c
===================================================================
RCS file: /home/cvs/dovecot/src/lib-index/mail-index-open.c,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -d -r1.36 -r1.37
--- mail-index-open.c 4 Jun 2003 17:39:37 -0000 1.36
+++ mail-index-open.c 15 Jun 2003 02:20:52 -0000 1.37
@@ -30,6 +30,9 @@
index->maildir_have_new =
(hdr->flags & MAIL_INDEX_FLAG_MAILDIR_NEW) != 0;
+ if ((hdr->flags & MAIL_INDEX_FLAG_DIRTY_MESSAGES) != 0)
+ index->next_dirty_flush = ioloop_time;
+
/* update \Recent message counters */
if ((flags & MAIL_INDEX_OPEN_FLAG_UPDATE_RECENT) != 0 &&
hdr->last_nonrecent_uid != hdr->next_uid-1) {
Index: mail-index.h
===================================================================
RCS file: /home/cvs/dovecot/src/lib-index/mail-index.h,v
retrieving revision 1.79
retrieving revision 1.80
diff -u -d -r1.79 -r1.80
--- mail-index.h 4 Jun 2003 15:57:58 -0000 1.79
+++ mail-index.h 15 Jun 2003 02:20:52 -0000 1.80
@@ -404,7 +404,7 @@
/* last maildir sync: */
time_t last_new_mtime, last_uidlist_mtime;
- time_t maildir_cur_dirty;
+ time_t maildir_cur_dirty, next_dirty_flush;
int maildir_lock_fd;
pool_t new_filename_pool;
struct hash_table *new_filenames;
@@ -458,7 +458,7 @@
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, \
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, \
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, \
- 0, 0, 0, 0
+ 0, 0, 0, 0, 0
#endif
/* defaults - same as above but prefixed with mail_index_. */
- Previous message: [dovecot-cvs]
dovecot/src/lib-storage/index index-storage.c,1.32,1.33
- Next message: [dovecot-cvs]
dovecot/src/lib-index/maildir maildir-expunge.c,1.2,1.3
maildir-index.h,1.21,1.22 maildir-sync.c,1.52,1.53
maildir-update-flags.c,1.4,1.5
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the dovecot-cvs
mailing list