# HG changeset patch # User Timo Sirainen # Date 1290536798 0 # Node ID e6076467fbf0d32bfbac6504087216f68b0b0c12 # Parent 464fe0e6207863d2ecfa76a6860ba205a77de910 lib-index: Don't try to stat() in-memory index. diff -r 464fe0e62078 -r e6076467fbf0 src/lib-index/mail-transaction-log.c --- a/src/lib-index/mail-transaction-log.c Tue Nov 23 17:39:19 2010 +0000 +++ b/src/lib-index/mail-transaction-log.c Tue Nov 23 18:26:38 2010 +0000 @@ -41,6 +41,9 @@ { struct stat st; + if (MAIL_INDEX_IS_IN_MEMORY(log->index)) + return; + if (stat(log->filepath2, &st) < 0) { if (errno != ENOENT && errno != ESTALE) { mail_index_set_error(log->index,