[gnome-builder/wip/chergert/git-oop: 1/2] clang: ignore SIGPIPE in worker
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/chergert/git-oop: 1/2] clang: ignore SIGPIPE in worker
- Date: Mon, 25 Feb 2019 23:13:40 +0000 (UTC)
commit c5ce48bc8510c98640a3045fca8669a6f78eb862
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]