Created attachment 756486
Write updated popstate in tempfile first, then move over

As in Bug 246675, using NS_NewSafeLocalFileOutputStream now, which is an
existing implementation that writes to a temp file first.

I verified that this patch works using strace and filling the disk.
Writing to the temp file fails, and rename is not done, preserving the
original file.

I think MsgNewSafeBufferedFileOutputStream should now be used in a
number of other places. Please review.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/261595

Title:
  Thunderbird corrupts Mailbox when hd is full

To manage notifications about this bug go to:
https://bugs.launchpad.net/thunderbird/+bug/261595/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to