[launchd-changes] [23724] branches/PR-6248586

source_changes at macosforge.org source_changes at macosforge.org
Thu Oct 16 10:05:39 PDT 2008


Revision: 23724
          http://trac.macosforge.org/projects/launchd/changeset/23724
Author:   kvv at apple.com
Date:     2008-10-16 10:05:37 -0700 (Thu, 16 Oct 2008)
Log Message:
-----------
bring back config.h

Modified Paths:
--------------
    branches/PR-6248586/launchd/src/launchd.c
    branches/PR-6248586/launchd/src/launchd_core_logic.c
    branches/PR-6248586/launchd/src/launchd_runtime.c
    branches/PR-6248586/launchd/src/launchd_unix_ipc.c
    branches/PR-6248586/launchd/src/launchproxy.c
    branches/PR-6248586/launchd/src/libbootstrap.c
    branches/PR-6248586/launchd/src/liblaunch.c
    branches/PR-6248586/launchd/src/libvproc.c
    branches/PR-6248586/launchd.xcodeproj/project.pbxproj

Added Paths:
-----------
    branches/PR-6248586/launchd/src/config.h

Added: branches/PR-6248586/launchd/src/config.h
===================================================================
--- branches/PR-6248586/launchd/src/config.h	                        (rev 0)
+++ branches/PR-6248586/launchd/src/config.h	2008-10-16 17:05:37 UTC (rev 23724)
@@ -0,0 +1,7 @@
+#ifndef __CONFIG_H__
+#define __CONFIG_H__
+#include <TargetConfig.h>
+#define HAVE_QUARANTINE TARGET_HAVE_QUARANTINE
+#define HAVE_SANDBOX TARGET_HAVE_SANDBOX
+#define HAVE_SECURITY !TARGET_HAVE_EMBEDDED_SECURITY
+#endif /* __CONFIG_H__ */

Modified: branches/PR-6248586/launchd/src/launchd.c
===================================================================
--- branches/PR-6248586/launchd/src/launchd.c	2008-10-16 07:52:08 UTC (rev 23723)
+++ branches/PR-6248586/launchd/src/launchd.c	2008-10-16 17:05:37 UTC (rev 23724)
@@ -20,6 +20,7 @@
 
 static const char *const __rcs_file_version__ = "$Revision$";
 
+#include "config.h"
 #include "launchd.h"
 
 #if HAVE_SECURITY

Modified: branches/PR-6248586/launchd/src/launchd_core_logic.c
===================================================================
--- branches/PR-6248586/launchd/src/launchd_core_logic.c	2008-10-16 07:52:08 UTC (rev 23723)
+++ branches/PR-6248586/launchd/src/launchd_core_logic.c	2008-10-16 17:05:37 UTC (rev 23724)
@@ -18,6 +18,7 @@
 
 static const char *const __rcs_file_version__ = "$Revision$";
 
+#include "config.h"
 #include "launchd_core_logic.h"
 
 #include <TargetConditionals.h>

Modified: branches/PR-6248586/launchd/src/launchd_runtime.c
===================================================================
--- branches/PR-6248586/launchd/src/launchd_runtime.c	2008-10-16 07:52:08 UTC (rev 23723)
+++ branches/PR-6248586/launchd/src/launchd_runtime.c	2008-10-16 17:05:37 UTC (rev 23724)
@@ -20,6 +20,7 @@
 
 static const char *const __rcs_file_version__ = "$Revision$";
 
+#include "config.h"
 #include "launchd_runtime.h"
 
 #include <mach/mach.h>

Modified: branches/PR-6248586/launchd/src/launchd_unix_ipc.c
===================================================================
--- branches/PR-6248586/launchd/src/launchd_unix_ipc.c	2008-10-16 07:52:08 UTC (rev 23723)
+++ branches/PR-6248586/launchd/src/launchd_unix_ipc.c	2008-10-16 17:05:37 UTC (rev 23724)
@@ -20,6 +20,7 @@
 
 static const char *const __rcs_file_version__ = "$Revision$";
 
+#include "config.h"
 #include "launchd_unix_ipc.h"
 
 #include <sys/types.h>

