mirror of
https://github.com/lua/lua
synced 2026-09-26 16:17:11 +03:00
details
This commit is contained in:
parent
fded7bef19
commit
6e899850b9
2 changed files with 5 additions and 5 deletions
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
** $Id: lundump.c,v 1.69 2011/05/06 13:35:17 lhf Exp $
|
||||
** $Id: lundump.c,v 1.70 2011/06/21 12:29:00 lhf Exp $
|
||||
** load precompiled Lua chunks
|
||||
** See Copyright Notice in lua.h
|
||||
*/
|
||||
|
|
@ -44,7 +44,7 @@ static void error(LoadState* S, const char* why)
|
|||
|
||||
static void LoadBlock(LoadState* S, void* b, size_t size)
|
||||
{
|
||||
if (luaZ_read(S->Z,b,size)!=0) error(S,"corrupted");
|
||||
if (luaZ_read(S->Z,b,size)!=0) error(S,"truncated");
|
||||
}
|
||||
|
||||
static int LoadChar(LoadState* S)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue