aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/if_cscope.c
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2017-09-06 08:16:59 +0200
committerBjörn Linse <bjorn.linse@gmail.com>2017-11-25 09:37:00 +0100
commit85bc6630c0a8259c713383c8787e65f92e24e600 (patch)
tree9ee249d6ecff439c1e35d56267b3598343a4fe54 /src/nvim/if_cscope.c
parent9acd7bfe25b5ea2b31ffbbdbd201f5f09afc4237 (diff)
downloadrneovim-85bc6630c0a8259c713383c8787e65f92e24e600.tar.gz
rneovim-85bc6630c0a8259c713383c8787e65f92e24e600.tar.bz2
rneovim-85bc6630c0a8259c713383c8787e65f92e24e600.zip
input: only change mode of input fd if there is an input fd
Diffstat (limited to 'src/nvim/if_cscope.c')
-rw-r--r--src/nvim/if_cscope.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/nvim/if_cscope.c b/src/nvim/if_cscope.c
index 0f9ecdf2d7..6834e7a802 100644
--- a/src/nvim/if_cscope.c
+++ b/src/nvim/if_cscope.c
@@ -778,7 +778,6 @@ err_closing:
if (execl("/bin/sh", "sh", "-c", cmd, (char *)NULL) == -1)
PERROR(_("cs_create_connection exec failed"));
- stream_set_blocking(input_global_fd(), true); // normalize stream (#2598)
exit(127);
/* NOTREACHED */
default: /* parent. */