diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2016-06-25 00:58:44 +0200 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2016-06-25 01:02:08 +0200 |
commit | 4cdb1703aff044de44d27e0558714542197f6dad (patch) | |
tree | 932f27a1f6ac66a3882895aa84302a9acf291e1b /tests | |
parent | 5845664c8c61faf004eb3ef9979e770f794108c1 (diff) | |
download | coreutils-4cdb1703aff044de44d27e0558714542197f6dad.tar.xz |
maint: simplify partial writes etc. in 'yes'
* src/yes.c: Include full-write.h.
(main): Use full_write, not write, to simplify handling of partial
writes. Don't bother using stdio to output data; just use
full_write with a buffer as large as needed. Reuse operand
strings if possible, and if the buffer would otherwise be large.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions