http://bugzilla.spamassassin.org/show_bug.cgi?id=3442
------- Additional Comments From [EMAIL PROTECTED] 2004-05-28 19:13 ------- Subject: Re: New: flock locking creates and doesn't clean up lock files -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 >I'm not familiar with the flock code, but I assume it flocks the DB file, not >the .lock file, which doesn't seem to be needed at all (it doesn't block new >write attempts to the DB, for instance...) No, it flocks the .lock file, and that has to remain around for the lock to work correctly that way. It's a bit odd, but works. I didn't want to flock the db file itself, here's why: 1. I'd prefer not to make too many assumptions again about what it'd be called (.db? .cdb? .pag? no extension?), 2. what if the DB module in use creates a *new* file for some reason? the lock would be lost. bad. - --j. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Exmh CVS iD8DBQFAt/GhQTcbUG5Y7woRAlB5AKCcrT+iFUnAKAd+SFCYgMeo65HaRACdGy4+ 0Sabot3lzAKOcHjkYOWlcvs= =XrCF -----END PGP SIGNATURE----- ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
