projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f30bd5d
)
Reset last write times on examine.
author
Carl Hetherington
<cth@carlh.net>
Tue, 21 Aug 2018 22:16:34 +0000
(23:16 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Tue, 21 Aug 2018 22:16:34 +0000
(23:16 +0100)
src/lib/content.cc
patch
|
blob
|
history
diff --git
a/src/lib/content.cc
b/src/lib/content.cc
index 69dcbc1395e2a125032e686d68f80ae1a7e5a740..c2cb7e005969327fc94e54cc40be3ef912e6153e 100644
(file)
--- a/
src/lib/content.cc
+++ b/
src/lib/content.cc
@@
-194,6
+194,11
@@
Content::examine (shared_ptr<Job> job)
boost::mutex::scoped_lock lm (_mutex);
_digest = d;
+
+ _last_write_times.clear ();
+ BOOST_FOREACH (boost::filesystem::path i, _paths) {
+ _last_write_times.push_back (boost::filesystem::last_write_time(i));
+ }
}
void