1
0
forked from aniani/vim

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)
This commit is contained in:
Bram Moolenaar
2019-01-26 15:12:55 +01:00
parent 203651b9b2
commit 1ecc5e4a99
9 changed files with 147 additions and 68 deletions

View File

@@ -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
}