Fix depfile bug

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1913 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Dekel Tsur 2001-04-12 08:29:32 +00:00
parent 3775940eed
commit 8af57ecef1
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
* LaTeX.C (deplog): Always check that foundfile exists.
2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* lyx_main.h:

View File

@ -663,7 +663,8 @@ void LaTeX::deplog(DepTable & head)
// On initial insert we want to do the update at once
// since this file can not be a file generated by
// the latex run.
head.insert(foundfile, true);
if (FileInfo(foundfile).exist())
head.insert(foundfile, true);
}
// (2) foundfile is in the tmpdir