diff options
author | Nikolaus Schulz <microschulz@web.de> | 2010-01-16 00:58:35 +0100 |
---|---|---|
committer | Nikolaus Schulz <microschulz@web.de> | 2010-07-19 01:40:24 +0200 |
commit | da595427ff01e3dedccef22db839895150ed1270 (patch) | |
tree | 290cc6c66353b83f6873133de697196c3465f896 /Makefile | |
parent | 1db28f2b0460f0a063497febfb0897a3dc74dd2a (diff) | |
download | archivemail-da595427ff01e3dedccef22db839895150ed1270.tar.gz archivemail-da595427ff01e3dedccef22db839895150ed1270.tar.bz2 archivemail-da595427ff01e3dedccef22db839895150ed1270.zip |
Fail as gracefully as possible if writing out the new mailboxes fails
In particular:
* If writing the archived messages to the final archive fails, try to
restore the archive and abort (by not handling the exception). This is
possible since we first save the archive, and only then the modified
mailbox, so we don't corrupt the original mbox in this case.
* If writing a modified mbox file fails, save the temporary copy.
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions