[sword-devel] Diatheke double output

Michael H cmahte at gmail.com
Mon Oct 24 05:37:56 MST 2016


That leading colon suggests something is trying to parse a null and
reverting to the last text after a fail. Instead of looking for {John
3:16}, it appears to be searching for {John 3:16,}  How the code detects
the end of the verse range (or whether the next range is null) is where I
would start.

On Mon, Oct 24, 2016 at 7:02 AM, Teus Benschop <teusjannette at gmail.com>
wrote:

> Something weird is happening to diatheke on Ubuntu 16.04 64 bits:
>
> $ diatheke -b NETfree -k Jn 3:16
>
> John 3:16: For this is the way God loved the world: He gave his one and
> only Son, so that everyone who believes in him will not perish but have
> eternal life.
>
> : For this is the way God loved the world: He gave his one and only Son,
> so that everyone who believes in him will not perish but have eternal life.
>
> (NETfree)
>
>
> It outputs the verse text twice.
>
>
> Today's SVN edition of diatheke does not have this behaviour, that's on
> macOS.
>
> _______________________________________________
> sword-devel mailing list: sword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.crosswire.org/pipermail/sword-devel/attachments/20161024/fdde331c/attachment.html>


More information about the sword-devel mailing list