diff options
| author | admin (centauri.fritz.box) <puppet@mx.buetow.org> | 2014-07-01 20:17:01 +0200 |
|---|---|---|
| committer | admin (centauri.fritz.box) <puppet@mx.buetow.org> | 2014-07-01 20:17:01 +0200 |
| commit | 174529af9197d99d2c5e8f75798fb6d6d9247254 (patch) | |
| tree | 7bdb29f9391b5a3d3629bba3ebec1ca7832b3c9c /src/sign.cpp | |
| parent | 751eada68e49f9ffae9a0be743d88a3ce956883f (diff) | |
| parent | 6fde6b0fe90abde84011202edd40fe46eb06af44 (diff) | |
Diffstat (limited to 'src/sign.cpp')
| -rw-r--r-- | src/sign.cpp | 18 |
1 files changed, 4 insertions, 14 deletions
diff --git a/src/sign.cpp b/src/sign.cpp index 77701e7..a85c3fc 100644 --- a/src/sign.cpp +++ b/src/sign.cpp @@ -1,7 +1,7 @@ /*:* *: File: ./src/sign.cpp *: - *: yChat; Homepage: www.yChat.org; Version 0.7.9.5-RELEASE + *: yChat; Homepage: www.yChat.org; Version 0.8.3-CURRENT *: *: Copyright (C) 2003 Paul C. Buetow, Volker Richter *: Copyright (C) 2004 Paul C. Buetow @@ -52,21 +52,9 @@ sign::sigsev_received(int i_param) void sign::terminate_received(int i_param) { - -#ifdef NCURSES - //<<* - if ( ! wrap::GCOL->remove_garbage() ) - wrap::NCUR->print( GAROFFNE ); - //*>> - - mvprintw( 21,2, "Good bye !"); - wrap::NCUR->close_ncurses(); - //<<* -#else wrap::GCOL->remove_garbage(); //*>> -#endif exit(0); } @@ -81,8 +69,10 @@ sign::init_signal_handlers() signal(SIGUSR1, clean_template_cache); signal(SIGUSR2, reload_dlopen_modules); //<< #ifdef CTCSEGV - signal(SIGSEGV, sigsev_received); + + signal(SIGSEGV, sigsev_received); #endif + signal(SIGHUP, terminate_received); signal(SIGINT, terminate_received); signal(SIGTERM, terminate_received); |
