Modified: trunk/launchd/src/launchd_core_logic.c (23371 => 23372)
--- trunk/launchd/src/launchd_core_logic.c 2007-09-11 23:44:27 UTC (rev 23371)
+++ trunk/launchd/src/launchd_core_logic.c 2007-09-11 23:49:02 UTC (rev 23372)
@@ -2305,6 +2305,11 @@
return;
}
+ /*
+ * Some users adjust the wall-clock and then expect software to not notice.
+ * Therefore, launchd must use an absolute clock instead of gettimeofday()
+ * or time() wherever possible.
+ */
td = (tnow - j->start_time) * tbi.numer / tbi.denom;
td /= NSEC_PER_SEC;