Patch 7.4.244 (after 7.4.238)
Problem:    The smack feature causes stray error messages.
Solution:   Remove the error messages.
Files:      src/os_unix.c


*** ../vim-7.4.243/src/os_unix.c        2014-04-02 14:05:33.999887839 +0200
--- src/os_unix.c       2014-04-02 23:08:25.967439786 +0200
***************
*** 2875,2888 ****
                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');
!                   }
                    break;
            }
        }
--- 2875,2882 ----
                case ENODATA:
                    /* no attribute of this name */
                    ret = removexattr((char*)to_file, name);
!                   /* Silently ignore errors, apparently this happens when
!                    * smack is not actually being used. */
                    break;
            }
        }
*** ../vim-7.4.243/src/version.c        2014-04-02 22:17:00.007482236 +0200
--- src/version.c       2014-04-02 23:07:36.067440472 +0200
***************
*** 736,737 ****
--- 736,739 ----
  {   /* Add new patch number below this line */
+ /**/
+     244,
  /**/

-- 
How To Keep A Healthy Level Of Insanity:
2. Page yourself over the intercom. Don't disguise your voice.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
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