]> git.ipfire.org Git - thirdparty/pdns.git/commit
we guess which versions of Lua need help with luaL_setfuncs, and then supply our...
authorbert hubert <bert.hubert@netherlabs.nl>
Sun, 28 May 2017 08:33:57 +0000 (10:33 +0200)
committerPieter Lexis <pieter.lexis@powerdns.com>
Tue, 7 Nov 2017 20:25:38 +0000 (21:25 +0100)
commit39aa0bcd8991a3ed12592e306e08336b68bbb6c3
tree273f591a54f8dd8fc4338897ab6832144c2a1d71
parent0f9270dee76e102345181f11b2598b6e6bfa2a14
we guess which versions of Lua need help with luaL_setfuncs, and then supply our own. If we guess wrong however, we trample on the Lua namespace.
With this commit, we don't do the trampling, which should close #5348. We can improve on the fix by using the native luaL_setfuncs for LuaJIT 2.1 beta too.

(cherry picked from commit a00713437a40d512976d4688d270c4866123d678)
pdns/lua-iputils.cc