summaryrefslogtreecommitdiff
path: root/src/sign.cpp
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2013-04-06 13:14:45 +0200
committerPaul Buetow <paul@buetow.org>2013-04-06 13:14:45 +0200
commit9dcec1feba68dc5ba38cdc634f5bf113c0f77348 (patch)
tree1d3b0191f4377b0b93ebc67b989e4b8a4f9c3671 /src/sign.cpp
parentd34015c5ba231b95de20e9fcd7a33c5b2b9a1006 (diff)
tagging yhttpd-0.7.2yhttpd-0.7.2
Diffstat (limited to 'src/sign.cpp')
-rw-r--r--src/sign.cpp21
1 files changed, 1 insertions, 20 deletions
diff --git a/src/sign.cpp b/src/sign.cpp
index 584b5f7..ad3e02a 100644
--- a/src/sign.cpp
+++ b/src/sign.cpp
@@ -9,13 +9,6 @@ sign::clean_template_cache(int i_param)
wrap::HTML->clear_cache();
}
-//<<*
-void
-sign::reload_dlopen_modules(int i_param)
-{
- wrap::MODL->reload_modules();
-}
-//*>>
#ifdef CTCSEGV
void
@@ -30,19 +23,10 @@ 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);
@@ -56,12 +40,9 @@ sign::init_signal_handlers()
signal(SIGPIPE, SIG_IGN);
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);