Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ MUSHclient ➜ Bug reports ➜ Error msg when closing mush 4.64

Error msg when closing mush 4.64

It is now over 60 days since the last post. This thread is closed.     Refresh page


Pages: 1  2 

Posted by Twisol   USA  (2,257 posts)  Bio
Date Reply #15 on Tue 09 Nov 2010 07:35 PM (UTC)

Amended on Tue 09 Nov 2010 07:36 PM (UTC) by Twisol

Message
It's a variant, most likely. (Major).(Minor). It's just missing the (Patch) version, which is either added when needed (and assumed to be zero) or conflated into the minor version.

No, it's not precisely what semver.org describes, but you get my point. It's not intended to be a decimal number, but a period-separated list of decreasing-in-magnitude versions.

'Soludra' on Achaea

Blog: http://jonathan.com/
GitHub: http://github.com/Twisol
Top

Posted by Nick Gammon   Australia  (23,169 posts)  Bio   Forum Administrator
Date Reply #16 on Tue 09 Nov 2010 08:30 PM (UTC)
Message
Twisol said:

It's a variant, most likely. (Major).(Minor). It's just missing the (Patch) version, ...


An invalid variant, considering the wording "[it] MUST take the form X.Y.Z".

It doesn't say "it must look something along the lines of X.Y.Z".

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Nick Gammon   Australia  (23,169 posts)  Bio   Forum Administrator
Date Reply #17 on Tue 09 Nov 2010 08:37 PM (UTC)
Message
Roberto actually defined the version like this:


#define VERSION		"0.10"


And the lpeg.version function:


static int version_l (lua_State *L) {
  lua_pushstring(L, VERSION);
  return 1;
}


So it's a string, not a number. However:


print ("0.10" > "0.9") --> false


Don't get me wrong, I understand what you are saying about the version strings. However without the third digit (eg. 0.9.0) you are entitled to do a straight comparison.

And therefore 0.10 is a lower version than 0.9, comparing strings or numbers.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Broud   Netherlands  (10 posts)  Bio
Date Reply #18 on Wed 10 Nov 2010 04:59 AM (UTC)
Message
Nick Gammon said:


Glad to hear that. Hope you got the LuaJSON problem sorted too.


I've run the 4.68 installationand everything is perfect. Thanks alot.
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


67,915 views.

This is page 2, subject is 2 pages long:  [Previous page]  1  2 

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.