Mercurial > vim
changeset 5800:da17c7de616e v7.4.244
updated for version 7.4.244
Problem: The smack feature causes stray error messages.
Solution: Remove the error messages.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Wed, 02 Apr 2014 23:09:26 +0200 |
parents | 50c66f09b495 |
children | 43fc7ea915db |
files | src/os_unix.c src/version.c |
diffstat | 2 files changed, 4 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/src/os_unix.c +++ b/src/os_unix.c @@ -2875,14 +2875,8 @@ mch_copy_sec(from_file, to_file) case ENODATA: /* no attribute of this name */ ret = removexattr((char*)to_file, name); - if (ret < 0 && errno != ENODATA) - { - MSG_PUTS(_("Could not remove security context ")); - MSG_PUTS(name); - MSG_PUTS(_(" for ")); - msg_outtrans(to_file); - msg_putchar('\n'); - } + /* Silently ignore errors, apparently this happens when + * smack is not actually being used. */ break; } }