summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/reel_writer.cc9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/lib/reel_writer.cc b/src/lib/reel_writer.cc
index d742818ae..6432c294b 100644
--- a/src/lib/reel_writer.cc
+++ b/src/lib/reel_writer.cc
@@ -130,7 +130,16 @@ ReelWriter::write_frame_info (Frame frame, Eyes eyes, dcp::FrameInfo info) const
{
FILE* file = 0;
boost::filesystem::path info_file = _film->info_file (_period);
+
bool const read = boost::filesystem::exists (info_file);
+
+#ifdef DCPOMATIC_WINDOWS
+ LOG_GENERAL (
+ "Checked %1 (exists %2) length is %3 perms are %4",
+ info_file, read ? 1 : 0, boost::filesystem::file_size (info_file), int(boost::filesystem::status(info_file).permissions())
+ );
+#endif
+
if (read) {
file = fopen_boost (info_file, "r+b");
} else {