<feed xmlns='http://www.w3.org/2005/Atom'>
<title>coreutils/tests/tail-2/flush-initial, branch next</title>
<subtitle>Mirror of https://https.git.savannah.gnu.org/git/coreutils.git/
</subtitle>
<id>https://git.shady.money/coreutils/atom?h=next</id>
<link rel='self' href='https://git.shady.money/coreutils/atom?h=next'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/'/>
<updated>2009-09-07T20:52:30Z</updated>
<entry>
<title>tests: tail-2/flush-initial should not rely on stdbuf</title>
<updated>2009-09-07T20:52:30Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2009-09-07T16:03:08Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=fd9750b0ffb691d2ad97551eada5c2802df3c805'/>
<id>urn:sha1:fd9750b0ffb691d2ad97551eada5c2802df3c805</id>
<content type='text'>
* tests/tail-2/flush-initial: stdbuf is not built on all systems.
In any case it's redundant since stdout will automatically be buffered
since we're redirecting to file. So just call tail without using stdbuf.
</content>
</entry>
<entry>
<title>tests: tail-2/flush-initial: correct race avoidance code</title>
<updated>2009-09-06T18:00:34Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2009-09-06T18:00:14Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=15f26e296b4948edc6c7d33fc1caa6cb50999364'/>
<id>urn:sha1:15f26e296b4948edc6c7d33fc1caa6cb50999364</id>
<content type='text'>
* tests/tail-2/flush-initial: Wait for the file to be nonempty,
not for the process.  Based on a suggestion from Pádraig Brady.
</content>
</entry>
<entry>
<title>tail: flush initial output before possibly blocking</title>
<updated>2009-09-06T07:40:43Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2009-09-06T07:39:31Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=d54376db68adf655b5f09855442b2983fc2f4f3e'/>
<id>urn:sha1:d54376db68adf655b5f09855442b2983fc2f4f3e</id>
<content type='text'>
* src/tail.c (main): Flush any output from tail_file,
before calling tail_forever_inotify, which can block.
* tests/tail-2/flush-initial: New file.  Test for the bug.
* tests/Makefile.am (TESTS): Add tail-2/flush-initial.
* NEWS (Bug fixes): Mention it.
This bug was introduced in coreutils-7.5 via commit ae494d4b,
2009-06-02, "tail: use inotify if it is available".
</content>
</entry>
</feed>
