[lxc-devel] LXC 1.1 rc1 has been released
Thomas Moschny
thomas.moschny at gmail.com
Fri Jan 23 19:01:03 UTC 2015
2015-01-23 19:42 GMT+01:00 Stéphane Graber <stgraber at ubuntu.com>:
> On Fri, Jan 23, 2015 at 07:03:42PM +0100, Thomas Moschny wrote:
>> In order to build against Lua 5.3, a small patch is needed.
>>
>>
>> - Thomas
>
> Hi,
>
> Can you reply to that e-mail with the required Signed-off-by line as per
> CONTRIBUTING?
>
> Thanks!
>
>> diff --git a/src/lua-lxc/core.c b/src/lua-lxc/core.c
>> index 2e073d8..630a3e4 100644
>> --- a/src/lua-lxc/core.c
>> +++ b/src/lua-lxc/core.c
>> @@ -38,6 +38,10 @@
>> #define luaL_checkunsigned(L,n) luaL_checknumber(L,n)
>> #endif
>>
>> +#if LUA_VERSION_NUM >= 503
>> +#define luaL_checkunsigned(L,n) ((lua_Unsigned)luaL_checkinteger(L,n))
>> +#endif
>> +
>> #ifdef NO_CHECK_UDATA
>> #define checkudata(L,i,tname) lua_touserdata(L, i)
>> #else
>
Signed-off-by: Thomas Moschny <thomas.moschny at gmail.com>
- Thomas
More information about the lxc-devel
mailing list