[lxc-devel] LXC 1.1 rc1 has been released

Stéphane Graber stgraber at ubuntu.com
Fri Jan 23 18:42:49 UTC 2015


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

> _______________________________________________
> lxc-devel mailing list
> lxc-devel at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-devel


-- 
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20150123/8a3196f4/attachment.sig>


More information about the lxc-devel mailing list