mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-27 19:17:19 +02:00
Bug
- Fixed incorrect Lua API return value (thanks to Oleksii Tsai).
This commit is contained in:
parent
062c4a0342
commit
0288fd1ec9
3 changed files with 4 additions and 3 deletions
1
AUTHORS
1
AUTHORS
|
@ -70,6 +70,7 @@ The following submitted code, packages or analysis, and deserve special thanks:
|
||||||
Luke Macken
|
Luke Macken
|
||||||
Sam Stuck
|
Sam Stuck
|
||||||
Christoph Robbert
|
Christoph Robbert
|
||||||
|
Oleksii Tsai
|
||||||
|
|
||||||
Thanks to the following, who submitted detailed bug reports and excellent
|
Thanks to the following, who submitted detailed bug reports and excellent
|
||||||
suggestions:
|
suggestions:
|
||||||
|
|
|
@ -22,6 +22,7 @@ Bugs
|
||||||
+ Fixed bug where ISO dates were parsed and the TZ was modified, which should
|
+ Fixed bug where ISO dates were parsed and the TZ was modified, which should
|
||||||
have no bearing on a Zulu time.
|
have no bearing on a Zulu time.
|
||||||
+ Fixed man page typos.
|
+ Fixed man page typos.
|
||||||
|
+ Fixed incorrect Lua API return value (thanks to Oleksii Tsai).
|
||||||
|
|
||||||
------ old releases ------------------------------
|
------ old releases ------------------------------
|
||||||
|
|
||||||
|
|
|
@ -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
|
// Causes the shell mode task to exit. Ordinarily this does not occur.
|
||||||
// occur.
|
|
||||||
static int api_task_exit (lua_State*)
|
static int api_task_exit (lua_State*)
|
||||||
{
|
{
|
||||||
// TODO Is this the correct exception? How does the shell handle this?
|
// 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, "");
|
lua_pushstring (L, "");
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return 1; // 1 returned value.
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue