On 2 April 2014, Bram Moolenaar <[email protected]> wrote:
> 
> Lcd wrote:
> 
> > On 2 April 2014, Bram Moolenaar <[email protected]> wrote:
> > > 
> > > Patch 7.4.238
> > > Problem:    Vim does not support the smack library.
> > > Solution:   Add smack support (Jose Bollo)
> > > Files:        src/config.h.in, src/configure.in, src/fileio.c, 
> > > src/memfile.c,
> > >       src/os_unix.c, src/undo.c, src/auto/configure
> > [...]
> > > ! dnl Link with -lsmack for Smack stuff; if not found
> > > ! AC_MSG_CHECKING(--disable-smack argument)
> > > ! AC_ARG_ENABLE(smack,
> > > !         [  --disable-smack        Do not check for Smack support.],
> > > !         , enable_smack="yes")
> > [...]
> > 
> >     Perhaps this should be disabled by default?  The existence
> > of smack doesn't mean it's actually in use, or configured to do
> > something useful.  Case in point, it makes Vim spit out messages
> > like this:
> > 
> > Could not remove security context security.SMACK64 for 
> > /home/lcd047/tmp/puppetlint.vim.swp
> > Could not remove security context security.SMACK64EXEC for 
> > /home/lcd047/tmp/puppetlint.vim.swp
> > Could not remove security context security.SMACK64MMAP for 
> > /home/lcd047/tmp/puppetlint.vim.swp
> 
> Apparently the removexattr call does not return the expected errno
> when it is not supported.  I just sent a patch to not give these
> errors.  Let me know if that doesn't solve it.

    Thank you.  It seems to be working now, Vim no longer prints those
messages.

    /lcd

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui