Commit Graph

2 Commits

Author SHA1 Message Date
sfan5 133f706bf3 Make unittests less reliant on files in the source distribution 2024-01-14 13:17:53 +01:00
Gary Miguel 6eb9269741
Try to fix safeWriteToFile producing empty files on Windows (#14085)
Use win32 APIs to write the temporary file before copying to the final
destination. Because we've observed the final file being empty, we
suspect that std::ostream::flush is not flushing.

Also add a test for it.
2023-12-13 13:15:37 +01:00