From: Mark Lee Date: Sat, 1 Aug 2009 07:54:56 +0000 (-0700) Subject: posix: Update syntax for fixed-length array definition X-Git-Tag: 0.7.5~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=87be08520a2c9686a0aa7348ce6190aeacf47a18;p=thirdparty%2Fvala.git posix: Update syntax for fixed-length array definition The syntax for fixed-length arrays changed in commit 5843b781. Fixes bug 590433. --- diff --git a/vapi/posix.vapi b/vapi/posix.vapi index f0aba29ea..e210311d0 100644 --- a/vapi/posix.vapi +++ b/vapi/posix.vapi @@ -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")]