summaryrefslogtreecommitdiff
path: root/src/fmt.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2016-06-25 00:58:44 +0200
committerPaul Eggert <eggert@cs.ucla.edu>2016-06-25 01:02:08 +0200
commit4cdb1703aff044de44d27e0558714542197f6dad (patch)
tree932f27a1f6ac66a3882895aa84302a9acf291e1b /src/fmt.c
parent5845664c8c61faf004eb3ef9979e770f794108c1 (diff)
downloadcoreutils-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 'src/fmt.c')
0 files changed, 0 insertions, 0 deletions