search for: 06fe9a17

Displaying 1 result from an estimated 1 matches for "06fe9a17".

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