]> granicus.if.org Git - pdns/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)
committerbert hubert <bert.hubert@netherlabs.nl>
Sun, 28 May 2017 20:00:12 +0000 (22:00 +0200)
commita00713437a40d512976d4688d270c4866123d678
tree2532603701be7f297a3edc517ca1bbcf942850d1
parent531bc0d6fcb78e023229b2a8bae816609f4faf27
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.
pdns/lua-iputils.cc