vim/vim-selinux2.patch
Karsten Hopp 3785aa283b - vim-7.0
- Spell checking support for about 50 languages
- Intelligent completion for C, HTML, Ruby, Python, PHP, etc.
- Tab pages, each containing multiple windows
- Undo branches: never accidentally lose text again
- Vim script supports Lists and Dictionaries (similar to Python)
- Vim script profiling
- Improved Unicode support
- Highlighting of cursor line, cursor column and matching braces
- Translated manual pages support.
- Internal grep; works on all platforms, searches compressed files
- Browsing remote directories, zip and tar archives
- Printing multi-byte text
- find details about the changes since vim-6.4 with :help version7
- /bin/vi /vim-minimal is now using /etc/virc to avoid .rpmnew files when
    updating
2006-05-08 11:23:24 +00:00

12 lines
335 B
Diff

--- vim70/src/memfile.c 2006-05-08 11:37:01.000000000 +0200
+++ vim70/src/memfile.c.selinux 2006-05-08 11:34:45.000000000 +0200
@@ -1325,5 +1325,8 @@
mfp->mf_ffname = NULL;
}
else
+#ifdef HAVE_SELINUX
+ mch_copy_sec(fname, mfp->mf_fname);
+#endif
mch_hide(mfp->mf_fname); /* try setting the 'hidden' flag */
}