[dovecot-cvs] dovecot/src/lib-index/maildir maildir-sync.c,1.12,1.13

cras at procontrol.fi cras at procontrol.fi
Fri Oct 25 07:28:41 EEST 2002


Update of /home/cvs/dovecot/src/lib-index/maildir
In directory danu:/tmp/cvs-serv353/maildir

Modified Files:
	maildir-sync.c 
Log Message:
comment update



Index: maildir-sync.c
===================================================================
RCS file: /home/cvs/dovecot/src/lib-index/maildir/maildir-sync.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- maildir-sync.c	21 Oct 2002 00:09:29 -0000	1.12
+++ maildir-sync.c	25 Oct 2002 03:28:39 -0000	1.13
@@ -255,9 +255,10 @@
 
 	i_assert(index->lock_type != MAIL_LOCK_SHARED);
 
-	if (index->fd == -1)
+	if (index->fd == -1) {
+		/* anon-mmaped */
 		index_mtime = index->file_sync_stamp;
-	else {
+	} else {
 		if (fstat(index->fd, &sti) < 0)
 			return index_set_syscall_error(index, "fstat()");
 		index_mtime = sti.st_mtime;




More information about the dovecot-cvs mailing list