[launchd-changes] [23105] trunk/launchd/src/launchd_core_logic.c

source_changes at macosforge.org source_changes at macosforge.org
Fri Feb 23 11:44:36 PST 2007


Revision: 23105
          http://trac.macosforge.org/projects/launchd/changeset/23105
Author:   zarzycki at apple.com
Date:     2007-02-23 11:44:35 -0800 (Fri, 23 Feb 2007)

Log Message:
-----------
<rdar://problem/4798263> Documentation of launchd.plist does not specify month is 0-11

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

Modified: trunk/launchd/src/launchd_core_logic.c
===================================================================
--- trunk/launchd/src/launchd_core_logic.c	2007-02-23 17:40:11 UTC (rev 23104)
+++ trunk/launchd/src/launchd_core_logic.c	2007-02-23 19:44:35 UTC (rev 23105)
@@ -2660,6 +2660,7 @@
 	}
 	if ((tmp_k = launch_data_dict_lookup(obj, LAUNCH_JOBKEY_CAL_MONTH))) {
 		tmptm.tm_mon = launch_data_get_integer(tmp_k);
+		tmptm.tm_mon -= 1; /* 4798263 cron compatibility */
 	}
 
 	return calendarinterval_new(j, &tmptm);

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


More information about the launchd-changes mailing list