aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/if_cscope.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2015-05-27 09:34:40 -0400
committerJustin M. Keyes <justinkz@gmail.com>2015-05-27 09:34:40 -0400
commit3dd166b20387607d73fee01507e7c9ddcfa9bcd4 (patch)
tree5647ea22f1e7fd35b56df9893ebfd5717481d857 /src/nvim/if_cscope.c
parent5a9ad68b258f33ebd7fa0a5da47b308f50f1e5e7 (diff)
parentb2c400b3f2354b2765e1d6f3b5ce4b11f2ab75a3 (diff)
downloadrneovim-3dd166b20387607d73fee01507e7c9ddcfa9bcd4.tar.gz
rneovim-3dd166b20387607d73fee01507e7c9ddcfa9bcd4.tar.bz2
rneovim-3dd166b20387607d73fee01507e7c9ddcfa9bcd4.zip
Merge #2598 'set stdin as "blocking" on exit'
Diffstat (limited to 'src/nvim/if_cscope.c')
-rw-r--r--src/nvim/if_cscope.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/if_cscope.c b/src/nvim/if_cscope.c
index 407709866c..99926ecf16 100644
--- a/src/nvim/if_cscope.c
+++ b/src/nvim/if_cscope.c
@@ -820,6 +820,7 @@ 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. */