On Wed, Apr 9, 2014 at 4:09 AM, Bram Moolenaar <[email protected]> wrote:

>
> Yukihiro Nakadaira wrote:
>
> os_unix.c:
>   2818 static const char const *smack_copied_attributes[] =
> This should be
>   static const char *smack_copied_attributes[]
>     or
>   static const char * const smack_copied_attributes[]
>
> Well, which one is it?


Maybe second one is intended.

diff -r dd44a527c2bd src/os_unix.c
--- a/src/os_unix.c    Sun Apr 06 21:34:04 2014 +0200
+++ b/src/os_unix.c    Wed Apr 09 19:44:49 2014 +0900
@@ -2815,7 +2815,7 @@
     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,

-- 
Yukihiro Nakadaira - [email protected]

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