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 2023-11-23 16:28:52 -05:00 committed by GitHub
parent 32a4c9f4f9
commit 4ce3159e24
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -795,6 +795,7 @@ void os_copy_xattr(const char *from_file, const char *to_file)
case E2BIG: case E2BIG:
errmsg = e_xattr_e2big; errmsg = e_xattr_e2big;
goto error_exit; goto error_exit;
case ENOTSUP:
case EACCES: case EACCES:
case EPERM: case EPERM:
break; break;