]> git.ipfire.org Git - thirdparty/coreutils.git/commit
tail: properly parse fractional seconds when monitoring a pid
authorPádraig Brady <P@draigBrady.com>
Thu, 30 Jul 2009 14:29:13 +0000 (15:29 +0100)
committerJim Meyering <meyering@redhat.com>
Thu, 30 Jul 2009 15:40:43 +0000 (17:40 +0200)
commitc9871986eb4c6d526a1f4d92a8280b6e54bf07df
tree37b37d66a4931a93c7758b64a955723b47b516ff
parent2ac2cace153dd19aaff5d3e0e6ce68d03146ca92
tail: properly parse fractional seconds when monitoring a pid

* src/tail.c (tail_forever_inotify): The fractional
part of the delay was 1000 times too large.
* tests/tail-2/pid: Add a test to ensure the
timeout happens for this case.
src/tail.c
tests/tail-2/pid