[EMAIL PROTECTED] writes: | Author: spitz | Date: Tue Feb 20 07:55:25 2007 | New Revision: 17267 | | URL: http://www.lyx.org/trac/changeset/17267 | Log: | * src/LaTeX.C | - (deplog): don't check strings longer than MAX_PATH, | preventing boost exception. | - (handleFoundFile): don't insert directories in DepTable | | Modified: | lyx-devel/trunk/src/LaTeX.C | | Modified: lyx-devel/trunk/src/LaTeX.C | URL: http://www.lyx.org/trac/file/lyx-devel/trunk/src/LaTeX.C?rev=17267 | ============================================================================== | --- lyx-devel/trunk/src/LaTeX.C (original) | +++ lyx-devel/trunk/src/LaTeX.C Tue Feb 20 07:55:25 2007 | @@ -788,7 +788,8 @@ | | // (2) foundfile is in the tmpdir | // insert it into head | - if (fs::exists(absname.toFilesystemEncoding())) { | + if (fs::exists(absname.toFilesystemEncoding())&& | + !fs::is_directory(absname.toFilesystemEncoding())) {
Missing space before '&&' Perhaps even use a temporary for absname.toFilesystemEncoding()? -- Lgb