[launchd-changes] [23767] trunk/launchd/src/launchd_core_logic.c
source_changes at macosforge.org
source_changes at macosforge.org
Thu Dec 18 16:32:26 PST 2008
Revision: 23767
http://trac.macosforge.org/projects/launchd/changeset/23767
Author: dsorresso at apple.com
Date: 2008-12-18 16:32:24 -0800 (Thu, 18 Dec 2008)
Log Message:
-----------
Fix for <rdar://problem/6453539>.
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-12-18 23:03:16 UTC (rev 23766)
+++ trunk/launchd/src/launchd_core_logic.c 2008-12-19 00:32:24 UTC (rev 23767)
@@ -5550,9 +5550,9 @@
} else if( bootstrapper && strncmp(session_type, VPROCMGR_SESSION_SYSTEM, sizeof(VPROCMGR_SESSION_SYSTEM)) == 0 ) {
if( jobmgr_assumes(jm, pid1_magic) ) {
/* Have our system bootstrapper print out to the console. */
- bootstrapper->stdoutpath = _PATH_CONSOLE;
+ bootstrapper->stdoutpath = strdup(_PATH_CONSOLE);
#if TARGET_OS_EMBEDDED
- bootstrapper->stderrpath = _PATH_CONSOLE;
+ bootstrapper->stderrpath = strdup(_PATH_CONSOLE);
#endif
}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/launchd-changes/attachments/20081218/5b7a1c50/attachment.html>
More information about the launchd-changes
mailing list