From f71b0b8310e6b297866147a11e3fd0dd5db13beb Mon Sep 17 00:00:00 2001 From: Mathieu Lirzin Date: Mon, 26 Mar 2018 16:56:40 +0200 Subject: job-specifier: Adapt 'bump-time' to 'next-...-from' procedures MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This is a follow-up to commit 913e3c65e4f56476e8ac69f4892cf92c125751ec. Since 'next-...-from' procedures now uses an '#:optional' argument instead of a dotted optional arguments list, 'bump-time' doesn't need to unwrap VALUE-LIST anymore. * src/mcron/job-specifier.scm (bump-time): Pass VALUE-LIST directly to '%find-best-next'. * tests/job-specifier.scm ("next-hour-from"): New test. * NEWS: Update. Reported-by: Ludovic Courtès --- NEWS | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index f27a92c..e76f4bb 100644 --- a/NEWS +++ b/NEWS @@ -10,6 +10,12 @@ GNU Mcron NEWS -*- outline -*- The programs now sets the GUILE_LOAD_PATH and GUILE_LOAD_COMPILED_PATH environment variables with the location of the installed Guile modules. + 'next-year-from', 'next-year', 'next-month-from', 'next-month', + 'next-day-from', 'next-day', 'next-hour-from', 'next-hour', + 'next-minute-from', 'next-minute', 'next-second-from', and 'next-second' no + longer crashes when passing an optional arguments. + [bug introduced in mcron-1.1] + ** Improvements Some basic tests for the installed programs can be run after 'make install' -- cgit v1.2.3