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

2016-11-19 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 --

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

2016-11-19 Thread JonY
On 11/19/2016 14:07, Mihail Konev wrote: > Before, isatty() was an alias for WinAPI _isatty(). > This resulted in wrong result for mintty. > > Implement pipe name check in crt isatty(). > Almost OK. > Signed-off-by: Mihail Konev > Moved-from: https://github.com/Alexpux/mingw-w64/pull/3 > Refer