Modified: branches/PR-6248586/launchd/src/launchproxy.c
===================================================================
--- branches/PR-6248586/launchd/src/launchproxy.c	2008-10-16 07:52:08 UTC (rev 23723)
+++ branches/PR-6248586/launchd/src/launchproxy.c	2008-10-16 17:05:37 UTC (rev 23724)
@@ -17,6 +17,7 @@
  * 
  * @APPLE_APACHE_LICENSE_HEADER_END@
  */
+#include "config.h"
 #if HAVE_SECURITY
 #include <Security/Authorization.h>
 #include <Security/AuthorizationTags.h>

Modified: branches/PR-6248586/launchd/src/libbootstrap.c
===================================================================
--- branches/PR-6248586/launchd/src/libbootstrap.c	2008-10-16 07:52:08 UTC (rev 23723)
+++ branches/PR-6248586/launchd/src/libbootstrap.c	2008-10-16 17:05:37 UTC (rev 23724)
@@ -18,6 +18,7 @@
  * @APPLE_APACHE_LICENSE_HEADER_END@
  */
 
+#include "config.h"
 #include "bootstrap.h"
 #include "bootstrap_priv.h"
 

Modified: branches/PR-6248586/launchd/src/liblaunch.c
===================================================================
--- branches/PR-6248586/launchd/src/liblaunch.c	2008-10-16 07:52:08 UTC (rev 23723)
+++ branches/PR-6248586/launchd/src/liblaunch.c	2008-10-16 17:05:37 UTC (rev 23724)
@@ -18,6 +18,7 @@
  * @APPLE_APACHE_LICENSE_HEADER_END@
  */
 
+#include "config.h"
 #include "launch.h"
 #include "launch_priv.h"
 #include "launch_internal.h"

Modified: branches/PR-6248586/launchd/src/libvproc.c
===================================================================
--- branches/PR-6248586/launchd/src/libvproc.c	2008-10-16 07:52:08 UTC (rev 23723)
+++ branches/PR-6248586/launchd/src/libvproc.c	2008-10-16 17:05:37 UTC (rev 23724)
@@ -18,6 +18,7 @@
  * @APPLE_APACHE_LICENSE_HEADER_END@
  */
 
+#include "config.h"
 #include "vproc.h"
 #include "vproc_priv.h"
 #include "vproc_internal.h"

Modified: branches/PR-6248586/launchd.xcodeproj/project.pbxproj
===================================================================
--- branches/PR-6248586/launchd.xcodeproj/project.pbxproj	2008-10-16 07:52:08 UTC (rev 23723)
+++ branches/PR-6248586/launchd.xcodeproj/project.pbxproj	2008-10-16 17:05:37 UTC (rev 23724)
@@ -239,6 +239,7 @@
 /* End PBXCopyFilesBuildPhase section */
 
 /* Begin PBXFileReference section */
+		721FBEA50EA7ABC40057462B /* config.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = config.h; path = launchd/src/config.h; sourceTree = "<group>"; };
 		FC3627DF0E9344BF0054F1A3 /* protocol_vproc.defs */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.mig; name = protocol_vproc.defs; path = launchd/src/protocol_vproc.defs; sourceTree = "<group>"; };
 		FC3628070E9345E10054F1A3 /* CoreFoundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreFoundation.framework; path = /System/Library/Frameworks/CoreFoundation.framework; sourceTree = "<absolute>"; };
 		FC36283E0E93463C0054F1A3 /* IOKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = IOKit.framework; path = /System/Library/Frameworks/IOKit.framework; sourceTree = "<absolute>"; };
@@ -383,6 +384,7 @@
 		FC59A04E0E8C883300D41150 /* launchd */ = {
 			isa = PBXGroup;
 			children = (
+				721FBEA50EA7ABC40057462B /* config.h */,
 				FC36291F0E9349410054F1A3 /* exc.defs */,
 				FC3629160E9348390054F1A3 /* protocol_job_reply.defs */,
 				FC36290C0E93475F0054F1A3 /* notify.defs */,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/launchd-changes/attachments/20081016/aaa90357/attachment.html 


More information about the launchd-changes mailing list