Software /
code /
prosody
File
spec/util_poll_spec.lua @ 10799:763bb2ce3f60
util.pposix,signal: Pass around various OS numbers as integers [Lua 5.3]
Passing around PIDs, UIDs etc as integers makes it more sane in Lua 5.3.
Getting 1234.0 as PID is silly. Shouldn't change any behavior as these
are all integers on the C side and the integral floats are accepted as
integers when passed back from Lua into C.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 04 May 2020 21:51:30 +0200 |
parent | 9316:4aa522b9e1c4 |
child | 12400:728d1c1dc7db |
line wrap: on
line source
describe("util.poll", function () it("loads", function () require "util.poll" end); end);