[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Some bugs, issues with fixes
- From: Rob Kendrick <lua-l@...>
- Date: Tue, 16 Dec 2008 11:46:57 +0000
On Tue, 16 Dec 2008 12:31:33 +0100
"Gergely BOROMISSZA" <Gergely.BOROMISSZA@navngo.com> wrote:
> lauxlib.c
>
> =========
>
> 574: freopen doesn't work on WinCE devices, use fclose and fopen
> instead
>
> llex.c
>
> ======
>
> 199: isalnum returns true for EOZ(-1) on WinCE device, so I have to
> check it in the condition like this: ls->current != EOZ &&
These sound like bugs in Windows CE, not Lua. Can they be worked
around without adding specific work-arounds?
> lobject.h
>
> =========
>
> 103: l_isfalse may contain this: || (ttisnumber(o) && nvalue(o) == 0)
> in order to work like other languages
Zero is a truth value in Lua. Much would break should this become
false, including windows and cars in the riot that followed such a
change :)
B.