Displaying 1 result from an estimated 1 matches for "4e74f4651f5b".
2009 Jul 08
1
readdir and rename don't mix; patch included
Enclosed please find a patch to dovecot-1.1.16 that fixes a common
problem we see under load on Mac OS X and HFS+.
The symptom is that sometimes readdir() returns EINVAL. The problem
is that readdir() and rename() don't mix well, and maildir_scan_dir()
renames messages from new/ to cur/. The solution I chose is just to
retry scanning the directory, since code to rescan is already