<feed xmlns='http://www.w3.org/2005/Atom'>
<title>coreutils/tests/misc/cat-proc, branch v6.0</title>
<subtitle>Mirror of https://https.git.savannah.gnu.org/git/coreutils.git/
</subtitle>
<id>https://git.shady.money/coreutils/atom?h=v6.0</id>
<link rel='self' href='https://git.shady.money/coreutils/atom?h=v6.0'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/'/>
<updated>2006-06-27T18:43:58Z</updated>
<entry>
<title>* tests/misc/cat-proc: Try to avoid any spurious numeric</title>
<updated>2006-06-27T18:43:58Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2006-06-27T18:43:58Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=df96ded8aea73b5134d800865534548b46f79283'/>
<id>urn:sha1:df96ded8aea73b5134d800865534548b46f79283</id>
<content type='text'>
differences in frequently-changing /proc/cpuinfo.
Reported by Nelson Beebe.
</content>
</entry>
<entry>
<title>Ensure that cat works with any of the options, -A -v -e -E -T,</title>
<updated>2006-06-08T20:13:37Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2006-06-08T20:13:37Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=790892db657ac79b0ba5f7a69cc7e70eb4fed8e0'/>
<id>urn:sha1:790892db657ac79b0ba5f7a69cc7e70eb4fed8e0</id>
<content type='text'>
when applied to files in /proc and /sys, even when the FIONREAD
ioctl produces nonsensical results.  Before this change, cat would
produce no output (or truncated output), for some linux kernels.

* src/cat.c (write_pending): New function, factored out of cat.
(cat): Also interpret a negative ioctl/FIONREAD count as indicating
that there are bytes to read.  Some versions of linux-2.6.16 do that.
Write any pending output before returning.
Reported by Dan Jacobson in &lt;http://bugs.debian.org/370583&gt;.
* NEWS: Mention this bug fix.
* tests/misc/cat-proc: New file.  Test for the above.
* tests/misc/Makefile.am (TESTS): Add cat-proc.
</content>
</entry>
</feed>
