Commit 31cfd9c
Make check in os.time() consistent.
Thanks to Temir Galeev. LuaJIT#1470
(cherry picked from commit 295d45f)
This patch prevents os.time() to return nil, when machine time is -1
and some error occurs before os.time() call. In fact, this is
a theoretical case, so no tests were added.
Temir Galeev:
* added the description for the patch
Part of tarantool/tarantool#124801 parent dc0883f commit 31cfd9c
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
229 | 229 | | |
230 | 230 | | |
231 | 231 | | |
| 232 | + | |
232 | 233 | | |
233 | 234 | | |
234 | 235 | | |
| |||
242 | 243 | | |
243 | 244 | | |
244 | 245 | | |
245 | | - | |
246 | 246 | | |
247 | 247 | | |
248 | 248 | | |
| |||
0 commit comments