<rdar://problem/5025941> launchd passess BonjourFDs on checkin
--- trunk/launchd/src/launchd_core_logic.c 2007-02-27 18:27:04 UTC (rev 23111)
+++ trunk/launchd/src/launchd_core_logic.c 2007-02-27 18:34:14 UTC (rev 23112)
@@ -486,6 +486,9 @@
int i;
SLIST_FOREACH(sg, &j->sockets, sle) {
+ if (sg->junkfds) {
+ continue;
+ }
if ((tmp2 = launch_data_alloc(LAUNCH_DATA_ARRAY))) {
for (i = 0; i < sg->fd_cnt; i++) {
if ((tmp3 = launch_data_new_fd(sg->fds[i]))) {