[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re[2]: Compiler error on IBM XL for AIX
- From: Bulat Ziganshin <bulat.ziganshin@...>
- Date: Mon, 3 Aug 2009 21:32:07 +0400
Hello Greg,
Monday, August 3, 2009, 9:14:14 PM, you wrote:
> static int os_exit (lua_State *L) {
> if (L)
> exit(luaL_optint(L, 1, EXIT_SUCCESS));
> return 0;
> }
> This doesn't change the behavior of any well-formed Lua client, and
but ill-formed client may silently return instead of producing error.
smth like L!=L+1 would be better if we may find way to fool any C
compiler :)
--
Best regards,
Bulat mailto:Bulat.Ziganshin@gmail.com