From 26b346daf413d883f91a9ea6404a1127ef022b33 Mon Sep 17 00:00:00 2001 From: Apple Date: Wed, 27 May 2009 16:51:04 +0000 Subject: [PATCH] launchd-258.25.tar.gz --- launchd.xcodeproj/project.pbxproj | 2 ++ launchd/src/launchctl.c | 3 ++- launchd/src/launchd_core_logic.c | 4 +++- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/launchd.xcodeproj/project.pbxproj b/launchd.xcodeproj/project.pbxproj index 9e28dae..0747d30 100644 --- a/launchd.xcodeproj/project.pbxproj +++ b/launchd.xcodeproj/project.pbxproj @@ -50,6 +50,7 @@ /* End PBXAggregateTarget section */ /* Begin PBXBuildFile section */ + 33C2D68C0F8F2C7A00A21214 /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 721FBEBB0EA7AE2F0057462B /* Security.framework */; }; 721FBEBC0EA7AE2F0057462B /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 721FBEBB0EA7AE2F0057462B /* Security.framework */; }; 72B71B7D0EA7E98A00BFE986 /* exc.defs in Sources */ = {isa = PBXBuildFile; fileRef = FC36291F0E9349410054F1A3 /* exc.defs */; settings = {ATTRIBUTES = (Server, ); }; }; FC3627BA0E9343220054F1A3 /* StartupItems.c in Sources */ = {isa = PBXBuildFile; fileRef = FC59A0FD0E8C8ADF00D41150 /* StartupItems.c */; }; @@ -372,6 +373,7 @@ FCC841CC0EA7138700C01666 /* IOKit.framework in Frameworks */, FC3628080E9345E10054F1A3 /* CoreFoundation.framework in Frameworks */, FCD713740E95DE49001B0111 /* libedit.dylib in Frameworks */, + 33C2D68C0F8F2C7A00A21214 /* Security.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; diff --git a/launchd/src/launchctl.c b/launchd/src/launchctl.c index 4c943db..a766796 100644 --- a/launchd/src/launchctl.c +++ b/launchd/src/launchctl.c @@ -18,8 +18,9 @@ * @APPLE_APACHE_LICENSE_HEADER_END@ */ -static const char *const __rcs_file_version__ = "$Revision: 23792 $"; +static const char *const __rcs_file_version__ = "$Revision: 23887 $"; +#include "config.h" #include "launch.h" #include "launch_priv.h" #include "bootstrap.h" diff --git a/launchd/src/launchd_core_logic.c b/launchd/src/launchd_core_logic.c index 6565b24..ec29e12 100644 --- a/launchd/src/launchd_core_logic.c +++ b/launchd/src/launchd_core_logic.c @@ -16,7 +16,7 @@ * @APPLE_APACHE_LICENSE_HEADER_END@ */ -static const char *const __rcs_file_version__ = "$Revision: 23792 $"; +static const char *const __rcs_file_version__ = "$Revision: 23923 $"; #include "config.h" #include "launchd_core_logic.h" @@ -2653,6 +2653,8 @@ job_start(job_t j) job_assumes(j, runtime_close(oepair[1]) != -1); j->log_redirect_fd = 0; } + job_assumes(j, kevent_mod((uintptr_t)j, EVFILT_TIMER, EV_ADD|EV_ONESHOT, NOTE_SECONDS, 1, j) != -1); + job_ignore(j); break; case 0: if (_vproc_post_fork_ping()) { -- 2.47.2