diff options
author | Pádraig Brady <P@draigBrady.com> | 2009-03-11 11:39:33 +0000 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2009-03-11 14:27:39 +0000 |
commit | 1644e589050ddfce4bbd5ebbe10a4e041499e386 (patch) | |
tree | 0f3323489556bf303057f25b6ca87a5533873e4a /src | |
parent | 55efc5f3ee485b3e31a91c331f07c89aeccc4e89 (diff) | |
download | coreutils-1644e589050ddfce4bbd5ebbe10a4e041499e386.tar.xz |
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.
Diffstat (limited to 'src')
-rw-r--r-- | src/cat.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -333,7 +333,7 @@ cat ( input_pending = true; #endif - if (input_pending) + if (!input_pending) write_pending (outbuf, &bpout); /* Read more input into INBUF. */ |