diff options
author | Ron Yorston <rmy@pobox.com> | 2016-10-24 08:56:56 +0100 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2016-10-24 08:56:56 +0100 |
commit | 418f43bea899493bb70a6eec6429b3de412be6e7 (patch) | |
tree | cdbc91cc6ed60d478fdc6717fdd9014e281d7439 /libbb | |
parent | bbb2af5e5016f5d79e0b5d0c1312934b3ccd815d (diff) | |
download | busybox-w32-418f43bea899493bb70a6eec6429b3de412be6e7.tar.gz busybox-w32-418f43bea899493bb70a6eec6429b3de412be6e7.tar.bz2 busybox-w32-418f43bea899493bb70a6eec6429b3de412be6e7.zip |
yes: add explicit error check for WIN32
The test script for md5sum uses 'yes $text | head'. This fails
because of Microsoft Windows' dodgy handling of pipes. yes checks
the return value of putchar for an error, but on WIN32 none comes
when a pipe fails. ferror, OTOH, does report an error.
Diffstat (limited to 'libbb')
0 files changed, 0 insertions, 0 deletions