reopen 321085 thanks Rainer Schöpf dijo [Sat, Aug 27, 2005 at 10:10:00AM +0200]: > I append a more complete example, that exhibits the bug. Note that I was > not talking about maildir. > > The point is that the bug is triggered when the working directory is > changed between opening and closing the mail folder: > a) an error message is issued at folder->close > b) the lock file is left > c) when I run the script a second time it hangs since the lock file is > still there (which is arguably another bug, by the way)
Ok, I see... Yes, now I reproduced you bug successfully - The second bug you mention does not exist, but 'a' and 'b' do happen. Why doesn't 'c' happen (although it should)? Because new locks get created, in a not-very-useful way :-/ After running your snippet three times: $ ls -l mylock* -rw------- 1 gwolf gwolf 0 2005-08-27 13:53 mylock -rw------- 1 gwolf gwolf 0 2005-08-27 13:53 mylock13464 -rw------- 1 gwolf gwolf 0 2005-08-27 13:53 mylock13467 I'll file this as a bug to the upstream authors, reopen the bug... And dive in to check on it :-/ Greetings, -- Gunnar Wolf - [EMAIL PROTECTED] - (+52-55)1451-2244 / 5623-0154 PGP key 1024D/8BB527AF 2001-10-23 Fingerprint: 0C79 D2D1 2C4E 9CE4 5973 F800 D80E F35A 8BB5 27AF