]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
posix: Declare Group.gr_mem as null-terminated
authorColin Watson <cjwatson@ubuntu.com>
Tue, 25 Feb 2014 13:53:32 +0000 (13:53 +0000)
committerJürg Billeter <j@bitron.ch>
Mon, 3 Mar 2014 14:51:48 +0000 (15:51 +0100)
Fixes bug 725149.

vapi/posix.vapi

index c8d995410bec82ace0ded71f1e4856c2c5ed8208..7629f8824df5ee31f0bcbf81f4cce867d540da2e 100644 (file)
@@ -343,6 +343,7 @@ namespace Posix {
                public string gr_name;
                public string gr_passwd;
                public gid_t gr_gid;
+               [CCode (array_length = false, array_null_terminated = true)]
                public string[] gr_mem;
        }
        [CCode (cheader_filename = "grp.h")]