[gnome-builder] clang: ignore SIGPIPE in worker
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] clang: ignore SIGPIPE in worker
- Date: Mon, 25 Feb 2019 22:56:41 +0000 (UTC)
commit 07dc55b2ee44d9807ccae81e0046c3f9dd56a55b
Author: Christian Hergert <chergert redhat com>
Date: Mon Feb 25 14:55:44 2019 -0800
clang: ignore SIGPIPE in worker
src/plugins/clang/gnome-builder-clang.c | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/src/plugins/clang/gnome-builder-clang.c b/src/plugins/clang/gnome-builder-clang.c
index f16de61c1..c8684047c 100644
--- a/src/plugins/clang/gnome-builder-clang.c
+++ b/src/plugins/clang/gnome-builder-clang.c
@@ -896,6 +896,9 @@ main (gint argc,
g_autoptr(IdeClang) clang = NULL;
g_autoptr(GError) error = NULL;
+ /* Always ignore SIGPIPE */
+ signal (SIGPIPE, SIG_IGN);
+
/* redirect logging to stderr */
g_log_set_handler (NULL, G_LOG_LEVEL_MASK, log_handler_cb, NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]