diff options
author | Bram Moolenaar <Bram@vim.org> | 2008-05-07 17:09:24 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2008-05-07 17:09:24 +0000 |
commit | 588ebeb7a5a7ae7c86b4fe5c3aa34ad117b93b70 (patch) | |
tree | 4260a2d4f4d6debb7add7a4ae36758354ee33440 /src/memfile.c | |
parent | 2b57078d735b72fdbfa70eb9fcad1a4c1800f959 (diff) | |
download | vim-git-588ebeb7a5a7ae7c86b4fe5c3aa34ad117b93b70.tar.gz |
updated for version 7.1-296v7.1.296
Diffstat (limited to 'src/memfile.c')
-rw-r--r-- | src/memfile.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/memfile.c b/src/memfile.c index d0dd8deef..f1ce68143 100644 --- a/src/memfile.c +++ b/src/memfile.c @@ -1346,5 +1346,10 @@ mf_do_open(mfp, fname, flags) 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 */ + } } |