mirror of
https://github.com/neovim/neovim.git
synced 2025-09-29 22:48:34 +00:00
cleanup: remove HAVE_SELINUX #10040
We never define HAVE_SELINUX, and no one has asked for it. So remove the dead code.
This commit is contained in:
@@ -1169,10 +1169,6 @@ void u_write_undo(const char *const name, const bool forceit, buf_T *const buf,
|
||||
&& os_fchown(fd, (uv_uid_t)-1, (uv_gid_t)file_info_old.stat.st_gid)) {
|
||||
os_setperm(file_name, (perm & 0707) | ((perm & 07) << 3));
|
||||
}
|
||||
# ifdef HAVE_SELINUX
|
||||
if (buf->b_ffname != NULL)
|
||||
mch_copy_sec(buf->b_ffname, file_name);
|
||||
# endif
|
||||
#endif
|
||||
|
||||
fp = fdopen(fd, "w");
|
||||
|
Reference in New Issue
Block a user