insetexternal.C (updateExternal): dont only look for difftime in global scope
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4301
a592a061-630c-0410-9148-
cb99ea01b6c8
2002-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
* insetexternal.C (clone): fix () bug when using new
+ (updateExternal): don't only look for difftime in global scope
2002-05-30 John Levon <moz@compsoc.man.ac.uk>
FileInfo fi(params_.filename);
FileInfo fi2(resultfile);
if (fi2.exist() && fi.exist() &&
- ::difftime(fi2.getModificationTime(),
- fi.getModificationTime()) >= 0) {
+ difftime(fi2.getModificationTime(),
+ fi.getModificationTime()) >= 0) {
lyxerr[Debug::FILES] << resultfile
<< " is up to date" << endl;
return;