[tracker: 1/2] libtracker-common: Replace pipe2() with g_unix_open_pipe()
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker: 1/2] libtracker-common: Replace pipe2() with g_unix_open_pipe()
- Date: Wed, 14 Apr 2021 20:48:39 +0000 (UTC)
commit ebbb0bb5c59a82d3b851270d1efe26ffa3c75435
Author: Daniele Nicolodi <daniele grinta net>
Date: Wed Apr 14 21:51:52 2021 +0200
libtracker-common: Replace pipe2() with g_unix_open_pipe()
This allows to compile Tracker on macOS.
src/libtracker-common/tracker-term-utils.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/libtracker-common/tracker-term-utils.c b/src/libtracker-common/tracker-term-utils.c
index 0089fd3a6..0ccc243d4 100644
--- a/src/libtracker-common/tracker-term-utils.c
+++ b/src/libtracker-common/tracker-term-utils.c
@@ -157,7 +157,7 @@ tracker_term_pipe_to_pager (void)
if (!tracker_term_is_tty ())
return FALSE;
- if (pipe2 (fds, O_CLOEXEC) < 0)
+ if (g_unix_open_pipe (fds, FD_CLOEXEC, NULL) < 0)
return FALSE;
pager_command = best_pager ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]