[glib/trash-check] fixup! trash portal: Fix permission checks
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/trash-check] fixup! trash portal: Fix permission checks
- Date: Mon, 4 Mar 2019 18:40:22 +0000 (UTC)
commit 58285aa10ae2c2717dba1928553d098f928e947d
Author: Matthias Clasen <mclasen redhat com>
Date: Mon Mar 4 13:40:02 2019 -0500
fixup! trash portal: Fix permission checks
gio/gtrashportal.c | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/gio/gtrashportal.c b/gio/gtrashportal.c
index 1e63f3078..b6aca37a6 100644
--- a/gio/gtrashportal.c
+++ b/gio/gtrashportal.c
@@ -37,6 +37,10 @@
#define HAVE_O_CLOEXEC 1
#endif
+#ifndef O_PATH
+#define O_PATH 0
+#endif
+
static GXdpTrash *
ensure_trash_portal (void)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]