lua-users home
lua-l archive

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


On Mon, 2007-03-19 at 16:25 +0000, Thomas Lauer wrote:
> Perhaps there should be a warning in lua.h? Or somewhat more robust code in
> lundump.c?
> 

Perhaps instead of:
	#define LUAC_HEADERSIZE		 12

We should have:

#define LUAC_HEADERSIZE (sizeof(LUA_SIGNATURE) + 8)

-- 
Daniel Silverstone                         http://www.digital-scurf.org/
PGP mail accepted and encouraged.            Key Id: 2BC8 4016 2068 7895