96 |
//------------------------------------------------------------------------- |
//------------------------------------------------------------------------- |
97 |
// LADISH Level 1 support stuff. |
// LADISH Level 1 support stuff. |
98 |
|
|
99 |
#ifdef HAVE_SIGNAL_H |
#if defined(HAVE_SIGNAL_H) && defined(HAVE_SYS_SOCKET_H) |
100 |
|
|
101 |
#include <QSocketNotifier> |
#include <QSocketNotifier> |
102 |
|
|
202 |
|
|
203 |
m_iTimerSlot = 0; |
m_iTimerSlot = 0; |
204 |
|
|
205 |
#ifdef HAVE_SIGNAL_H |
#if defined(HAVE_SIGNAL_H) && defined(HAVE_SYS_SOCKET_H) |
206 |
|
|
207 |
// Set to ignore any fatal "Broken pipe" signals. |
// Set to ignore any fatal "Broken pipe" signals. |
208 |
::signal(SIGPIPE, SIG_IGN); |
::signal(SIGPIPE, SIG_IGN); |
403 |
WSACleanup(); |
WSACleanup(); |
404 |
#endif |
#endif |
405 |
|
|
406 |
#ifdef HAVE_SIGNAL_H |
#if defined(HAVE_SIGNAL_H) && defined(HAVE_SYS_SOCKET_H) |
407 |
if (m_pUsr1Notifier) |
if (m_pUsr1Notifier) |
408 |
delete m_pUsr1Notifier; |
delete m_pUsr1Notifier; |
409 |
#endif |
#endif |
691 |
// LADISH Level 1 -- SIGUSR1 signal handler. |
// LADISH Level 1 -- SIGUSR1 signal handler. |
692 |
void MainForm::handle_sigusr1 (void) |
void MainForm::handle_sigusr1 (void) |
693 |
{ |
{ |
694 |
#ifdef HAVE_SIGNAL_H |
#if defined(HAVE_SIGNAL_H) && defined(HAVE_SYS_SOCKET_H) |
695 |
|
|
696 |
char c; |
char c; |
697 |
|
|