aboutsummaryrefslogtreecommitdiff
path: root/test/functional/api/vim_spec.lua
diff options
context:
space:
mode:
authorMarco Hinz <mh.codebro+github@gmail.com>2018-02-28 23:37:05 +0100
committerGitHub <noreply@github.com>2018-02-28 23:37:05 +0100
commitba87a2cde7795081bc1b956de0f9f978c44788fd (patch)
tree81e5038853ae7c4041775e0db0d02bffb74e05d1 /test/functional/api/vim_spec.lua
parent611351677dba450fc1a312061572c44c7e3d6482 (diff)
downloadrneovim-ba87a2cde7795081bc1b956de0f9f978c44788fd.tar.gz
rneovim-ba87a2cde7795081bc1b956de0f9f978c44788fd.tar.bz2
rneovim-ba87a2cde7795081bc1b956de0f9f978c44788fd.zip
cscope: ignore EINTR while reading the prompt (#8079)
The following code.. au VimEnter,DirChanged * if filereadable('.git/cscope.out') | \ exe 'cs add .git/cscope.out' | endif ..would lead to this issue: Error detected while processing VimEnter Auto commands for "*": cs_read_prompt EOF: Interrupted system call Error detected while processing VimEnter Auto commands for "*": E262: error reading cscope connection 0 A signal, in this case SIGCHLD, during a system call leads to errno being set to EINTR. Ignore it. This is merely a workaround for the time being. We don't block SIGCHLD signals, since they're needed by libuv. The proper fix would be to rewrite if_cscope.c to use libuv for handling processes.
Diffstat (limited to 'test/functional/api/vim_spec.lua')
0 files changed, 0 insertions, 0 deletions