OSDN Git Service
(root)
/
fukui-no-namari
/
dialektos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d6651c
)
Change idx sub dir's time stamp when saving idx.
author
Aiwota Programmer
<aiwotaprog@tetteke.tk>
Tue, 30 Jun 2009 11:14:42 +0000
(20:14 +0900)
committer
Aiwota Programmer
<aiwotaprog@tetteke.tk>
Tue, 30 Jun 2009 11:14:42 +0000
(20:14 +0900)
src/thread_idx.cxx
patch
|
blob
|
history
diff --git
a/src/thread_idx.cxx
b/src/thread_idx.cxx
index
efc9c9e
..
2bce335
100644
(file)
--- a/
src/thread_idx.cxx
+++ b/
src/thread_idx.cxx
@@
-43,6
+43,8
@@
void ThreadIdx::to_xml(const boost::filesystem::path& xml) {
try {
boost::archive::xml_oarchive oa(ofs);
oa << boost::serialization::make_nvp("ThreadIdx", *this);
+ boost::filesystem::last_write_time(xml.parent_path(),
+ boost::filesystem::last_write_time(xml));
} catch (const boost::archive::archive_exception& e) {
std::cerr << e.what() << " " << xml.file_string() << std::endl;
}