http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5193
------- Additional Comments From [EMAIL PROTECTED] 2006-12-01 06:57 ------- Another possibility that would be compatible with win32 is an elaboration of the flag file idea. SA could glob for rulesdir/version/*/flag to find out which directory currently contains the flag, and load the rules from there. (Note the glob isn't atomic so it may see the flag both before and after a rename, in which case SA should probably stat the directories and pick the newest.) When sa-update runs it can pick an unused directory name in rulesdir/version for the new rules, and when they have been verified it can atomically rename the flag file from its current location into the new directory. Then wait a short time in case SA is loading old rules, and finally delete the old rules directory. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
