# HG changeset patch # User Sebastien Jodogne # Date 1600151237 -7200 # Node ID 15572f0bd7430201bb387f8db758250f9388b7a7 # Parent a2f1c97002fe3c6bfffc34bd0ab6eceda139d1bc run fsync() in OrthancPluginWriteFile() diff -r a2f1c97002fe -r 15572f0bd743 OrthancServer/Plugins/Engine/OrthancPlugins.cpp --- a/OrthancServer/Plugins/Engine/OrthancPlugins.cpp Mon Sep 14 20:34:47 2020 +0200 +++ b/OrthancServer/Plugins/Engine/OrthancPlugins.cpp Tue Sep 15 08:27:17 2020 +0200 @@ -3858,7 +3858,7 @@ { const _OrthancPluginWriteFile& p = *reinterpret_cast(parameters); - SystemToolbox::WriteFile(p.data, p.size, p.path); + SystemToolbox::WriteFile(p.data, p.size, p.path, true /* run fsync() */); return true; }