-- 
:M:
>From 5ef6daa67a5b59aea057b482a93b48da43ce8663 Mon Sep 17 00:00:00 2001
From: Michael 'Mickey' Lauer <[email protected]>
Date: Sun, 1 Mar 2009 16:44:35 +0100
Subject: [PATCH] posix.vapi: open has two forms, one with a mode_t, one without

Signed-off-by: Michael 'Mickey' Lauer <[email protected]>
---
 vapi/posix.vapi |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/vapi/posix.vapi b/vapi/posix.vapi
index b3c2b9a..6c21423 100644
--- a/vapi/posix.vapi
+++ b/vapi/posix.vapi
@@ -288,7 +288,7 @@ namespace Posix {
 	[CCode (cheader_filename = "fcntl.h")]
 	public int fcntl (int fd, int cmd, ...);
 	[CCode (cheader_filename = "fcntl.h")]
-	public int open (string path, int oflag);
+	public int open (string path, int oflag, mode_t mode=0);
 	[CCode (cheader_filename = "fcntl.h")]
 	public int posix_fadvice (int fd, long offset, long len, int advice);
 	[CCode (cheader_filename = "fcntl.h")]
-- 
1.5.6.3

_______________________________________________
Vala-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to