aboutsummaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2009-11-18 10:48:09 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2009-11-18 10:48:09 +0100
commit5b0a7f1a6e66af3f1ff4159d4eb96c30517782b8 (patch)
treea80cc18d00c88ad9c2211939e7fc1b2d9a13cfe6 /editors
parent995f15452a265190c222442758a21fed2233ba14 (diff)
downloadbusybox-5b0a7f1a6e66af3f1ff4159d4eb96c30517782b8.tar.gz
wc: fix a hang gue to isprint(EOF)
The new isprint replacement macro returns TRUE for isprint(EOF), so the read loop never returns. Moved the check for EOF immediately after the read. Signed-off-by: Dan Fandrich <dan@coneharvesters.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'editors')
0 files changed, 0 insertions, 0 deletions