[vala] posix: Declare Group.gr_mem as null-terminated



commit e279d6e1a8c42ea9b25c101fc9e89f68c605699a
Author: Colin Watson <cjwatson ubuntu com>
Date:   Tue Feb 25 13:53:32 2014 +0000

    posix: Declare Group.gr_mem as null-terminated
    
    Fixes bug 725149.

 vapi/posix.vapi |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/vapi/posix.vapi b/vapi/posix.vapi
index c8d9954..7629f88 100644
--- a/vapi/posix.vapi
+++ b/vapi/posix.vapi
@@ -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")]


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