Hi Bram, you have already merged my pull request, but I looked at the corresponding commit in Neovim that got spawned from this change, and it referenced this commit in libuv that has more details: https://github.com/libuv/libuv/pull/2135
>From that commit I think we are currently missing a case for webdav because we are not handling the case where it sets errno to "EINVAL". I think we should probably just do what that commit does and ignore errno altogether. The worst case is it will be slightly slower but that's only if something is wrong anyway. Otherwise it will be whack-a-mole with random undocumented errno's that are probably not intended to be used this way. I would think Apple just assumes the programmer fall back to fsync if fcntl failed for whatever reason. I just opened a new pull request (https://github.com/vim/vim/pull/4025) to fix this. On Wed, Feb 20, 2019 at 10:34 AM Bram Moolenaar <[email protected]> wrote: > > > If others are curious about this, follow the thread on > > https://github.com/macvim-dev/macvim/issues/861. A recent Vim build > > (8.1.915) broke this. > > That patch was supposed to make it work better. Does someone know why it > causes this error? And how to fix? > > -- > A radioactive cat has eighteen half-lives. > > /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net > \\\ > /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ > \\\ > \\\ an exciting new programming language -- http://www.Zimbu.org > /// > \\\ help me help AIDS victims -- http://ICCF-Holland.org > /// > -- -- You received this message from the "vim_mac" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_mac" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
