On Mon, Apr 4, 2016 at 7:43 PM, Mike Frysinger wrote:
> the code as written has existed since it was first committed in Mar 2000:
> http://git.savannah.gnu.org/cgit/coreutils.git/commit/?h=29d3ba4a7b42ed1b40b963b6047f2412ea4843b1
> although the Author says Jim, the ChangeLog file says Bruno Haible
the code as written has existed since it was first committed in Mar 2000:
http://git.savannah.gnu.org/cgit/coreutils.git/commit/?h=29d3ba4a7b42ed1b40b963b6047f2412ea4843b1
although the Author says Jim, the ChangeLog file says Bruno Haible.
that predates the merge of file/text/shell utils into core
* src/yes.c (main): For large inputs only write a single
diagnostic for write errors.
* tests/misc/yes.sh: Test when /dev/full is available.
---
src/yes.c | 2 ++
tests/misc/yes.sh | 13 +
2 files changed, 15 insertions(+)
diff --git a/src/yes.c b/src/yes.c
index 31424cf..1d2
On 04/04/16 06:18, Assaf Gordon wrote:
Hello,
The attached patch add I/O error checking to seq, preventing infloop on certain
write-error conditions.
The typical case is
seq 1 inf > /dev/full
Nice one.
Note we'd only inf loop if seq was going to run forever anyway.
I've adjusted the N