Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor updates for lua 5.3 #70

Merged
merged 1 commit into from Jun 4, 2020

Conversation

mdomsch
Copy link

@mdomsch mdomsch commented Apr 26, 2020

Simple changes to all the LUA_VERSION_NUM == 502 tests throughout the
code to make them >= 502, to allow for lua 5.3. In addition, lua 5.3
changed the signature for lua_dump() to add a strip parameter. In
those cases, call the new signature with strip = 0 to retain the old
behavior.

This is necessary to properly build on centos 8, Fedora 31 and above
with lua 5.3. Based on a patch in the Fedora tree by Breno Brand
Fernandes brandfbb@gmail.com which replaced the problematic
calls with one for the new version of lua. This patch maintains
backwards compatibility with older versions of lua, should that
be necessary.

Simple changes to all the LUA_VERSION_NUM == 502 tests throughout the
code to make them >= 502, to allow for lua 5.3.  In addition, lua 5.3
changed the signature for lua_dump() to add a strip parameter.  In
those cases, call the new signature with strip = 0 to retain the old
behavior.

This is necessary to properly build on centos 8, Fedora 31 and above
with lua 5.3.  Based on a patch in the Fedora tree by Breno Brand
Fernandes brandfbb@gmail.com which replaced the problematic
calls with one for the new version of lua.  This patch maintains
backwards compatibility with older versions of lua, should that
be necessary.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants