From c45e7c447bf1d95247225d1c70e0ce593cba2ddf Mon Sep 17 00:00:00 2001 From: Dale Mellor Date: Mon, 28 Apr 2014 11:47:55 +0100 Subject: Now runs (only) against guile-2.0. --- mcron.c.template | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'mcron.c.template') 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 + ); } -- cgit v1.2.3