lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> #define LUAC_HEADERSIZE (sizeof(LUA_SIGNATURE) + 8)

It should be (sizeof(LUA_SIGNATURE)-1+8) because the trailing NUL in
LUA_SIGNATURE is not part of the header. However, this does not catch
any change you may make to the header.
--lhf