diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2022-12-16 17:38:29 +0100 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2022-12-16 17:40:06 +0100 |
commit | a5207304dd7cda519ae94b313b9d4fb6dbd298f6 (patch) | |
tree | 6dac8769883cac8f0345dd9d3149a629bfb8a2b6 /src/nvim/undo.c | |
parent | 614d382621fa0b9d19287b63edb39b637409c581 (diff) | |
download | rneovim-a5207304dd7cda519ae94b313b9d4fb6dbd298f6.tar.gz rneovim-a5207304dd7cda519ae94b313b9d4fb6dbd298f6.tar.bz2 rneovim-a5207304dd7cda519ae94b313b9d4fb6dbd298f6.zip |
refactor: rename mch_get_acl => os_get_acl
Diffstat (limited to 'src/nvim/undo.c')
-rw-r--r-- | src/nvim/undo.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/undo.c b/src/nvim/undo.c index 05adc3c6d3..0777d1309d 100644 --- a/src/nvim/undo.c +++ b/src/nvim/undo.c @@ -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 |