summaryrefslogtreecommitdiffstats
path: root/src/channel.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-01-26 15:12:55 +0100
committerBram Moolenaar <Bram@vim.org>2019-01-26 15:12:55 +0100
commit1ecc5e4a995ade68ae216bb56f6ac9bd5c0b7e4b (patch)
tree1dd5bf0c048edb2700cfefb407d7fda4033049f6 /src/channel.c
parent203651b9b2e2f478c9a2be25f86ce9712a21a796 (diff)
patch 8.1.0824: SunOS/Solaris has a problem with ttysv8.1.0824
Problem: SunOS/Solaris has a problem with ttys. Solution: Add mch_isatty() with extra handling for SunOS. (Ozaki Kiichi, closes #3865)
Diffstat (limited to 'src/channel.c')
-rw-r--r--src/channel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/channel.c b/src/channel.c
index b013a8558d..7c649b1714 100644
--- a/src/channel.c
+++ b/src/channel.c
@@ -1048,7 +1048,7 @@ channel_set_pipes(channel_T *channel, sock_T in, sock_T out, sock_T err)
# 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
}