astepano / rpms / vim

Forked from rpms/vim 6 years ago
Clone
0052334
To: vim_dev@googlegroups.com
0052334
Subject: Patch 7.4.259
0052334
Fcc: outbox
0052334
From: Bram Moolenaar <Bram@moolenaar.net>
0052334
Mime-Version: 1.0
0052334
Content-Type: text/plain; charset=UTF-8
0052334
Content-Transfer-Encoding: 8bit
0052334
------------
0052334
0052334
Patch 7.4.259
0052334
Problem:    Warning for misplaced "const".
0052334
Solution:   Move the "const". (Yukihiro Nakadaira)
0052334
Files:	    src/os_unix.c
0052334
0052334
0052334
*** ../vim-7.4.258/src/os_unix.c	2014-04-02 23:09:23.003439001 +0200
0052334
--- src/os_unix.c	2014-04-23 12:40:45.931386548 +0200
0052334
***************
0052334
*** 2815,2821 ****
0052334
      char_u	*from_file;
0052334
      char_u	*to_file;
0052334
  {
0052334
!     static const char const *smack_copied_attributes[] =
0052334
  	{
0052334
  	    XATTR_NAME_SMACK,
0052334
  	    XATTR_NAME_SMACKEXEC,
0052334
--- 2815,2821 ----
0052334
      char_u	*from_file;
0052334
      char_u	*to_file;
0052334
  {
0052334
!     static const char * const smack_copied_attributes[] =
0052334
  	{
0052334
  	    XATTR_NAME_SMACK,
0052334
  	    XATTR_NAME_SMACKEXEC,
0052334
*** ../vim-7.4.258/src/version.c	2014-04-12 13:11:58.272430356 +0200
0052334
--- src/version.c	2014-04-23 12:49:22.587374098 +0200
0052334
***************
0052334
*** 736,737 ****
0052334
--- 736,739 ----
0052334
  {   /* Add new patch number below this line */
0052334
+ /**/
0052334
+     259,
0052334
  /**/
0052334
0052334
-- 
0052334
hundred-and-one symptoms of being an internet addict:
0052334
91. It's Saturday afternoon in the middle of May and you
0052334
    are on computer.
0052334
0052334
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
0052334
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
0052334
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
0052334
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///