From 3d37005a3d0c9a90578fcb249b823f08a6c58f49 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Mon, 12 Jan 2009 23:53:13 +0000 Subject: We now warn about clock skews rc-update -u will force a regen of the dep tree rc_newer_than and rc_olderthan now take another two parameters for newest/oldest file and mtime --- src/rc/runscript.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/rc/runscript.c') diff --git a/src/rc/runscript.c b/src/rc/runscript.c index e5077d8..b7e9f35 100644 --- a/src/rc/runscript.c +++ b/src/rc/runscript.c @@ -4,7 +4,7 @@ */ /* - * Copyright 2007-2008 Roy Marples + * Copyright 2007-2009 Roy Marples * All rights reserved * Redistribution and use in source and binary forms, with or without @@ -748,7 +748,7 @@ svc_start(bool deps) depoptions |= RC_DEP_STRICT; if (deps) { - if (!deptree && ((deptree = _rc_deptree_load(NULL)) == NULL)) + if (!deptree && ((deptree = _rc_deptree_load(0, NULL)) == NULL)) eerrorx("failed to load deptree"); if (!types_b) setup_types(); @@ -977,7 +977,7 @@ svc_stop(bool deps) if (rc_conf_yesno("rc_depend_strict") || errno == ENOENT) depoptions |= RC_DEP_STRICT; - if (!deptree && ((deptree = _rc_deptree_load(NULL)) == NULL)) + if (!deptree && ((deptree = _rc_deptree_load(0, NULL)) == NULL)) eerrorx("failed to load deptree"); if (!types_m) @@ -1368,7 +1368,7 @@ runscript(int argc, char **argv) depoptions |= RC_DEP_STRICT; if (!deptree && - ((deptree = _rc_deptree_load(NULL)) == NULL)) + ((deptree = _rc_deptree_load(0, NULL)) == NULL)) eerrorx("failed to load deptree"); tmplist = rc_stringlist_new(); -- cgit v1.2.3