[Tarantool-patches] [PATCH luajit 0/2] Fix os.time() to use errno to detect errors
Evgeniy Temirgaleev
e.temirgaleev at tarantool.org
Mon Jun 29 20:16:33 MSK 2026
This patchset fixes os.time() to make -1 time value 'legal' if no error occurs.
Branch: https://github.com/tarantool/luajit/tree/tmr_g/lj-1470-os-time-epoch-minus-1s
Related issues:
* https://github.com/tarantool/tarantool/issues/12480
* https://github.com/LuaJIT/LuaJIT/issues/1470
Mike Pall (2):
Fix corner case of os.time().
Make check in os.time() consistent.
src/lib_os.c | 3 ++-
.../lj-1470-os-time-epoch-minus-1s.test.lua | 12 ++++++++++++
2 files changed, 14 insertions(+), 1 deletion(-)
create mode 100644 test/tarantool-tests/lj-1470-os-time-epoch-minus-1s.test.lua
--
2.49.0
More information about the Tarantool-patches
mailing list