[sword-devel] Module version numbers
dfhdfh at protonmail.com
Tue Sep 25 05:03:29 EDT 2018
Ignoring the spurious SwordVersion hit, it seems that the string after the dash is a date in six digit format.
IMHO, these modules should simply be re-issued with the dates recorded in the respective History key.
It's not worth the effort to make the API parse these as they are now.
The dash is a nonconformance to what should be in the Version key.
Aside: Are there any limits to the number of dot separators in the Version value, or to the number of digits in total or in any part?
Would SWORD crash with a buffer overflow were it to encounter an inordinately long Version?
Sent from ProtonMail Mobile
On Tue, Sep 25, 2018 at 09:44, Jaak Ristioja <jaak at ristioja.ee> wrote:
> Most modules include version numbers matching the regular expression
> However, looking at the .conf files, there are version fields with
> values also containing dashes:
> ~/.sword/mods.d $ grep -E 'Version=.*-' *
> How should these be interpreted? Should 1.2-3.4 be interpreted as
> (1).(2-3).(4) or (1.2)-(3.4)? It seems that SWVersion interprets such as
> just 1.2.4 (without the -3 entirely).
> God bless!
> sword-devel mailing list: sword-devel at crosswire.org
> Instructions to unsubscribe/change your settings at above page
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the sword-devel