Message167601
Thinking about this again, I guess the original design rationale was not to prepare for crashes, but for the ease of implementation. It's not generally possible to rewrite the mailbox fully in-place, because the messages are not loaded into memory. If the order of messages changes, for example, a message can be overwritten in the mailbox file, and its contents need to be read afterwards.
Mutt copes with this by writing the changes to a temporary file, and then copying them over to the original file. This is what we should also be doing. |
|
Date |
User |
Action |
Args |
2012-08-07 04:46:42 | petri.lehtinen | set | recipients:
+ petri.lehtinen, barry, r.david.murray |
2012-08-07 04:46:42 | petri.lehtinen | set | messageid: <1344314802.16.0.793661215411.issue15122@psf.upfronthosting.co.za> |
2012-08-07 04:46:41 | petri.lehtinen | link | issue15122 messages |
2012-08-07 04:46:40 | petri.lehtinen | create | |
|