Flush the output file after writing if it was mapped into memory.
This avoids an interesting bug in Windows as per the code comment. BUG=933975 R=brucedawson@chromium.org Change-Id: I11c18e9706520d1c52238914dfac87039b45138b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2058815 Auto-Submit: Greg Thompson <grt@chromium.org> Reviewed-by:Bruce Dawson <brucedawson@chromium.org> Commit-Queue: Greg Thompson <grt@chromium.org> Cr-Commit-Position: refs/heads/master@{#742301}
Showing
Please register or sign in to comment