projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43f7f31
)
swaroop: speculative fix for non-recovery after power-off.
author
Carl Hetherington
<cth@carlh.net>
Wed, 6 Feb 2019 22:55:45 +0000
(22:55 +0000)
committer
Carl Hetherington
<cth@carlh.net>
Wed, 6 Feb 2019 22:55:45 +0000
(22:55 +0000)
src/wx/swaroop_controls.cc
patch
|
blob
|
history
diff --git
a/src/wx/swaroop_controls.cc
b/src/wx/swaroop_controls.cc
index aa3a095ec459411bd487f3bdac4f14b81658e259..12c843417d695f52ba1c877e953695b6054cbdb9 100644
(file)
--- a/
src/wx/swaroop_controls.cc
+++ b/
src/wx/swaroop_controls.cc
@@
-144,6
+144,9
@@
SwaroopControls::check_restart ()
}
}
+#ifdef DCPOMATIC_LINUX
+ fsync (fileno(f));
+#endif DCPOMATIC_LINUX
fclose (f);
}