[Mingw-w64-public] [PATCH v8] Make isatty Cygwin-compatible

2016-11-18 Thread Mihail Konev
Before, isatty() was an alias for WinAPI _isatty(). This resulted in wrong result for mintty. Implement pipe name check in crt isatty(). Signed-off-by: Mihail Konev Moved-from: https://github.com/Alexpux/mingw-w64/pull/3 Reference: https://cygwin.com/ml/cygwin-developers/2016-11/msg2.html --

[Mingw-w64-public] [PATCH v7] Make isatty Cygwin-compatible

2016-11-18 Thread Mihail Konev
Before, isatty() was an alias for WinAPI _isatty(). This resulted in wrong result for mintty. Implement pipe name check in crt isatty(). Signed-off-by: Mihail Konev Moved-from: https://github.com/Alexpux/mingw-w64/pull/3 Reference: https://cygwin.com/ml/cygwin-developers/2016-11/msg2.html --