[prev in list] [next in list] [prev in thread] [next in thread] 

List:       launchd-changes
Subject:    [launchd-changes] [22922] trunk/launchd/src/libvproc.c
From:       source_changes () macosforge ! org (source_changes () macosforge ! org)
Date:       2006-10-26 12:02:40
Message-ID: 20061026185626.098C325AEB1 () cvs ! opensource ! apple ! com
[Download RAW message or body]

Revision: 22922
          http://trac.macosforge.org/projects/launchd/changeset/22922
Author:   zarzycki@apple.com
Date:     2006-10-26 11:56:25 -0700 (Thu, 26 Oct 2006)

Log Message:
-----------
<rdar://problem/4804995> Workaround 4802454 for now by stubbing out the API

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

Modified: trunk/launchd/src/libvproc.c
===================================================================
--- trunk/launchd/src/libvproc.c	2006-10-26 18:42:00 UTC (rev 22921)
+++ trunk/launchd/src/libvproc.c	2006-10-26 18:56:25 UTC (rev 22922)
@@ -134,11 +134,22 @@
 	return -1;
 }
 
+#if 0
 kern_return_t
-mpm_wait(mach_port_t ajob, int *wstatus)
+mpm_wait(mach_port_t ajob __attribute__((unused)), int *wstatus)
 {
+	/* Stubbed out for now...
+	 * <rdar://problem/4802454> CAS: WindowServer hangs in \
CGXProcessHIDEvent/.../CGXPseudoActivateWindow/.../_LSDoSetFrontProcess +	 */
 	return vproc_mig_wait(ajob, wstatus);
 }
+#else
+kern_return_t
+mpm_wait(mach_port_t ajob __attribute__((unused)), int *wstatus \
__attribute__((unused))) +{
+	return MIG_BAD_ID;
+}
+#endif
 
 kern_return_t
 mpm_uncork_fork(mach_port_t ajob)

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



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic