refactor: rename mch_get_acl => os_get_acl

This commit is contained in:
Justin M. Keyes
2022-12-16 17:38:29 +01:00
parent 614d382621
commit a5207304dd
3 changed files with 16 additions and 16 deletions

View File

@@ -1343,9 +1343,9 @@ write_error:
#ifdef HAVE_ACL
if (buf->b_ffname != NULL) {
// For systems that support ACL: get the ACL from the original file.
vim_acl_T acl = mch_get_acl((char_u *)buf->b_ffname);
mch_set_acl((char_u *)file_name, acl);
mch_free_acl(acl);
vim_acl_T acl = os_get_acl((char_u *)buf->b_ffname);
os_set_acl((char_u *)file_name, acl);
os_free_acl(acl);
}
#endif