John McCabe-Dansted wrote:

> 
> On 1/30/07, Georg Baum
> <[EMAIL PROTECTED]> wrote:
>> I don't understand why we need to create an absolute path here:
> 
> Because in 1.5.0svn (but not 1.4.4svn)  we get:
>   Assertion triggered in lyx::support::FileName::FileName(const
>   std::string&) by failing check "empty() || absolutePath(name_)" in file
>   filename.C:47
> if we don't have an absolute path.

Ah, I assumed that getLatexName always returned a relative path. Now I
understand that you where getting this assert because of the relative path.

> The support/FileName class basically prohibits any non-absolute paths.

Yes, it does that on purpose.

> I think addPath is to add two paths, we want addName.

AFAIK it does not matter in this case because name is relative.

> So, what do you think of the patch below:?

Perfect. I can't apply it now, since it is inline end gets mangled by my
mailer, but unless somebody else beats me to it I'll do it tonight.


Georg

Reply via email to