aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-03-22 13:24:13 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-03-22 13:24:13 -0300
commit5f3c5ace959ac6e9cc53d93258af89f134083ce5 (patch)
tree1b6c5770e0983b5d660c04ac7a813e6b58849892
parent441469f8031adb24322332e9d9653b794eefff5c (diff)
downloadlua-5f3c5ace959ac6e9cc53d93258af89f134083ce5.tar.gz
lua-5f3c5ace959ac6e9cc53d93258af89f134083ce5.tar.bz2
lua-5f3c5ace959ac6e9cc53d93258af89f134083ce5.zip
message detail
-rw-r--r--liolib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/liolib.c b/liolib.c
index 829469e6..81142793 100644
--- a/liolib.c
+++ b/liolib.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: liolib.c,v 1.58 2000/03/03 14:58:26 roberto Exp roberto $ 2** $Id: liolib.c,v 1.59 2000/03/20 19:13:45 roberto Exp roberto $
3** Standard I/O (and system) library 3** Standard I/O (and system) library
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -543,7 +543,7 @@ static void errorfb (lua_State *L) {
543 char buffchunk[60]; 543 char buffchunk[60];
544 lua_getinfo(L, "Snl", &ar); 544 lua_getinfo(L, "Snl", &ar);
545 luaL_chunkid(buffchunk, ar.source, sizeof(buffchunk)); 545 luaL_chunkid(buffchunk, ar.source, sizeof(buffchunk));
546 if (level == 2) strcat(buff, "Stack traceback:\n"); 546 if (level == 2) strcat(buff, "stack traceback:\n");
547 strcat(buff, " "); 547 strcat(buff, " ");
548 if (strlen(buff) > MAXMESSAGE-MESSAGESIZE) { 548 if (strlen(buff) > MAXMESSAGE-MESSAGESIZE) {
549 strcat(buff, "...\n"); 549 strcat(buff, "...\n");