Revision: 22896 http://trac.macosforge.org/projects/launchd/changeset/22896 Author: zarzycki@apple.com Date: 2006-10-16 10:34:18 -0700 (Mon, 16 Oct 2006) Log Message: ----------- All curly braces. All the time. 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-16 17:15:04 UTC (rev 22895) +++ trunk/launchd/src/launchd_core_logic.c 2006-10-16 17:34:18 UTC (rev 22896) @@ -330,14 +330,17 @@ struct machservice *ms; struct watchpath *wp; - SLIST_FOREACH(sg, &j->sockets, sle) + SLIST_FOREACH(sg, &j->sockets, sle) { socketgroup_ignore(j, sg); + } - SLIST_FOREACH(wp, &j->vnodes, sle) + SLIST_FOREACH(wp, &j->vnodes, sle) { watchpath_ignore(j, wp); + } - SLIST_FOREACH(ms, &j->machservices, sle) + SLIST_FOREACH(ms, &j->machservices, sle) { job_assumes(j, runtime_remove_mport(ms->port) == KERN_SUCCESS); + } } void @@ -347,14 +350,17 @@ struct machservice *ms; struct watchpath *wp; - SLIST_FOREACH(sg, &j->sockets, sle) + SLIST_FOREACH(sg, &j->sockets, sle) { socketgroup_watch(j, sg); + } - SLIST_FOREACH(wp, &j->vnodes, sle) + SLIST_FOREACH(wp, &j->vnodes, sle) { watchpath_watch(j, wp); + } - SLIST_FOREACH(ms, &j->machservices, sle) + SLIST_FOREACH(ms, &j->machservices, sle) { job_assumes(j, runtime_add_mport(ms->port, NULL, 0) == KERN_SUCCESS); + } } void
participants (1)
-
source_changes@macosforge.org