[bt-devel] SWORD and BibleTime on 64bit OSes

Jonathan Marsden jmarsden at fastmail.fm
Tue Jun 2 01:39:16 MST 2009


John A. Sullivan III wrote:

> The issue was with the personal commentary.  When I moved to a 64
> bit system years ago, new comments would have huge numbers, as if the
> long ints had been left filled with ones - something I've seen in other
> 64 bit ports.  After a while, they no longer used numbers but started to
> be prefaced with non-alphanumeric characters which caused them to be
> unreadable in BibleTime. Thus, one would add a comment and it would
> disappear.

This was fixed well before SWORD 1.6.0 was released.  I vaguely remember
some discussion of it ... the svn commit log shows:

> r2240 | scribe | 2009-02-07 16:47:44 -0800 (Sat, 07 Feb 2009) | 6 lines
> 
> Universally cleaned up numeric read/writes with datafiles

I *think* that is the relevant fix.

I just tested this by adding the personal commentary module and adding a
few comments on my (64bit) Ubuntu 9.04 system here, runnig SWORD 1.6.0
and BibleTime 2.0, and things worked fine for me.  Filenames for the
comments started at 00000000 and incremented cleanly by one each time,
and the incfile contains a 32bit binary number representing the last
comment number used, least significant byte first.

I exited and restarted BibleTime a few times in this test process, and
each of the comments I had saved were appropriately recalled.

That's a very quick and very basic test indeed, but it looks to me as
though this is fixed now.

Jonathan




More information about the bt-devel mailing list