diff options
author | Lewis Russell <lewis6991@gmail.com> | 2023-01-31 11:47:02 +0000 |
---|---|---|
committer | Lewis Russell <lewis6991@gmail.com> | 2023-02-01 11:14:20 +0000 |
commit | b3d304df93347ef3f585ae91ae9ff6f5f28651af (patch) | |
tree | 1512649a15be5d7bd3ae6a97e38c348bfd6e333d /src/nvim/undo.c | |
parent | c1a3865c476844e1b30200e2e7f3f9f2fa682329 (diff) | |
download | rneovim-b3d304df93347ef3f585ae91ae9ff6f5f28651af.tar.gz rneovim-b3d304df93347ef3f585ae91ae9ff6f5f28651af.tar.bz2 rneovim-b3d304df93347ef3f585ae91ae9ff6f5f28651af.zip |
refactor(fileio.c): remove HAVE_ACL ifdefs
Diffstat (limited to 'src/nvim/undo.c')
-rw-r--r-- | src/nvim/undo.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/nvim/undo.c b/src/nvim/undo.c index 0f12c00f15..2b5dd297b5 100644 --- a/src/nvim/undo.c +++ b/src/nvim/undo.c @@ -1339,14 +1339,12 @@ write_error: semsg(_("E829: write error in undo file: %s"), file_name); } -#ifdef HAVE_ACL if (buf->b_ffname != NULL) { // For systems that support ACL: get the ACL from the original file. vim_acl_T acl = os_get_acl(buf->b_ffname); os_set_acl(file_name, acl); os_free_acl(acl); } -#endif theend: if (file_name != name) { |