fix: missing case in setxattr error handling (#26176)

ENOTSUP case is present in vim, but doesn't appear to have included here.
This commit is contained in:
Nik Klassen authored and GitHub committed 2023-11-24 05:28:52 +08:00
1 parent 32a4c9f4f9
commit 4ce3159e24
1 file changed
+1
+1
View File
@@ -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;