* 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
This commit is contained in:
Jean-Marc Lasgouttes 2006-03-29 14:45:04 +00:00
parent 39cc61cc74
commit 7fac128691
3 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2006-03-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
* LaTeX.C (handleFoundFile): do not add directories to the
dependency list (avoids crash on cygwin).
2006-03-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
* text.C (Delete): move cursor to next par after deleting

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;

View File

@ -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: