Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't set termio in IsTerminal on solaris
The current implementation of IsTerminal on solaris uses IoctlSetTermio which will set a zero valued termio on the given FD. This might lead to unexpected side effects. Instead, use IoctlGetTermio which will not change the terminal settings. Also adjust the reference to isatty in the Illumos source.
- Loading branch information