Comment 41 for bug 261595

Created attachment 756011
Write updated popstate in tempfile first, then copy over

This patch should prevent the bug, because move does not fail when the disk is full.