* src/LaTeX.C

(handleFoundFile): do not add directories to dep table (crashes cygwin)



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13529 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2006-03-29 14:45:37 +00:00
parent a7ec02ea03
commit 9063a63083

View File

@ -688,7 +688,7 @@ void handleFoundFile(string const & ff, 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.
if (fs::exists(foundfile))
if (fs::exists(foundfile) && !fs::is_directory(foundfile))
head.insert(foundfile, true);
return;