]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
posix: Fix the socketpair function
authorLuca Bruno <lucabru@src.gnome.org>
Tue, 15 Nov 2011 16:26:38 +0000 (17:26 +0100)
committerJürg Billeter <j@bitron.ch>
Wed, 30 Nov 2011 14:00:47 +0000 (15:00 +0100)
Patch by Paul Jakma.

Fixes bug 664121.

vapi/posix.vapi

index a65ef57989f6762fa0ab47a09f9f7a0a3f43e698..957826360d9063dbddc7d2e206f6fe7f55dbfcb0 100644 (file)
@@ -1461,7 +1461,7 @@ namespace Posix {
        [CCode (cheader_filename = "sys/socket.h")]
        public int socket (int domain, int type, int protocol);
        [CCode (cheader_filename = "sys/socket.h")]
-       public int socketpair (int domain, int type, int protocol, int[] sv);
+       public int socketpair (int domain, int type, int protocol, [CCode (array_length = false)] int[] sv);
 
     [SimpleType]
     [IntegerType]