[launchd-changes] [23372] trunk/launchd/src/launchd_core_logic.c

source_changes at macosforge.org source_changes at macosforge.org
Tue Sep 11 16:49:03 PDT 2007


Revision: 23372
          http://trac.macosforge.org/projects/launchd/changeset/23372
Author:   zarzycki at apple.com
Date:     2007-09-11 16:49:02 -0700 (Tue, 11 Sep 2007)

Log Message:
-----------
Comments are good.

Modified Paths:
--------------
    trunk/launchd/src/launchd_core_logic.c

Modified: trunk/launchd/src/launchd_core_logic.c
===================================================================
--- 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;
 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/launchd-changes/attachments/20070911/a06ad1aa/attachment.html


More information about the launchd-changes mailing list