Namazu-users-en(old)


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

> > According to gdb, it's in the following line that the reason why
> > namazu couldn't work appropriately:
> > 
> >             val = nmz_do_searching(token, val);
> > 
> > (nmz/parser.c: factor())
> > 
> > val is an structure (NmzResult). In nmz_do_searching() function, the
> > value of val seems handled appropriately, but the return value was not
> > effected, therefore val.num is still 0 after the line.
> 
> I maed a patch for the issue. But 2 tests were still failed.

Is there a concern that namazu code be reentrant?  If so, it
appears that your patch will break this.

I do find it interesting that the namazu code passes structures
around by copy a lot.  Is there a reason for this?

--ewh