[vala/0.40] posix: Fix return-value of mknod() and c-include for tcgetsid()
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/0.40] posix: Fix return-value of mknod() and c-include for tcgetsid()
- Date: Mon, 5 Aug 2019 11:40:26 +0000 (UTC)
commit 28e74be236d091e6a1a605897a4e50064122b78c
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Fri Jul 19 17:58:45 2019 +0200
posix: Fix return-value of mknod() and c-include for tcgetsid()
Introduced with 535f2734d19875ccc1f170841b72eba0c4adad1e
vapi/posix.vapi | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/vapi/posix.vapi b/vapi/posix.vapi
index c6d6c6a8f..f7cf5bda6 100644
--- a/vapi/posix.vapi
+++ b/vapi/posix.vapi
@@ -1988,7 +1988,7 @@ namespace Posix {
[CCode (cheader_filename = "sys/stat.h")]
public int mkdir (string path, mode_t mode);
[CCode (cheader_filename = "sys/types.h,sys/stat.h,fcntl.h,unistd.h")]
- public pid_t mknod (string pathname, mode_t mode, dev_t dev);
+ public int mknod (string pathname, mode_t mode, dev_t dev);
[CCode (cheader_filename = "sys/stat.h")]
public int utimensat (int dirfd, string pathname, [CCode (array_length = false)] timespec[] times,
int flags = 0);
@@ -2399,7 +2399,7 @@ namespace Posix {
public int group_member (gid_t gid);
[CCode (cheader_filename = "unistd.h")]
public pid_t setsid ();
- [CCode (cheader_filename = "unistd.h")]
+ [CCode (cheader_filename = "termios.h", feature_test_macro = "_GNU_SOURCE")]
public pid_t tcgetsid (int fd);
[CCode (cheader_filename = "unistd.h")]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]