diff options
author | Itay Grudev <itay@grudev.com> | 2016-07-10 01:11:55 +0100 |
---|---|---|
committer | Itay Grudev <itay@grudev.com> | 2016-07-10 01:11:55 +0100 |
commit | b459c9247b1b7fcd34c80b0ad0e08a1ad8ff7501 (patch) | |
tree | 8dc27b023c0a30a48f03aaf2ce7f5f532c60cdee /singleapplication.cpp | |
parent | Added CHANGELOG and version description (diff) | |
download | singleapplication-b459c9247b1b7fcd34c80b0ad0e08a1ad8ff7501.tar.xz |
Fixed signal formatting
Diffstat (limited to 'singleapplication.cpp')
-rw-r--r-- | singleapplication.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/singleapplication.cpp b/singleapplication.cpp index 7418479..56c0f9e 100644 --- a/singleapplication.cpp +++ b/singleapplication.cpp @@ -124,20 +124,20 @@ public: // Handle any further termination signals to ensure the // QSharedMemory block is deleted even if the process crashes - signal( SIGHUP, SingleApplicationPrivate::terminate ); // 1 - signal( SIGINT, SingleApplicationPrivate::terminate ); // 2 - signal( SIGQUIT, SingleApplicationPrivate::terminate ); // 3 - signal( SIGILL, SingleApplicationPrivate::terminate ); // 4 - signal( SIGABRT, SingleApplicationPrivate::terminate ); // 6 - signal( SIGFPE, SingleApplicationPrivate::terminate ); // 8 - signal( SIGBUS, SingleApplicationPrivate::terminate ); // 10 - signal( SIGSEGV, SingleApplicationPrivate::terminate ); // 11 - signal( SIGSYS, SingleApplicationPrivate::terminate ); // 12 - signal( SIGPIPE, SingleApplicationPrivate::terminate ); // 13 - signal( SIGALRM, SingleApplicationPrivate::terminate ); // 14 - signal( SIGTERM, SingleApplicationPrivate::terminate ); // 15 - signal( SIGXCPU, SingleApplicationPrivate::terminate ); // 24 - signal( SIGXFSZ, SingleApplicationPrivate::terminate ); // 25 + signal( SIGHUP, SingleApplicationPrivate::terminate ); // 1 + signal( SIGINT, SingleApplicationPrivate::terminate ); // 2 + signal( SIGQUIT, SingleApplicationPrivate::terminate ); // 3 + signal( SIGILL, SingleApplicationPrivate::terminate ); // 4 + signal( SIGABRT, SingleApplicationPrivate::terminate ); // 6 + signal( SIGFPE, SingleApplicationPrivate::terminate ); // 8 + signal( SIGBUS, SingleApplicationPrivate::terminate ); // 10 + signal( SIGSEGV, SingleApplicationPrivate::terminate ); // 11 + signal( SIGSYS, SingleApplicationPrivate::terminate ); // 12 + signal( SIGPIPE, SingleApplicationPrivate::terminate ); // 13 + signal( SIGALRM, SingleApplicationPrivate::terminate ); // 14 + signal( SIGTERM, SingleApplicationPrivate::terminate ); // 15 + signal( SIGXCPU, SingleApplicationPrivate::terminate ); // 24 + signal( SIGXFSZ, SingleApplicationPrivate::terminate ); // 25 } static void terminate( int signum ) |