forked from osmocom/wireshark
From Gisle Vanem <gvanem@broadpark.no>
Some signals needs to be ifdef'ed (missing on VC/MingW): git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@22658 f5534014-38df-0310-8fa8-9805f1628bb7
This commit is contained in:
parent
52b7f5f46c
commit
8e50b84e93
|
@ -249,9 +249,15 @@ int main(int argc, char** argv) {
|
|||
dprintf(2,"opened dumper file '%s'\n",outfile);
|
||||
|
||||
signal(SIGINT, sig_int);
|
||||
#ifdef SIGQUIT
|
||||
signal(SIGQUIT, sig_int);
|
||||
#endif
|
||||
#ifdef SIGTERM
|
||||
signal(SIGTERM, sig_int);
|
||||
#endif
|
||||
#ifdef SIGSTOP
|
||||
signal(SIGSTOP, sig_int);
|
||||
#endif
|
||||
|
||||
keep_going = 1;
|
||||
dumping = 0;
|
||||
|
|
Loading…
Reference in New Issue