Skip to main content.
home | support | download

Back to List Archive

Re: Any updates for 2.4.1?

From: Johan Coetzer <jcoetzer(at)>
Date: Thu Dec 18 2003 - 07:53:11 GMT
Last time I looked, compiling 2.4.0 on Windows using VC++
6.0 required a few tweaks.

For example, I added the following bit to swish.h:

#ifdef WIN32
#include <io.h>
#define vsnprintf _vsnprintf
#define chmod _chmod
#define strcasecmp _stricmp
#define strncasecmp _strnicmp
#define pid_t int
#define getpid _getpid
#define strtolower StrToLower
#define popen _popen
#define pclose _pclose

There were other things, but memory fails me. I could send
you the complete source directory with workspace and
project files if you want. 

On Tue, 16 Dec 2003 21:25:51 -0800 (PST)
 Bill Moseley <> wrote:
> Anyone have any problems that needs to be fixed for
> 2.4.1?  I know all the
> documentation could use a good going over but is there
> anything specific
> that should be fixed or made more clear?  I don't have
> time to go over
> all the documentation.  I'd like to get 2.4.1 out soon
> (for those people
> that never use a dot-zero of anything...).
> I'll add in the new example script, and try to note that
> in the docs
> some place.
> Seems like a large number of questions come from Windows
> users.  Are
> there specific Windows issues that need to be cleared up?
> 2.4 only has a few bug fixes so far.  I guess that's good
> news.
> Here's what's in the changes file so far.  Doesn't
> include that magic
> patch that allow an endless number of encodings to be
> stored in just 8 bits, yet.
>     * Add Fuzzy access to C and Perl interfaces
>         Added a number of functions to the C API (and
> SWISH::API) to access
>         the stemmer used when indexing a given index.
>     * Commas in numbers
>         Added commas to summary display at end of
> indexing.
>     * Insert whitespace between tags
>         Parser.c was updated to flush the text buffer
> before and after every
>         (non-inline HTML) tag.
>         The problem was that:
>             foo<tag>bar</tag>baz
>         would index as a single word "foobarbaz".
>     *
> was updated to work with SWISH::Filter
> and to work on
>         Windows. is a program to fetch files
> from the file system
>         and works with the -S prog input method.
>     * Problem with --enable-incremental option
>         Fixed configure script to build incremental
> option. Note that this
>         is still experimental. But testers are welcome.
>     * headers.c bug
>         Mark Fletcher with the help of valgrind found a
> bug in headers.c
>         function SwishIndexHeaderNames used by the C API.
>     * Clarify documentation regarding search order
>         At the prompting of Doralyn Rossmann updated
> SEARCH.pod to try and
>         make the explanation of searching clearer, and to
> fix an error in
>         the description of nested searches.
> -- 
> Bill Moseley

Johan Coetzer
Tel: 012-5676457(H) 011-7993426(W)
Cell:  072-1061675
 Look Good, Feel Good
Received on Thu Dec 18 07:53:15 2003