diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-03-22 13:24:13 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-03-22 13:24:13 -0300 |
commit | 5f3c5ace959ac6e9cc53d93258af89f134083ce5 (patch) | |
tree | 1b6c5770e0983b5d660c04ac7a813e6b58849892 | |
parent | 441469f8031adb24322332e9d9653b794eefff5c (diff) | |
download | lua-5f3c5ace959ac6e9cc53d93258af89f134083ce5.tar.gz lua-5f3c5ace959ac6e9cc53d93258af89f134083ce5.tar.bz2 lua-5f3c5ace959ac6e9cc53d93258af89f134083ce5.zip |
message detail
-rw-r--r-- | liolib.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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"); |