From 1d93f3f061c70baf6448ed7eef4805a6ac62e6e8 Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Fri, 8 Feb 2013 12:02:50 +0100 Subject: [PATCH] posix: Fix superfluous array length argument for realpath() Fixes bug 693410. --- vapi/posix.vapi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vapi/posix.vapi b/vapi/posix.vapi index 6aed752f4..bf82290db 100644 --- a/vapi/posix.vapi +++ b/vapi/posix.vapi @@ -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); -- 2.47.2