jkunstle / rpms / vim

Forked from rpms/vim 3 years ago
Clone

Blame SOURCES/7.4.244

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