On 5 January 2014 08:23,  <[email protected]> wrote:
> Greetings,
>
> There is a new rockspec at:
>   http://www.pjb.com.au/comp/lua/datadumper-1.0-0.rockspec
>
> Doc:     http://lua-users.org/wiki/DataDumper
> Tarball: http://www.pjb.com.au/comp/lua/DataDumper-1.0.tar.gz
>
> We were talking about this back in October...
> In putting it together as a rockspec I wrote a test script, and
> discovered that there's one thing which doesn't work in 5.2; dumping
> a function without fastmode set fails on 5.2 :-( In this mode, it
> recurses all the way up looking for closures but seems to crash
> when it gets to _G with an "unable to dump given function" message.
> I tried to understand the code but got brain-overload :-(
> and tried to contact Patrick Rapin but without success.
>
> Yet I still think it's worth installing under 5.2, because I've
> been using it for years but never had to dump a function.
> It's used for example by my midisox:
>   http://www.pjb.com.au/midi/midisox.html
> Therefore I've given:
>   "lua >= 5.1"
> Is that permissible ? What's the right thing to do here ?

Lately, we've been using "lua >= 5.1, < 5.3" when we want it to run on
5.1 and 5.2, to avoid any surprises when 5.3 comes out. (I personally
like to be an optimist and fix what's broken, but the errors were
indeed a bit random, so better stay on the safe side.)

Uploaded!

-- Hisham

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Luarocks-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/luarocks-developers

Reply via email to