At 10:16 PM 5/12/2001 -0700, Philip Mak wrote:
>(Is this the right place to make bug reports? If not, where?)
This is the correct place.
>This bug seems to occur if I do:
>./swish-e -w "___" -f (any index file)
Thanks. The search parser needs a rewrite. This segfault is the result of
a hack to allow underscores in metanames when the underscore is not listed
in WordCharacters. Here's a quick patch (sorry for the wrap).
Of if you can wait a day or so it should be easy to patch in CVS without
disabling the underscore-in-metaname hack as below.
Index: search.c
===================================================================
RCS file: /cvsroot/swishe/swish-e/src/search.c,v
retrieving revision 1.45
diff -u -r1.45 search.c
--- search.c 2001/05/07 12:37:02 1.45
+++ search.c 2001/05/13 14:05:16
@@ -2572,7 +2572,7 @@
switch (c)
{
case '*': /* Special case: WildCard */
- case '_': /* Special case: To allow '_' in metanames
- Quick FIX. Must be rewritten */
+ // case '_': /* Special case: To allow '_' in
metanames - Quick FIX. Must be rewritten */
word[j++] = c;
break;
case '(':
Bill Moseley
mailto:moseley@hank.org
Received on Sun May 13 14:23:46 2001