From 7fac128691862ace0e2a87234157a46508a36eda Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Wed, 29 Mar 2006 14:45:04 +0000 Subject: [PATCH] * src/LaTeX.C (handleFoundFile): do not add directories to dep table (crashes cygwin) git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13528 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/ChangeLog | 5 +++++ src/LaTeX.C | 2 +- status.14x | 2 ++ 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index 0d7b095236..376e581381 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2006-03-29 Jean-Marc Lasgouttes + + * LaTeX.C (handleFoundFile): do not add directories to the + dependency list (avoids crash on cygwin). + 2006-03-25 Jürgen Spitzmüller * text.C (Delete): move cursor to next par after deleting diff --git a/src/LaTeX.C b/src/LaTeX.C index 84b7748ef0..e748be39c8 100644 --- a/src/LaTeX.C +++ b/src/LaTeX.C @@ -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; diff --git a/status.14x b/status.14x index c3c8665a5e..df12f37be7 100644 --- a/status.14x +++ b/status.14x @@ -50,6 +50,8 @@ What's new - Convert old LyX documents with a float list at the end correctly in lyx2lyx (bug 2245). +- Fix crash when generating LaTeX dependencies on Cygwin. + - Set search path for included files correctly on Cygwin (bug 2409). * User Interface: