diff options
author | Johannes Schindelin <johannes.schindelin@gmx.de> | 2017-06-30 22:19:49 +0200 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2017-08-24 09:12:10 +0100 |
commit | 98bc4759107c54783c08bf1ecde35e96f1345dc1 (patch) | |
tree | d93e890d91fe9506cdb1c0901306dc880589b227 /libbb | |
parent | 0933725e0f33fa93256623933813381c62611bfd (diff) | |
download | busybox-w32-98bc4759107c54783c08bf1ecde35e96f1345dc1.tar.gz busybox-w32-98bc4759107c54783c08bf1ecde35e96f1345dc1.tar.bz2 busybox-w32-98bc4759107c54783c08bf1ecde35e96f1345dc1.zip |
mingw: accommodate for BusyBox' assumptions about isatty()
On Windows, isatty(fd) determines whether the file descriptor refers to
a character device.
The thing is: even NUL or a printer is a character device. BusyBox
thinks, however, that isatty() only returns non-zero for an interactive
terminal.
So let's shadow isatty() by a version that answers the question BusyBox
wants to have answered.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Ron Yorston <rmy@pobox.com>
Diffstat (limited to 'libbb')
0 files changed, 0 insertions, 0 deletions