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