[sword-devel] SWORD 1.5.10

Karl Kleinpaste karl at kleinpaste.org
Wed Jun 20 08:36:15 MST 2007

"Troy A. Griffitts" <scribe at crosswire.org> writes:
> Agreed.  There have been many bug fixes.  If anyone would like to
> get any other fixes in, please do so very soon.

Among the other things that need to be done, such as DM's lexicon
problems, these need attention:

- Re-issue Finney, Institutes, and Heretics after re-importation to
remove the trailing whitespace problem.  Has anyone found any other
modules with this glitch?  Fortunately(?), the set of genbooks is small.

- There is still a build glitch under Cygwin, which I resolve thus:

| sed < src/utilfuns/swobject.cpp.ORIG \
|     -e 's/<utilstr.h>/&\n#include <string.h>/' \
|     -e 's/sword::stricmp/stricmp/' \
|     > src/utilfuns/swobject.cpp

I first reported this some months ago, when all that was needed was to
add <string.h> to make it compile; then a provisional fix was made by
someone to change the existing stricmp to sword::stricmp, which then
induced a failure to link under Cygwin.  The underlying problem is
that the name stricmp is non-standard, and should be strcasecmp; Linux
glibc provides stricmp anyway, but Cygwin libc has only the real name.
Adding <string.h> is a fix (it #defines stricmp to strcasecmp), but
the proper solution should be to abandon stricmp entirely.

More information about the sword-devel mailing list