[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: namazu returns references, but no matching documents
On November 26, 2003 at 18:53, knok@xxxxxxxxxxxxx wrote:
(B> > According to gdb, it's in the following line that the reason why
(B> > namazu couldn't work appropriately:
(B> > val = nmz_do_searching(token, val);
(B> > (nmz/parser.c: factor())
(B> > val is an structure (NmzResult). In nmz_do_searching() function, the
(B> > value of val seems handled appropriately, but the return value was not
(B> > effected, therefore val.num is still 0 after the line.
(B> I maed a patch for the issue. But 2 tests were still failed.
(BIs there a concern that namazu code be reentrant? If so, it
(Bappears that your patch will break this.
(BI do find it interesting that the namazu code passes structures
(Baround by copy a lot. Is there a reason for this?