mirror of https://github.com/bjc/prosody
Removes assumption that LUAL_BUFFERSIZE is known at pre-processing time, which it is not in Lua 5.3 and 5.4, where it is a computed macro based on sizeof. Allocation of stack space is safer and faster, no need to worry about luaL_prepbuffer failing to allocate memory and skipping free()pull/27/head
parent
e12c9a83df
commit
e893bbf681
Loading…
Reference in new issue