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:
@@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user