Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] Can we move to Lua 5.2.3 only?

Date Prev · Date Next · Thread Prev · Thread Next
From: Hadriel Kaplan <hadriel.kaplan@xxxxxxxxxx>
Date: Mon, 31 Mar 2014 18:18:01 -0400
On Mar 31, 2014, at 2:05 PM, Jeff Morriss <jeff.morriss.ws@xxxxxxxxx> wrote:

> Do you mean Wireshark would no longer compile/run if the Lua version was < 5.2?

Yes, that would be the ultimate goal.  That way someone writing a Lua script and wants to share it with others doesn't have to worry about whether it will work for others or not. Lua 5.2 includes new built-in functions and lexical tokens that 5.1 did not, so writing one with 5.2 might not work if someone else uses 5.1.

And of course it would be nice to get rid of the C-code that has to deal with both as well, and not have to test on both.


> In that case I'd vote no: Redhat EL 6 comes with 5.1.4 and it probably has a long lifetime ahead of it.

How hard/painful would it be to install Lua 5.2.x? (I don't know the answer - just asking)
It's a tiny little library compared to most of Wireshark's others, fwiw.

-hadriel