Mercurial > vim
diff src/channel.c @ 15632:d4a6d575e910 v8.1.0824
patch 8.1.0824: SunOS/Solaris has a problem with ttys
commit https://github.com/vim/vim/commit/1ecc5e4a995ade68ae216bb56f6ac9bd5c0b7e4b
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jan 26 15:12:55 2019 +0100
patch 8.1.0824: SunOS/Solaris has a problem with ttys
Problem: SunOS/Solaris has a problem with ttys.
Solution: Add mch_isatty() with extra handling for SunOS. (Ozaki Kiichi,
closes #3865)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 26 Jan 2019 15:15:12 +0100 |
parents | bfbdef46aa7d |
children | b6f11ff3b6d1 |
line wrap: on
line diff
--- a/src/channel.c +++ b/src/channel.c @@ -1048,7 +1048,7 @@ channel_set_pipes(channel_T *channel, so # if defined(UNIX) /* Do not end the job when all output channels are closed, wait until * the job ended. */ - if (isatty(in)) + if (mch_isatty(in)) channel->ch_to_be_closed |= (1U << PART_IN); # endif }