diff options
author | Nir Soffer <nirsof@gmail.com> | 2015-04-19 03:41:26 +0300 |
---|---|---|
committer | David Herrmann <dh.herrmann@gmail.com> | 2015-04-20 18:48:55 +0200 |
commit | bf23b9f86f6807c3029a6a46e1999ae0c87ca22a (patch) | |
tree | b1593081b7c4620ac6142391dd2ce8beac163609 /src/libudev/libudev-list.c | |
parent | 30a5b7820c403fe18ccbe8e5cb71cb4b49b7f7dc (diff) |
udev: settle should return immediately when timeout is 0
udevadm manual says:
A value of 0 will check if the queue is empty and always return
immediately.
However, currently we ignore the deadline if the value is 0, and wait
without any limit.
Zero timeout behaved according to the documentation until commit
ead7c62ab7 (udevadm: settle - kill alarm()). Looking at this patch, it
seems that the behavior change was unintended.
This patch restores the documented behavior.
Diffstat (limited to 'src/libudev/libudev-list.c')
0 files changed, 0 insertions, 0 deletions