[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: 3.2 Bug
- From: Supratik Champati <champati@...>
- Date: Wed, 01 Sep 1999 13:46:23 -0400
lua 3.2 bug on HPUX machines
The following piece of code in lparser.c needs to be replaced
static TaggedString *str_checkname (LexState *ls) {
return tsvalue(&ls->fs->f->consts[checkname(ls)]);
}
-- modified code
static TaggedString *str_checkname (LexState *ls) {
int sc = checkname(ls);
return tsvalue(&ls->fs->f->consts[sc]);
}
This is causing a core dump on HPUX machines. The reason
is rather obvious.
I hope this change finds its way thru to the official release.
Thanks
--
Supratik