- Fixed incorrect Lua API return value (thanks to Oleksii Tsai).
This commit is contained in:
Paul Beckingham 2012-04-14 16:18:40 -04:00
parent 062c4a0342
commit 0288fd1ec9
3 changed files with 4 additions and 3 deletions

View file

@ -70,6 +70,7 @@ The following submitted code, packages or analysis, and deserve special thanks:
Luke Macken
Sam Stuck
Christoph Robbert
Oleksii Tsai
Thanks to the following, who submitted detailed bug reports and excellent
suggestions:

View file

@ -22,6 +22,7 @@ Bugs
+ Fixed bug where ISO dates were parsed and the TZ was modified, which should
have no bearing on a Zulu time.
+ Fixed man page typos.
+ Fixed incorrect Lua API return value (thanks to Oleksii Tsai).
------ old releases ------------------------------

View file

@ -63,8 +63,7 @@ static int api_task_debug_message (lua_State* L)
}
////////////////////////////////////////////////////////////////////////////////
// Causes the shell or interactive mode task to exit. Ordinarily this does not
// occur.
// Causes the shell mode task to exit. Ordinarily this does not occur.
static int api_task_exit (lua_State*)
{
// TODO Is this the correct exception? How does the shell handle this?
@ -88,7 +87,7 @@ static int api_task_get (lua_State* L)
lua_pushstring (L, "");
}
return 0;
return 1; // 1 returned value.
}
////////////////////////////////////////////////////////////////////////////////