diff options
| author | Carl Hetherington <cth@carlh.net> | 2019-02-27 22:05:16 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2019-02-27 22:05:16 +0000 |
| commit | 591f08a6d0be35b2fc015b3a2e4aeb484b8b62bd (patch) | |
| tree | 09fc90ecbb7d1c964724af63221bf0c108949ec7 | |
| parent | 9bbeb511d23c5aa319da406ec39382fdeddd04ea (diff) | |
swaroop: try fflush() as well as fsync().v2.13.122
| -rw-r--r-- | src/wx/swaroop_controls.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wx/swaroop_controls.cc b/src/wx/swaroop_controls.cc index 622e943c2..78419a08c 100644 --- a/src/wx/swaroop_controls.cc +++ b/src/wx/swaroop_controls.cc @@ -167,6 +167,7 @@ SwaroopControls::viewer_position_changed () checked_fwrite (p.c_str(), p.length(), f, Config::path("position")); #ifdef DCPOMATIC_LINUX + fflush (f); fsync (fileno(f)); #endif fclose (f); |
