forked from aniani/vim
updated for version 7.4.244
Problem: The smack feature causes stray error messages. Solution: Remove the error messages.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
@@ -734,6 +734,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
244,
|
||||
/**/
|
||||
243,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user