[dovecot-cvs] dovecot/src/lib-storage/index/maildir maildir-copy.c, 1.50, 1.51

tss at dovecot.org tss at dovecot.org
Fri Mar 23 22:30:15 EET 2007


Update of /var/lib/cvs/dovecot/src/lib-storage/index/maildir
In directory talvi:/tmp/cvs-serv23041

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



Index: maildir-copy.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/index/maildir/maildir-copy.c,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -d -r1.50 -r1.51
--- maildir-copy.c	22 Jan 2007 16:21:34 -0000	1.50
+++ maildir-copy.c	23 Mar 2007 20:30:11 -0000	1.51
@@ -126,7 +126,8 @@
 
 		/* see if the filename exists in destination maildir's
 		   uidlist. if it doesn't, we can use it. otherwise generate
-		   a new filename */
+		   a new filename. FIXME: There's a race condition here if
+		   another process is just doing the same copy. */
 		src_fname = maildir_uidlist_lookup(src_mbox->uidlist,
 						   mail->uid, &src_flags);
 		if (src_fname != NULL &&



More information about the dovecot-cvs mailing list