aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/if_cscope.c
diff options
context:
space:
mode:
authorRui Abreu Ferreira <raf-ep@gmx.com>2015-05-17 18:48:47 +0100
committerSeth Jackson <sethjackson@gmail.com>2016-01-01 20:58:04 -0500
commitb2f9bfbff0ba9925328d2f997f73734f70c6c4cf (patch)
tree45ce1fb76eb3e97d9cb2e57753859fcc57d40ada /src/nvim/if_cscope.c
parent4d27bd6bfee8eef32408b14aa2b6f08ee902d6e7 (diff)
downloadrneovim-b2f9bfbff0ba9925328d2f997f73734f70c6c4cf.tar.gz
rneovim-b2f9bfbff0ba9925328d2f997f73734f70c6c4cf.tar.bz2
rneovim-b2f9bfbff0ba9925328d2f997f73734f70c6c4cf.zip
Windows: Bring back code branch for if_cscope.
The Vim code for windows in if_cscope.c/.h was removed during the refactor, added missing code for error_closing().
Diffstat (limited to 'src/nvim/if_cscope.c')
-rw-r--r--src/nvim/if_cscope.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/nvim/if_cscope.c b/src/nvim/if_cscope.c
index 64323896d6..cd206e2e0d 100644
--- a/src/nvim/if_cscope.c
+++ b/src/nvim/if_cscope.c
@@ -743,8 +743,16 @@ err_closing:
(void)close(to_cs[1]);
(void)close(from_cs[0]);
#else
- /* WIN32 */
- /* Create pipes to communicate with cscope */
+ // Create pipes to communicate with cscope
+ int fd;
+ SECURITY_ATTRIBUTES sa;
+ PROCESS_INFORMATION pi;
+ BOOL pipe_stdin = FALSE, pipe_stdout = FALSE; // NOLINT(readability/bool)
+ STARTUPINFO si;
+ HANDLE stdin_rd, stdout_rd;
+ HANDLE stdout_wr, stdin_wr;
+ BOOL created;
+
sa.nLength = sizeof(SECURITY_ATTRIBUTES);
sa.bInheritHandle = TRUE;
sa.lpSecurityDescriptor = NULL;