AboutSummaryRefsLogTreeCommitDiffStats
path: root/mcron.c.template
diff options
context:
space:
mode:
authorDale Mellor <dale@rdmp.org>2014-04-28 11:47:55 +0100
committerDale Mellor <dale@rdmp.org>2014-04-28 13:03:28 +0100
commitc45e7c447bf1d95247225d1c70e0ce593cba2ddf (patch)
treebfef67d482ed783a8608bad7aec689109ef03942 /mcron.c.template
parentbd5a58ac2fc1fa435a499c0dd8e6f779e68551c0 (diff)
downloadmcron-1.0.7.tar.gz
mcron-1.0.7.tar.bz2
mcron-1.0.7.zip
Now runs (only) against guile-2.0.1.0.7
Diffstat (limited to 'mcron.c.template')
-rw-r--r--mcron.c.template10
1 files changed, 5 insertions, 5 deletions
diff --git a/mcron.c.template b/mcron.c.template
index cba503e..e9a755d 100644
--- a/mcron.c.template
+++ b/mcron.c.template
@@ -1,6 +1,6 @@
/* -*-c-*- */
/*
- * Copyright (C) 2003 Dale Mellor
+ * Copyright (C) 2003, 2014 Dale Mellor
*
* This file is part of GNU mcron.
*
@@ -66,7 +66,7 @@
void
react_to_terminal_signal (int sig)
{
- scm_eval_string (scm_take0str ("(delete-run-file)") );
+ scm_c_eval_string ("(delete-run-file)");
exit (1);
}
@@ -100,9 +100,9 @@ inner_main ()
{
scm_c_define_gsubr ("c-set-cron-signals", 0, 0, 0, set_cron_signals);
- scm_eval_string (scm_take0str (
- GUILE_PROGRAM_GOES_HERE
- ) );
+ scm_c_eval_string (
+ GUILE_PROGRAM_GOES_HERE
+ );
}