[launchd-changes] [23844] branches/PR-6564965/launchd/src/launchctl.c

source_changes at macosforge.org source_changes at macosforge.org
Thu Feb 26 18:56:20 PST 2009


Revision: 23844
          http://trac.macosforge.org/projects/launchd/changeset/23844
Author:   dsorresso at apple.com
Date:     2009-02-26 18:56:19 -0800 (Thu, 26 Feb 2009)
Log Message:
-----------
Another bug fix.

Modified Paths:
--------------
    branches/PR-6564965/launchd/src/launchctl.c

Modified: branches/PR-6564965/launchd/src/launchctl.c
===================================================================
--- branches/PR-6564965/launchd/src/launchctl.c	2009-02-27 02:41:29 UTC (rev 23843)
+++ branches/PR-6564965/launchd/src/launchctl.c	2009-02-27 02:56:19 UTC (rev 23844)
@@ -746,6 +746,7 @@
 			CFMutableDictionaryRef job = (CFMutableDictionaryRef)CFDictionaryGetValue(g_job_overrides_db, label);
 			if( job && CFTypeCheck(job, CFDictionary) ) {
 				CFDictionarySetValue(job, CFSTR(LAUNCH_JOBKEY_DISABLED), load ? kCFBooleanFalse : kCFBooleanTrue);
+				CFDictionarySetValue((CFMutableDictionaryRef)plist, CFSTR(LAUNCH_JOBKEY_DISABLED), load ? kCFBooleanFalse : kCFBooleanTrue);
 				g_job_overrides_db_has_changed = true;
 			}
 		} else {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/launchd-changes/attachments/20090226/a3571ba1/attachment-0001.html>


More information about the launchd-changes mailing list