[vala] posix: Update syntax for fixed-length array definition



commit 87be08520a2c9686a0aa7348ce6190aeacf47a18
Author: Mark Lee <marklee src gnome org>
Date:   Sat Aug 1 00:54:56 2009 -0700

    posix: Update syntax for fixed-length array definition
    
    The syntax for fixed-length arrays changed in commit 5843b781.
    Fixes bug 590433.

 vapi/posix.vapi |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/vapi/posix.vapi b/vapi/posix.vapi
index f0aba29..e210311 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")]



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]