Comment on attachment 756486
Write updated popstate in tempfile first, then move over
Review of attachment 756486:
-----------------------------------------------------------------
Thanks so much for the patch; sorry it took so long for me to review it.
I'm OK with either landing this patch as is, or expanding it to refactor out the other places in mailnews where we create safe, buffered output streams.
There are a couple of other places in mailnews where we're creating safe output streams; it would be great to update those to use this helper function instead of repeating the code, as part of this patch.
Comment on attachment 756486
Write updated popstate in tempfile first, then move over
Review of attachment 756486: ------- ------- ------- ------- ------- ------- ------- ------- --
-------
Thanks so much for the patch; sorry it took so long for me to review it.
I'm OK with either landing this patch as is, or expanding it to refactor out the other places in mailnews where we create safe, buffered output streams.
::: mailnews/ base/util/ nsMsgUtils. cpp redFileOutputSt ream(nsIOutputS tream **aResult,
@@ +1438,4 @@
> return rv;
> }
>
> +nsresult MsgNewSafeBuffe
There are a couple of other places in mailnews where we're creating safe output streams; it would be great to update those to use this helper function instead of repeating the code, as part of this patch.