cat: Fix immediate output of processed data
commit1644e589050ddfce4bbd5ebbe10a4e041499e386
authorPádraig Brady <P@draigBrady.com>
Wed, 11 Mar 2009 11:39:33 +0000 (11 11:39 +0000)
committerPádraig Brady <P@draigBrady.com>
Wed, 11 Mar 2009 14:27:39 +0000 (11 14:27 +0000)
tree0f3323489556bf303057f25b6ca87a5533873e4a
parent55efc5f3ee485b3e31a91c331f07c89aeccc4e89
cat: Fix immediate output of processed data

Introduced by commit 790892db, 2006-06-08 "Ensure that cat works ...".
* NEWS: Mention the bugfix.
* src/cat.c (cat): Fix the typo which stopped the writing
of processed data before a blocking read() is done.
* tests/misc/cat-buf: Add to ensure processed data is not buffered.
* tests/Makefile.am: Reference the new test.
NEWS
src/cat.c
tests/Makefile.am
tests/misc/cat-buf [new file with mode: 0755]