summaryrefslogtreecommitdiff
path: root/src/rc/rc-applets.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2009-01-12 23:53:13 +0000
committerRoy Marples <roy@marples.name>2009-01-12 23:53:13 +0000
commit3d37005a3d0c9a90578fcb249b823f08a6c58f49 (patch)
tree005e0d07af432e9fa6723bfbcc315654929e6758 /src/rc/rc-applets.c
parent2243c013900f1d3d850acf066dde2e83f41b3ed9 (diff)
downloadopenrc-3d37005a3d0c9a90578fcb249b823f08a6c58f49.tar.gz
openrc-3d37005a3d0c9a90578fcb249b823f08a6c58f49.tar.bz2
openrc-3d37005a3d0c9a90578fcb249b823f08a6c58f49.tar.xz
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
Diffstat (limited to 'src/rc/rc-applets.c')
-rw-r--r--src/rc/rc-applets.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rc/rc-applets.c b/src/rc/rc-applets.c
index 57d0344..3d6ce90 100644
--- a/src/rc/rc-applets.c
+++ b/src/rc/rc-applets.c
@@ -7,7 +7,7 @@
*/
/*
- * Copyright 2007-2008 Roy Marples <roy@marples.name>
+ * Copyright 2007-2009 Roy Marples <roy@marples.name>
* All rights reserved
* Redistribution and use in source and binary forms, with or without
@@ -451,7 +451,7 @@ void run_applets(int argc, char **argv)
if (argc < 3)
exit (EXIT_FAILURE);
while (i < argc) {
- if (!rc_newer_than(argv[1], argv[i++]))
+ if (!rc_newer_than(argv[1], argv[i++], NULL, NULL))
exit(EXIT_SUCCESS);
}
exit(EXIT_FAILURE);
@@ -461,7 +461,7 @@ void run_applets(int argc, char **argv)
if (argc < 3)
exit (EXIT_FAILURE);
while (i < argc) {
- if (!rc_newer_than(argv[1], argv[i++]))
+ if (!rc_newer_than(argv[1], argv[i++], NULL, NULL))
exit(EXIT_FAILURE);
}
exit(EXIT_SUCCESS);