summaryrefslogtreecommitdiff
path: root/lundump.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2011-11-24 11:25:41 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2011-11-24 11:25:41 -0200
commit6e899850b9178f934829c36aecb77cb2b9be6a05 (patch)
treeb5023efe4c75aac4bc1ead80fb53338dc292e43f /lundump.c
parentfded7bef19dae0636f98558d36a9797e611c34ef (diff)
downloadlua-github-6e899850b9178f934829c36aecb77cb2b9be6a05.tar.gz
details
Diffstat (limited to 'lundump.c')
-rw-r--r--lundump.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lundump.c b/lundump.c
index ba1a3dc3..d7b0ab3b 100644
--- a/lundump.c
+++ b/lundump.c
@@ -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)