[launchd-changes] [22908] trunk/launchd/src/launchd_core_logic.c
source_changes at macosforge.org
source_changes at macosforge.org
Fri Oct 20 16:24:00 PDT 2006
Revision: 22908
http://trac.macosforge.org/projects/launchd/changeset/22908
Author: zarzycki at apple.com
Date: 2006-10-20 16:23:59 -0700 (Fri, 20 Oct 2006)
Log Message:
-----------
<rdar://problem/4795693> launchd-164 breaks LaunchServices-232.1, in that the uncork_fork() stuff doesn't work
Modified Paths:
--------------
trunk/launchd/src/launchd_core_logic.c
Modified: trunk/launchd/src/launchd_core_logic.c
===================================================================
--- trunk/launchd/src/launchd_core_logic.c 2006-10-19 22:44:06 UTC (rev 22907)
+++ trunk/launchd/src/launchd_core_logic.c 2006-10-20 23:23:59 UTC (rev 22908)
@@ -3951,6 +3951,11 @@
return BOOTSTRAP_NO_MEMORY;
}
+ if (!job_setup_machport(jr)) {
+ job_remove(jr);
+ return BOOTSTRAP_NO_MEMORY;
+ }
+
job_log(j, LOG_INFO, "Spawned with flags:%s%s",
flags & SPAWN_WANTS_FORCE_PPC ? " ppc": "",
flags & SPAWN_WANTS_WAIT4DEBUGGER ? " stopped": "");
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/launchd-changes/attachments/20061020/ca7bae3c/attachment.html
More information about the launchd-changes
mailing list