]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
posix: Fix superfluous array length argument for realpath()
authorMartin Pitt <martinpitt@gnome.org>
Fri, 8 Feb 2013 11:02:50 +0000 (12:02 +0100)
committerMartin Pitt <martinpitt@gnome.org>
Sat, 9 Feb 2013 10:51:36 +0000 (11:51 +0100)
Fixes bug 693410.

vapi/posix.vapi

index 6aed752f4f08d110e86e50e0ad67ad79ecdba040..bf82290db57cc92c2e48d60b6acd5fc933e86937 100644 (file)
@@ -1035,7 +1035,7 @@ namespace Posix {
        public int mkostemp (string template, int flags);
 
        [CCode (cheader_filename = "stdlib.h")]
-       public string? realpath (string path, uint8[]? resolved_path = null);
+       public string? realpath (string path, [CCode (array_length = false)] uint8[]? resolved_path = null);
 
        [CCode (cheader_filename = "stdlib.h")]
        public int posix_openpt (int flags);