lua-users home
lua-l archive

Re: Some bugs, issues with fixes

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On 2008年12月16日 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.

AltStyle によって変換されたページ (->オリジナル) /