aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZyX <kp-pav@yandex.ru>2015-07-26 02:19:49 +0300
committerZyX <kp-pav@yandex.ru>2015-10-08 22:00:15 +0300
commit21c12cf4e7a1ac355c288171f0da0cb2f5f978fd (patch)
tree818f6727176b8f1cf509b53c9a4756062291326d
parent931539d108d397b88da618585861dce854018af2 (diff)
downloadrneovim-21c12cf4e7a1ac355c288171f0da0cb2f5f978fd.tar.gz
rneovim-21c12cf4e7a1ac355c288171f0da0cb2f5f978fd.tar.bz2
rneovim-21c12cf4e7a1ac355c288171f0da0cb2f5f978fd.zip
shada: Do not handle EINTR in open_file
It is already handled by libuv which is used by os_open.
-rw-r--r--src/nvim/shada.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/nvim/shada.c b/src/nvim/shada.c
index 7ca4edc783..b4002a3b77 100644
--- a/src/nvim/shada.c
+++ b/src/nvim/shada.c
@@ -666,9 +666,6 @@ open_file_start:
did_try_to_free = true;
goto open_file_start;
}
- if (-fd == EINTR) {
- goto open_file_start;
- }
if (-fd != EEXIST) {
emsg3(_(SERR "System error while opening ShaDa file %s: %s"),
fname, os_strerror(fd));