[sword-devel] heads up - languages/repo frontend problem

Peter von Kaehne refdoc at gmx.net
Tue Aug 4 15:07:38 MST 2015


We are currently in the midst of the work of conversion of a very large
collection of Bible texts and creation of a new repo.

The repo will have in excess of 600 Bibles. 

Interestingly this triggers a bug in Xiphos, which had made the at one
time probably reasonable assumption that no repo will have more than
200 languages. This guestimate is used to allocate memory space for an
array containing the language info of a repo to create a tree menu in
the module manager. I fixed the bug for myself by adjusting the
assumption upwards. 1000 is probably a reasonable number nowadays. Not
sure if this fix will cause other problems, so I have not committed it
but passed on to Karl who will come to his own conclusions.

But if other frontends do the same and use a similar lowish number,
these frontends will be in trouble when the repo goes officially on
line.

Yours

Peter




More information about the sword-devel mailing list