[dovecot-cvs] dovecot/src/lib-storage/index/maildir maildir-copy.c, 1.43.2.4, 1.43.2.5

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


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

Modified Files:
      Tag: branch_1_0
	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.43.2.4
retrieving revision 1.43.2.5
diff -u -d -r1.43.2.4 -r1.43.2.5
--- maildir-copy.c	22 Jan 2007 16:21:31 -0000	1.43.2.4
+++ maildir-copy.c	23 Mar 2007 20:30:17 -0000	1.43.2.5
@@ -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