projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
swaroop: try fflush() as well as fsync().
[dcpomatic.git]
/
src
/
wx
/
swaroop_controls.cc
diff --git
a/src/wx/swaroop_controls.cc
b/src/wx/swaroop_controls.cc
index 622e943c2015ceb52afea32bfbc5997add4dc4d9..78419a08c3b8e0ef08ca0bf017b61ebf5e71c59f 100644
(file)
--- 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);