Mercurial > dovecot > core-2.2
changeset 5394:344ae496ee7e HEAD
comment update
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Fri, 23 Mar 2007 22:30:11 +0200 |
parents | 434047e53586 |
children | 124e2e48c1f8 |
files | src/lib-storage/index/maildir/maildir-copy.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib-storage/index/maildir/maildir-copy.c Fri Mar 23 22:23:24 2007 +0200 +++ b/src/lib-storage/index/maildir/maildir-copy.c Fri Mar 23 22:30:11 2007 +0200 @@ -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 &&