[vala/0.40] posix: Declare fstat, stat, lstat and fstatat as public
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/0.40] posix: Declare fstat, stat, lstat and fstatat as public
- Date: Sun, 3 Jan 2021 12:46:51 +0000 (UTC)
commit fd55a9dc7f9d9741606973f869281b800e95ec65
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Thu Oct 15 09:12:28 2020 +0200
posix: Declare fstat, stat, lstat and fstatat as public
Fixes https://gitlab.gnome.org/GNOME/vala/issues/1086
vapi/posix.vapi | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/vapi/posix.vapi b/vapi/posix.vapi
index d88111291..4845328d6 100644
--- a/vapi/posix.vapi
+++ b/vapi/posix.vapi
@@ -2005,13 +2005,13 @@ namespace Posix {
public blkcnt_t st_blocks;
}
[CCode (cheader_filename = "sys/stat.h")]
- int fstat( int fd, out Stat buf);
+ public int fstat (int fd, out Stat buf);
[CCode (cheader_filename = "sys/stat.h")]
- int stat (string filename, out Stat buf);
+ public int stat (string filename, out Stat buf);
[CCode (cheader_filename = "sys/stat.h")]
- int lstat (string filename, out Stat buf);
+ public int lstat (string filename, out Stat buf);
[CCode (cheader_filename = "sys/stat.h", feature_test_macro = "_GNU_SOURCE")]
- int fstatat (int dirfd, string pathname, out Stat buf, int flags);
+ public int fstatat (int dirfd, string pathname, out Stat buf, int flags);
[CCode (cheader_filename = "sys/stat.h")]
public int chmod (string filename, mode_t mode);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]