]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
posix: Update syntax for fixed-length array definition
authorMark Lee <marklee@src.gnome.org>
Sat, 1 Aug 2009 07:54:56 +0000 (00:54 -0700)
committerJürg Billeter <j@bitron.ch>
Sat, 1 Aug 2009 12:24:13 +0000 (14:24 +0200)
The syntax for fixed-length arrays changed in commit 5843b781.
Fixes bug 590433.

vapi/posix.vapi

index f0aba29ea5a3f10ed86639d802c481d117a5db41..e210311d01e7232341809952055f383802f417f5 100644 (file)
@@ -183,8 +183,8 @@ namespace Posix {
                public off_t d_off;
                public ushort d_reclen;
                public char d_type;
-               public char[265] d_name;
-               }
+               public char d_name[256];
+       }
 
        [Compact]
        [CCode (cname = "DIR", free_function = "closedir", cheader_filename = "dirent.h")]