aboutsummaryrefslogtreecommitdiff
path: root/test/functional/eval/writefile_spec.lua
diff options
context:
space:
mode:
authorZyX <kp-pav@yandex.ru>2016-07-30 18:14:04 +0300
committerZyX <kp-pav@yandex.ru>2017-02-14 01:09:59 +0300
commit85e1a565606d04626966321f63db53005d4b162b (patch)
treec60ed34557f6cd27874e69c0aecad229e8039826 /test/functional/eval/writefile_spec.lua
parent4a511de881efcf9b759c7babdeb0e31242d62c2e (diff)
downloadrneovim-85e1a565606d04626966321f63db53005d4b162b.tar.gz
rneovim-85e1a565606d04626966321f63db53005d4b162b.tar.bz2
rneovim-85e1a565606d04626966321f63db53005d4b162b.zip
os/fileio: Allow certain failures during file_fsync
According to the documentation fsync() may fail with EROFS or EINVAL if “file descriptor is bound to a special file which does not support synchronization” (e.g. /dev/stderr). This condition is completely valid in this case since main point of `file_fsync()` is dumping buffered input.
Diffstat (limited to 'test/functional/eval/writefile_spec.lua')
0 files changed, 0 insertions, 0 deletions