commit 4ce3159e24e18ccd53400f7066a54e01561cf586
parent 32a4c9f4f92dc9371a1a6ee053223babca89d4a1
Author: Nik Klassen <nikklassen@users.noreply.github.com>
Date: Thu, 23 Nov 2023 16:28:52 -0500
fix: missing case in setxattr error handling (#26176)
ENOTSUP case is present in vim, but doesn't appear to have included here.
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/src/nvim/os/fs.c b/src/nvim/os/fs.c
@@ -795,6 +795,7 @@ void os_copy_xattr(const char *from_file, const char *to_file)
case E2BIG:
errmsg = e_xattr_e2big;
goto error_exit;
+ case ENOTSUP:
case EACCES:
case EPERM:
break;