From 8af57ecef16668c669f5fe0215c05ba90017e263 Mon Sep 17 00:00:00 2001 From: Dekel Tsur Date: Thu, 12 Apr 2001 08:29:32 +0000 Subject: [PATCH] Fix depfile bug git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1913 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/ChangeLog | 4 ++++ src/LaTeX.C | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index 65056036f8..f0110ec73d 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2001-04-12 Dekel Tsur + + * LaTeX.C (deplog): Always check that foundfile exists. + 2001-04-06 Jean-Marc Lasgouttes * lyx_main.h: diff --git a/src/LaTeX.C b/src/LaTeX.C index 37aac1044f..387e33f061 100644 --- a/src/LaTeX.C +++ b/src/LaTeX.C @@ -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 -- 2.39.2