Message30617
| Author |
baikie |
| Recipients |
| Date |
2007年01月18日.18:14:36 |
| SpamBayes Score |
| Marked as misclassified |
| Message-id |
| In-reply-to |
| Content |
Unfortunately, there is a problem with clearing _toc: it's basically
the one I alluded to in my comment of 2006年12月16日. Back then I thought
it could be caught by the test you issue the warning for, but the
application may instead do its second remove() *after* the lock() (so
that self._pending is not set at lock() time), using the key carried
over from before it called unlock(). As before, this would result in
the wrong message being deleted.
I've added a test case for this (diff attached), and a bug I found in
the process whereby flush() wasn't updating the length, which could
cause subsequent flushes to fail (I've got a fix for this). These
seem to have turned up a third bug in the MH class, but I haven't
looked at that yet.
File Added: mailbox-unified2-test.diff |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2007年08月23日 14:50:04 | admin | link | issue1599254 messages |
| 2007年08月23日 14:50:04 | admin | create |
|