]> git.ipfire.org Git - thirdparty/coreutils.git/commit
yes: handle short writes
authorPádraig Brady <P@draigBrady.com>
Thu, 23 Jun 2016 13:15:59 +0000 (14:15 +0100)
committerPádraig Brady <P@draigBrady.com>
Fri, 24 Jun 2016 00:13:33 +0000 (01:13 +0100)
commit5845664c8c61faf004eb3ef9979e770f794108c1
tree98678dd3dae0f06cef11ae07b03b3471911e16d2
parentba5767c2b869dcbbae91f1d42b488dca31652a0a
yes: handle short writes

* src/yes.c (main): Loop over the write buffer to
handle the case where write may write less than requested.
* NEWS: Mention the bug fix.
Reported by Paul Eggert.
NEWS
src/yes.c