[launchd-changes] [23383] trunk/launchd/src/launchd_core_logic.c
source_changes at macosforge.org
source_changes at macosforge.org
Thu Sep 13 16:43:47 PDT 2007
Revision: 23383
http://trac.macosforge.org/projects/launchd/changeset/23383
Author: zarzycki at apple.com
Date: 2007-09-13 16:43:46 -0700 (Thu, 13 Sep 2007)
Log Message:
-----------
<rdar://problem/5480998> Performance regression due to 5418922
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-13 22:42:46 UTC (rev 23382)
+++ trunk/launchd/src/launchd_core_logic.c 2007-09-13 23:43:46 UTC (rev 23383)
@@ -2341,7 +2341,7 @@
td = (tnow - j->start_time) * tbi.numer / tbi.denom;
td /= NSEC_PER_SEC;
- if (td < j->min_run_time && !j->legacy_mach_job && !j->inetcompat) {
+ if (j->start_time && (td < j->min_run_time) && !j->legacy_mach_job && !j->inetcompat) {
time_t respawn_delta = j->min_run_time - td;
/*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/launchd-changes/attachments/20070913/9260908c/attachment.html
More information about the launchd-changes
mailing list