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