[dovecot-cvs] dovecot/src/lib-storage/index/maildir maildir-sync.c,
1.62, 1.63
cras at dovecot.org
cras at dovecot.org
Sun Aug 7 14:41:35 EEST 2005
Update of /var/lib/cvs/dovecot/src/lib-storage/index/maildir
In directory talvi:/tmp/cvs-serv27981/src/lib-storage/index/maildir
Modified Files:
maildir-sync.c
Log Message:
s/occured/occurred/
Index: maildir-sync.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/index/maildir/maildir-sync.c,v
retrieving revision 1.62
retrieving revision 1.63
diff -u -d -r1.62 -r1.63
--- maildir-sync.c 12 Jul 2005 12:45:06 -0000 1.62
+++ maildir-sync.c 7 Aug 2005 11:41:31 -0000 1.63
@@ -5,14 +5,14 @@
it's problems:
We want to be as efficient as we can. The most efficient way to
- check if changes have occured is to stat() the new/ and cur/
+ check if changes have occurred is to stat() the new/ and cur/
directories and uidlist file - if their mtimes haven't changed,
there's no changes and we don't need to do anything.
Problem 1: Multiple changes can happen within a single second -
nothing guarantees that once we synced it, someone else didn't just
then make a modification. Such modifications wouldn't get noticed
- until a new modification occured later.
+ until a new modification occurred later.
Problem 2: Syncing cur/ directory is much more costly than syncing
new/. Moving mails from new/ to cur/ will always change mtime of
More information about the dovecot-cvs
mailing list