]> git.ipfire.org Git - thirdparty/systemd.git/commit
io-util: fix ppoll_usec() bypass 36568/head
authorLennart Poettering <lennart@poettering.net>
Mon, 3 Mar 2025 08:34:59 +0000 (09:34 +0100)
committerLennart Poettering <lennart@poettering.net>
Mon, 3 Mar 2025 09:47:09 +0000 (10:47 +0100)
commit1965d2b22235420a9f39ba598bfa822592056ab9
tree664b62253aa1b9a1e43167f8bb52f8da2f752ff4
parent99e6d1b9244e4e823c266141f1696ea73324aa5f
io-util: fix ppoll_usec() bypass

If a non-zero timeout is specified we should not bypass ppoll() even if
no fds are specified, since it will still act as a time based sleep in
that case.
src/basic/io-util.c