[vala] posix: Fix superfluous array length argument for realpath()



commit 1d93f3f061c70baf6448ed7eef4805a6ac62e6e8
Author: Martin Pitt <martinpitt gnome org>
Date:   Fri Feb 8 12:02:50 2013 +0100

    posix: Fix superfluous array length argument for realpath()
    
    Fixes bug 693410.

 vapi/posix.vapi |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/vapi/posix.vapi b/vapi/posix.vapi
index 6aed752..bf82290 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);


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