[Xapian-discuss] Xapian 0.9.9 released
Olly Betts
olly at survex.com
Thu Nov 9 19:10:49 GMT 2006
On Thu, Nov 09, 2006 at 02:38:37AM +0000, Olly Betts wrote:
> I've uploaded Xapian 0.9.9:
> [...]
> * The Python bindings now build on 64 bit platforms with Python 2.5.
It looks like I fixed one problem but missed another. You'll need to
apply the attached patch if you're using Python 2.5 on a 64 bit
platform.
Cheers,
Olly
-------------- next part --------------
--- xapian-bindings-0.9.9/python/modern/xapian_wrap.cc.orig 2006-11-09 00:51:17.000000000 +0000
+++ xapian-bindings-0.9.9/python/modern/xapian_wrap.cc 2006-11-09 18:14:27.000000000 +0000
@@ -20028,7 +20028,7 @@
PyObject *obj = PySequence_GetItem(swig_obj[1], i);
if (PyString_Check(obj)) {
char * p;
- int len;
+ Py_ssize_t len;
/* We know this must be a string, so this call can't fail. */
(void)PyString_AsStringAndSize(obj, &p, &len);
v2.push_back(Xapian::Query(string(p, len)));
More information about the Xapian-discuss
mailing list