aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/undo.c
diff options
context:
space:
mode:
authorLewis Russell <lewis6991@gmail.com>2023-02-15 16:45:20 +0000
committerGitHub <noreply@github.com>2023-02-15 16:45:20 +0000
commitf006313e95022340b2b0ae28e8223e6e548f0826 (patch)
tree2bf46d9f1b2c236afacefdafbd3d121023714188 /src/nvim/undo.c
parentec782211f2305382b3a6cb72ab0bbfcab0efcdf0 (diff)
parent6aee2336ca75301bd4db6b99c2392f63f8304335 (diff)
downloadrneovim-f006313e95022340b2b0ae28e8223e6e548f0826.tar.gz
rneovim-f006313e95022340b2b0ae28e8223e6e548f0826.tar.bz2
rneovim-f006313e95022340b2b0ae28e8223e6e548f0826.zip
Merge pull request #22056 from lewis6991/refactor/fileio_more
refactor `fileio.c`
Diffstat (limited to 'src/nvim/undo.c')
-rw-r--r--src/nvim/undo.c2
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) {