diff options
author | Gerald Combs <gerald@wireshark.org> | 2018-03-08 09:32:51 -0800 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2018-03-08 18:24:45 +0000 |
commit | dbfd53cd60ed9f748b25a293a36893ee828f89d4 (patch) | |
tree | f487ec6dcab7c42cf18e103c5a113bba5f357109 /wireshark-qt.cpp | |
parent | ce46a023cf233b376107f46709f7b2a42a0c3c3f (diff) |
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 <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'wireshark-qt.cpp')
-rw-r--r-- | wireshark-qt.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
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 <glib.h> -#ifdef Q_OS_UNIX -#include <signal.h> -#endif - #include <locale.h> #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); |