diff options
author | ZyX <kp-pav@yandex.ru> | 2017-04-03 00:35:29 +0300 |
---|---|---|
committer | ZyX <kp-pav@yandex.ru> | 2017-04-03 00:35:29 +0300 |
commit | 364709bedb17bfde4eb12d8f2c1427fe958dc6fc (patch) | |
tree | 54bfc68ab913d35a7c9c7a1694db2c45d21c20b9 /src/nvim/api/vim.c | |
parent | b10880dadcbd3b3ad368621f95a0f4be7e30dc0d (diff) | |
download | rneovim-364709bedb17bfde4eb12d8f2c1427fe958dc6fc.tar.gz rneovim-364709bedb17bfde4eb12d8f2c1427fe958dc6fc.tar.bz2 rneovim-364709bedb17bfde4eb12d8f2c1427fe958dc6fc.zip |
fileio: Refactor errmsg handling
Adds os_strerror() result to a number of places. Also since I could not track
where err\* variables are NULL and where they are not, using macros to make sure
that all three variables are set at once.
Removes #ifdef UNIX around the use of os_fsync, makes it use os_close in place
of close in some places.
Diffstat (limited to 'src/nvim/api/vim.c')
0 files changed, 0 insertions, 0 deletions