Blame SOURCES/7.4.244

22c937
To: vim_dev@googlegroups.com
22c937
Subject: Patch 7.4.244
22c937
Fcc: outbox
22c937
From: Bram Moolenaar <Bram@moolenaar.net>
22c937
Mime-Version: 1.0
22c937
Content-Type: text/plain; charset=UTF-8
22c937
Content-Transfer-Encoding: 8bit
22c937
------------
22c937
22c937
Patch 7.4.244 (after 7.4.238)
22c937
Problem:    The smack feature causes stray error messages.
22c937
Solution:   Remove the error messages.
22c937
Files:      src/os_unix.c
22c937
22c937
22c937
*** ../vim-7.4.243/src/os_unix.c	2014-04-02 14:05:33.999887839 +0200
22c937
--- src/os_unix.c	2014-04-02 23:08:25.967439786 +0200
22c937
***************
22c937
*** 2875,2888 ****
22c937
  		case ENODATA:
22c937
  		    /* no attribute of this name */
22c937
  		    ret = removexattr((char*)to_file, name);
22c937
! 		    if (ret < 0 && errno != ENODATA)
22c937
! 		    {
22c937
! 			MSG_PUTS(_("Could not remove security context "));
22c937
! 			MSG_PUTS(name);
22c937
! 			MSG_PUTS(_(" for "));
22c937
! 			msg_outtrans(to_file);
22c937
! 			msg_putchar('\n');
22c937
! 		    }
22c937
  		    break;
22c937
  	    }
22c937
  	}
22c937
--- 2875,2882 ----
22c937
  		case ENODATA:
22c937
  		    /* no attribute of this name */
22c937
  		    ret = removexattr((char*)to_file, name);
22c937
! 		    /* Silently ignore errors, apparently this happens when
22c937
! 		     * smack is not actually being used. */
22c937
  		    break;
22c937
  	    }
22c937
  	}
22c937
*** ../vim-7.4.243/src/version.c	2014-04-02 22:17:00.007482236 +0200
22c937
--- src/version.c	2014-04-02 23:07:36.067440472 +0200
22c937
***************
22c937
*** 736,737 ****
22c937
--- 736,739 ----
22c937
  {   /* Add new patch number below this line */
22c937
+ /**/
22c937
+     244,
22c937
  /**/
22c937
22c937
-- 
22c937
How To Keep A Healthy Level Of Insanity:
22c937
2. Page yourself over the intercom. Don't disguise your voice.
22c937
22c937
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
22c937
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
22c937
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
22c937
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///