From dbfd53cd60ed9f748b25a293a36893ee828f89d4 Mon Sep 17 00:00:00 2001 From: Gerald Combs Date: Thu, 8 Mar 2018 09:32:51 -0800 Subject: epan: Ignore SIGPIPE. We need to ignore SIGPIPE whenever we use maxmind_db. Do so in epan_init. Ping-Bug: 14494 Change-Id: I4372935e371a94c02a79050d59b2e3ee1ba04fee Reviewed-on: https://code.wireshark.org/review/26369 Petri-Dish: Gerald Combs Tested-by: Petri Dish Buildbot Reviewed-by: Gerald Combs --- wireshark-qt.cpp | 9 --------- 1 file changed, 9 deletions(-) (limited to 'wireshark-qt.cpp') diff --git a/wireshark-qt.cpp b/wireshark-qt.cpp index cdb5c2700c..7b73e204fa 100644 --- a/wireshark-qt.cpp +++ b/wireshark-qt.cpp @@ -11,10 +11,6 @@ #include -#ifdef Q_OS_UNIX -#include -#endif - #include #ifdef HAVE_GETOPT_H @@ -612,11 +608,6 @@ int main(int argc, char *qt_argv[]) wsApp->setLastOpenDir(get_persdatafile_dir()); } -#ifdef Q_OS_UNIX - // Replicates behavior in gtk_init(); - signal(SIGPIPE, SIG_IGN); -#endif - set_console_log_handler(); #if QT_VERSION >= QT_VERSION_CHECK(5, 0, 0) qInstallMessageHandler(g_log_message_handler); -- cgit v1.2.3