Tarantool development patches archive
 help / color / mirror / Atom feed
* [Tarantool-patches] [PATCH luajit 0/2] Fix os.time() to use errno to detect errors
@ 2026-06-29 17:16 Evgeniy Temirgaleev via Tarantool-patches
  2026-06-29 17:21 ` [Tarantool-patches] [PATCH luajit 1/2] Fix corner case of os.time() Evgeniy Temirgaleev via Tarantool-patches
  2026-06-29 17:21 ` [Tarantool-patches] [PATCH luajit 2/2] Make check in os.time() consistent Evgeniy Temirgaleev via Tarantool-patches
  0 siblings, 2 replies; 3+ messages in thread
From: Evgeniy Temirgaleev via Tarantool-patches @ 2026-06-29 17:16 UTC (permalink / raw)
  To: Sergey Kaplun, Sergey Bronnikov; +Cc: tarantool-patches

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-06-29 17:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-29 17:16 [Tarantool-patches] [PATCH luajit 0/2] Fix os.time() to use errno to detect errors Evgeniy Temirgaleev via Tarantool-patches
2026-06-29 17:21 ` [Tarantool-patches] [PATCH luajit 1/2] Fix corner case of os.time() Evgeniy Temirgaleev via Tarantool-patches
2026-06-29 17:21 ` [Tarantool-patches] [PATCH luajit 2/2] Make check in os.time() consistent Evgeniy Temirgaleev via Tarantool-patches

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox