# HG changeset patch # User Bram Moolenaar # Date 1398250360 -7200 # Node ID e4cd5bb75029d2c1208f3e31ebde4e03b16e8123 # Parent 94df797ed6b03d5387b5ed7526f8c65024112822 updated for version 7.4.259 Problem: Warning for misplaced "const". Solution: Move the "const". (Yukihiro Nakadaira) diff --git a/src/os_unix.c b/src/os_unix.c --- a/src/os_unix.c +++ b/src/os_unix.c @@ -2815,7 +2815,7 @@ mch_copy_sec(from_file, to_file) char_u *from_file; char_u *to_file; { - static const char const *smack_copied_attributes[] = + static const char * const smack_copied_attributes[] = { XATTR_NAME_SMACK, XATTR_NAME_SMACKEXEC, diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -735,6 +735,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 259, +/**/ 258, /**/ 257,