Skip to main content.
home | support | download

Back to List Archive

Re: Perl interface build error

From: Bill Moseley <moseley(at)not-real.hank.org>
Date: Tue Nov 20 2001 - 06:48:07 GMT
At 09:47 PM 11/19/01 -0800, Jim Miner wrote:
>I'm trying to build swish-e-2.1-dev-24-2001-11-19 on Linux 7.2.
>swish-e builds fine, but the Perl interface make fails:

Fixed now in CVS.  It will be in swish-daily in a few hours.

Index: SWISHE.xs
===================================================================
RCS file: /cvsroot/swishe/swish-e/perl/SWISHE.xs,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- SWISHE.xs	2001/10/12 12:29:50	1.12
+++ SWISHE.xs	2001/11/20 06:45:54	1.13
@@ -12,6 +12,7 @@
 #include "../src/stemmer.h"
 #include "../src/merge.h"
 #include "../src/docprop.h"
+#include "../src/mem.h"
 #include "../src/search.h"
 


Index: string.c
===================================================================
RCS file: /cvsroot/swishe/swish-e/src/string.c,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -r1.35 -r1.36
--- string.c	2001/11/09 16:24:44	1.35
+++ string.c	2001/11/20 06:45:54	1.36
@@ -145,7 +145,7 @@
 
     *cur_char = '\0';
 
-    *skiplen = s - start + 1;
+    *skiplen = s - start;
 
     return estrdup( buf );
 


Bill Moseley
mailto:moseley@hank.org
Received on Tue Nov 20 06:52:12 2001