<feed xmlns='http://www.w3.org/2005/Atom'>
<title>coreutils/src/tail.c, branch v7.5</title>
<subtitle>Mirror of https://https.git.savannah.gnu.org/git/coreutils.git/
</subtitle>
<id>https://git.shady.money/coreutils/atom?h=v7.5</id>
<link rel='self' href='https://git.shady.money/coreutils/atom?h=v7.5'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/'/>
<updated>2009-08-13T15:09:27Z</updated>
<entry>
<title>tail: fix tail -f failure when inotify used</title>
<updated>2009-08-13T15:09:27Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2009-08-12T18:01:56Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=f43f02865253e1cca210cc588269f5acf755259f'/>
<id>urn:sha1:f43f02865253e1cca210cc588269f5acf755259f</id>
<content type='text'>
* src/tail.c (tail_forever_inotify): Remove the redundant and
incorrect error check of the return from inotify_add_watch().
Also initialize the wd member of each File_spec to an invalid value.
Reported by C de-Avillez.
</content>
</entry>
<entry>
<title>tail: tweak indentation</title>
<updated>2009-07-30T15:45:53Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2009-07-30T15:45:53Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=28e3946ef05bbf92bfce400f3f03f9abb312d63a'/>
<id>urn:sha1:28e3946ef05bbf92bfce400f3f03f9abb312d63a</id>
<content type='text'>
* src/tail.c (tail_forever_inotify): Adjust indentation of continued line.
</content>
</entry>
<entry>
<title>tail: properly parse fractional seconds when monitoring a pid</title>
<updated>2009-07-30T15:40:43Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2009-07-30T14:29:13Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=c9871986eb4c6d526a1f4d92a8280b6e54bf07df'/>
<id>urn:sha1:c9871986eb4c6d526a1f4d92a8280b6e54bf07df</id>
<content type='text'>
* 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.
</content>
</entry>
<entry>
<title>tail: exit successfully upon watched process death</title>
<updated>2009-07-30T08:24:17Z</updated>
<author>
<name>Giuseppe Scrivano</name>
<email>gscrivano@gnu.org</email>
</author>
<published>2009-07-29T18:57:29Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=d3feea0181720d6e872875c52200511a5e5878a0'/>
<id>urn:sha1:d3feea0181720d6e872875c52200511a5e5878a0</id>
<content type='text'>
* src/tail.c (tail_forever_inotify): If a PID is specified and the
watched process dies, exit with status EXIT_SUCCESS, rather than
falling through to an EXIT_FAILURE.
</content>
</entry>
<entry>
<title>tail: use the inotify backend also with --pid=PID</title>
<updated>2009-07-28T07:31:54Z</updated>
<author>
<name>Giuseppe Scrivano</name>
<email>gscrivano@gnu.org</email>
</author>
<published>2009-07-26T11:22:57Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=e81c4d88c2fce526c02693d539e22c7468dc452b'/>
<id>urn:sha1:e81c4d88c2fce526c02693d539e22c7468dc452b</id>
<content type='text'>
* src/tail.c (tail_forever_inotify): When a PID is specified, use
select to block for no more than sleep_interval seconds at a time,
and check for process death upon timeout.
(main): Adapt to new tail_forever_inotify interface.
</content>
</entry>
<entry>
<title>tail: adjust type of a local variable</title>
<updated>2009-07-11T07:43:25Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2009-07-11T07:43:25Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=8f3171bbc463d813f17f0dfec22f7074142675d8'/>
<id>urn:sha1:8f3171bbc463d813f17f0dfec22f7074142675d8</id>
<content type='text'>
* src/tail.c (tail_forever_inotify): Declare "len" to be of type
size_t, not ssize_t, since the former is what safe_read returns.
</content>
</entry>
<entry>
<title>tail: use size_t for counter and index variables, ...</title>
<updated>2009-07-08T17:53:43Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2009-07-08T17:49:46Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=0e931753015889598af771b5399ea6fa4c4f9619'/>
<id>urn:sha1:0e931753015889598af771b5399ea6fa4c4f9619</id>
<content type='text'>
* src/tail.c (any_live_files): ... not "int" or even unsigned int
(tail_forever, tail_forever_inotify, main): Likewise.
</content>
</entry>
<entry>
<title>tail: declare "file descriptor" variable to be "int", not size_t</title>
<updated>2009-07-08T17:52:58Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2009-07-08T17:51:22Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=3639a880aa9778bd6f30be4e953ad9b1171110a1'/>
<id>urn:sha1:3639a880aa9778bd6f30be4e953ad9b1171110a1</id>
<content type='text'>
* src/tail.c (tail_forever_inotify): Use "int", not size_t
as the type of a file descriptor variable.
</content>
</entry>
<entry>
<title>tail: avoid an inotify portability problem in kernels prior to 2.6.21</title>
<updated>2009-07-03T15:52:30Z</updated>
<author>
<name>Giuseppe Scrivano</name>
<email>gscrivano@gnu.org</email>
</author>
<published>2009-07-02T21:38:46Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=d9f83f9a603a2f5ecdc13bbe65e22aba49d43d66'/>
<id>urn:sha1:d9f83f9a603a2f5ecdc13bbe65e22aba49d43d66</id>
<content type='text'>
* src/tail.c (tail_forever_inotify): Handle the special case in which
an old inotify watcher returns 0.  Affects kernels in [2.6.13, 2.6.21).
</content>
</entry>
<entry>
<title>tail: add comments noting potential inotify-related problems</title>
<updated>2009-06-29T18:43:26Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2009-06-29T18:43:26Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=6d0d1c47b28ea4989a6608e9f7d51218ee0c89ef'/>
<id>urn:sha1:6d0d1c47b28ea4989a6608e9f7d51218ee0c89ef</id>
<content type='text'>
* src/tail.c (tail_forever_inotify): Add two FIXME comments.
</content>
</entry>
</feed>
