[gtk+/gtk-2-18] Don't ignore SIGPIPE unless it exists
- From: Tor Lillqvist <tml src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-2-18] Don't ignore SIGPIPE unless it exists
- Date: Thu, 8 Oct 2009 12:44:09 +0000 (UTC)
commit 0ba0899b102a606bda99651858a5aa474a913163
Author: Tor Lillqvist <tml iki fi>
Date: Thu Oct 8 15:15:35 2009 +0300
Don't ignore SIGPIPE unless it exists
gtk/gtkmain.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkmain.c b/gtk/gtkmain.c
index 2bbc96d..645da6f 100644
--- a/gtk/gtkmain.c
+++ b/gtk/gtkmain.c
@@ -686,7 +686,9 @@ do_post_parse_initialization (int *argc,
gettext_initialization ();
+#ifdef SIGPIPE
signal (SIGPIPE, SIG_IGN);
+#endif
if (g_fatal_warnings)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]