[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANNOUNCE] Lua 5.0 (pre-release) now available
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Thu, 3 Apr 2003 12:04:20 -0300
>I'm running into a crash in "luac -s".
Here is a patch. Sorry for the oversight. Thanks for the report. --lhf
luac.c
153c153
< f->upvalues=NULL;
---
> f->upvalues=NULL; f->sizeupvalues=0;
print.c
100c100
< printf("\t; %s",getstr(f->upvalues[b]));
---
> printf("\t; %s", (f->sizeupvalues>0) ? getstr(f->upvalues[b]) : "-");