Commit a98b6c8f authored by Morph's avatar Morph
Browse files

common: fs: file: Flush the file to the disk when Flush() is called

std::fflush does not guarantee that file buffers are flushed to the disk.

Use _commit on Windows and fsync on all other OSes to ensure that the file is flushed to the disk.
parent 56afd4ab
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment