[dovecot-cvs] dovecot/src/lib-storage/index/maildir maildir-mail.c, 1.32, 1.33
tss at dovecot.org
tss at dovecot.org
Thu Mar 29 15:49:04 EEST 2007
- Previous message: [dovecot-cvs] dovecot dovecot-example.conf,1.252,1.253
- Next message: [dovecot-cvs] dovecot/src/lib-index mail-index-private.h, 1.82, 1.83 mail-index-transaction-private.h, 1.33, 1.34 mail-index-transaction.c, 1.88, 1.89 mail-index-view-private.h, 1.26, 1.27 mail-index.c, 1.271, 1.272 mail-index.h, 1.165, 1.166
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /var/lib/cvs/dovecot/src/lib-storage/index/maildir
In directory talvi:/tmp/cvs-serv17886
Modified Files:
maildir-mail.c
Log Message:
Fix for 64bit systems
Index: maildir-mail.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/index/maildir/maildir-mail.c,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -d -r1.32 -r1.33
--- maildir-mail.c 18 Jan 2007 16:57:44 -0000 1.32
+++ maildir-mail.c 29 Mar 2007 12:49:01 -0000 1.33
@@ -120,6 +120,7 @@
struct index_mail *mail = (struct index_mail *)_mail;
struct index_mail_data *data = &mail->data;
struct stat st;
+ uint32_t t;
(void)index_mail_get_save_date(_mail);
if (data->save_date != (time_t)-1)
@@ -128,9 +129,8 @@
if (maildir_mail_stat(_mail, &st) < 0)
return (time_t)-1;
- data->save_date = st.st_ctime;
- index_mail_cache_add(mail, MAIL_CACHE_SAVE_DATE,
- &data->save_date, sizeof(data->save_date));
+ data->save_date = t = st.st_ctime;
+ index_mail_cache_add(mail, MAIL_CACHE_SAVE_DATE, &t, sizeof(t));
return data->save_date;
}
- Previous message: [dovecot-cvs] dovecot dovecot-example.conf,1.252,1.253
- Next message: [dovecot-cvs] dovecot/src/lib-index mail-index-private.h, 1.82, 1.83 mail-index-transaction-private.h, 1.33, 1.34 mail-index-transaction.c, 1.88, 1.89 mail-index-view-private.h, 1.26, 1.27 mail-index.c, 1.271, 1.272 mail-index.h, 1.165, 1.166
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the dovecot-cvs
mailing list