[Xapian-discuss] TCL bindings

Olly Betts olly at survex.com
Sat Feb 4 05:01:48 GMT 2006


On Thu, Feb 02, 2006 at 12:21:36AM -0800, Dan Carpenter wrote:
> There is a bug with SWIG 1.3.26.  In the function
> SWIG_Tcl_PointerTypeFromString() in swigtcl8.swg it doesn't like
> string objects that start with an underscore.  So if you do
> `simplesearch.tcl ~/mydb/ _foo` it segfaults.  Upgrading to the CVS
> version of SWIG fixes this, but that's probably not necessarily
> something for the faint hearted.

Thanks for checking with a newer SWIG.

I'll be building the next Xapian release with SWIG 1.3.28 (or perhaps
1.3.28rc2 or later if it doesn't get released in time), so this will be
fixed in the next Xapian release.  I'll mention it in the release notes.

Cheers,
    Olly



More information about the Xapian-discuss mailing list