diff options
| author | admin (centauri.fritz.box) <puppet@mx.buetow.org> | 2014-07-01 20:17:31 +0200 |
|---|---|---|
| committer | admin (centauri.fritz.box) <puppet@mx.buetow.org> | 2014-07-01 20:17:31 +0200 |
| commit | e5ff213596011443c467a5257ed6fe5847265d7f (patch) | |
| tree | b7322e71dd7f2fb1ff6824cb20acc706b84d06c5 /src/sign.cpp | |
| parent | 0b4ccf59b27f0a8de71b10120b50c916fdbc46a0 (diff) | |
| parent | 13aaf70af703748fe096e0664c305cd202637ad2 (diff) | |
Mergeychat-0.8
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); |
