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

source_changes at macosforge.org source_changes at macosforge.org
Thu Mar 27 14:42:31 PDT 2008


Revision: 23576
          http://trac.macosforge.org/projects/launchd/changeset/23576
Author:   zarzycki at apple.com
Date:     2008-03-27 14:42:31 -0700 (Thu, 27 Mar 2008)

Log Message:
-----------
<rdar://problem/5817359> 10.5.3 Regression: 9D8: After installing Final Cut Studio 2, machine fails to restart

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

Modified: trunk/launchd/src/launchd_core_logic.c
===================================================================
--- trunk/launchd/src/launchd_core_logic.c	2008-03-27 21:40:32 UTC (rev 23575)
+++ trunk/launchd/src/launchd_core_logic.c	2008-03-27 21:42:31 UTC (rev 23576)
@@ -4128,7 +4128,7 @@
 	 * We definitely need to revisit this after Leopard ships. Please see
 	 * launchctl.c for the other half of this hack.
 	 */
-	if (unlikely(j->mgr->global_on_demand_cnt > 0 && is_not_kextd)) {
+	if (unlikely((j->mgr->shutting_down || j->mgr->global_on_demand_cnt > 0) && is_not_kextd)) {
 		return false;
 	}
 

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


More information about the launchd-changes mailing list