AboutSummaryRefsLogTreeCommitDiffStats
path: root/mcron.c.template
diff options
context:
space:
mode:
authordale_mellor <dale_mellor>2003-07-20 15:52:35 +0000
committerdale_mellor <dale_mellor>2003-07-20 15:52:35 +0000
commit2c6cfc753d5c4a6116bcf24307371c33f49bcfd1 (patch)
tree6d186a00c887d2061ac0d430bdf4b76bb41af83b /mcron.c.template
parent3a55e7e4684d33241d3e3162f3405d6d7cf37723 (diff)
downloadmcron-2c6cfc753d5c4a6116bcf24307371c33f49bcfd1.tar.gz
mcron-2c6cfc753d5c4a6116bcf24307371c33f49bcfd1.tar.bz2
mcron-2c6cfc753d5c4a6116bcf24307371c33f49bcfd1.zip
All changes from 0.99.1 to 0.99.2 pre-release.0.99.2
Diffstat (limited to 'mcron.c.template')
-rw-r--r--mcron.c.template16
1 files changed, 2 insertions, 14 deletions
diff --git a/mcron.c.template b/mcron.c.template
index 8277732..d99e492 100644
--- a/mcron.c.template
+++ b/mcron.c.template
@@ -1,3 +1,4 @@
+/* -*-c-*- */
/*
* Copyright (C) 2003 Dale Mellor
*
@@ -69,16 +70,6 @@ void react_to_terminal_signal (int sig)
-/* This is a function designed to be installed as a signal handler. It calls the
- scheme procedure to do all the work (see mcron.scm for details). */
-
-void react_to_hup_signal (int sig)
-{
- scm_eval_string (scm_take0str ("(process-hup)") );
-}
-
-
-
/* This is a function designed to be callable from scheme, and sets up all the
signal handlers required by the cron personality. */
@@ -90,10 +81,7 @@ SCM set_cron_signals ()
sigaction (SIGTERM, &sa, 0);
sigaction (SIGINT, &sa, 0);
sigaction (SIGQUIT, &sa, 0);
-
- static struct sigaction hup; hup = sa;
- hup.sa_handler = react_to_hup_signal;
- sigaction (SIGHUP, &hup, 0);
+ sigaction (SIGHUP, &sa, 0);
return SCM_BOOL_T;
}