using std::time;
#endif
+using namespace lyx::support;
+
using std::make_pair;
using std::ofstream;
using std::ifstream;
di.crc_prev = 0;
if (upd) {
lyxerr[Debug::DEPEND] << " CRC..." << flush;
- di.crc_cur = lyx::sum(f);
+ di.crc_cur = sum(f);
lyxerr[Debug::DEPEND] << "done." << endl;
struct stat f_info;
stat(fi.c_str(), &f_info);
} else {
di.crc_prev = di.crc_cur;
lyxerr[Debug::DEPEND] << itr->first << " CRC... ";
- di.crc_cur = lyx::sum(itr->first);
+ di.crc_cur = sum(itr->first);
lyxerr[Debug::DEPEND] << "done";
}
} else {
}
-void DepTable::read(string const & f)
+bool DepTable::read(string const & f)
{
ifstream ifs(f.c_str());
string nome;
}
deplist[nome] = di;
}
+ return deplist.size();
}