Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes:

| Do you build inside the development tree? I get that with 0.88.1
| because I build outside the dev tree. In this case, when starting lyx
| as 'src/lyx', the code which finds the library path gets confused
| (some of-by-one error in string handling, I believe).

I build inside the developmen tree.
I can't see the off-by-one error.

from the trace:

#10 0x80dc110 in setPixmap (obj=0x81cf108, action=4, buttonwidth=30,
height=30)
    at toolbar.C:173
173                     fl_set_pixmapbutton_file(obj,
fullname.c_str());
(gdb) p fullname
$1 = {static npos = 4294967295, rep = 0x81cf348}
(gdb) p fullname.rep
$2 = (Srep *) 0x81cf348
(gdb) p *fullname.rep
$3 = {static xtra = <optimized out>, sz = 55, ref = 1, res = 59, 
  s = 0x81cf398 "/home/larsbj/Development/lyx/lib/images/buffer-open.xpm"}

and

[larsbj@cube larsbj]$ ls /home/larsbj/Development/lyx/lib/images/buffer-open.xpm
/home/larsbj/Development/lyx/lib/images/buffer-open.xpm

So I can't see any problems there.

        Lgb

Reply via email to