diff options
author | ZyX <kp-pav@yandex.ru> | 2017-04-01 21:13:21 +0300 |
---|---|---|
committer | ZyX <kp-pav@yandex.ru> | 2017-04-01 21:15:13 +0300 |
commit | cc4523013f8e693f92de3b96ff36065895c60974 (patch) | |
tree | a1a1fe698d7e958099b4c6454f8cafcf0f40ff58 /src/nvim/eval.c | |
parent | 8de53157b691dd4ce604a5be0e2d9c3b6014bfdb (diff) | |
download | rneovim-cc4523013f8e693f92de3b96ff36065895c60974.tar.gz rneovim-cc4523013f8e693f92de3b96ff36065895c60974.tar.bz2 rneovim-cc4523013f8e693f92de3b96ff36065895c60974.zip |
eval,fileio: Omit additional fsync() call
Fixes #6420
Diffstat (limited to 'src/nvim/eval.c')
-rw-r--r-- | src/nvim/eval.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/eval.c b/src/nvim/eval.c index 15b712e7de..a6774a3a0b 100644 --- a/src/nvim/eval.c +++ b/src/nvim/eval.c @@ -17289,7 +17289,7 @@ static bool write_list(FileDescriptor *const fp, const list_T *const list, } } } - if ((error = file_fsync(fp)) != 0) { + if ((error = file_flush(fp)) != 0) { goto write_list_error; } return true; |