From owner-p4-projects@FreeBSD.ORG Mon Jul 11 04:53:49 2005 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id AC1B216A420; Mon, 11 Jul 2005 04:53:48 +0000 (GMT) X-Original-To: perforce@freebsd.org Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6B50D16A41C for ; Mon, 11 Jul 2005 04:53:48 +0000 (GMT) (envelope-from soc-tyler@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3922743D49 for ; Mon, 11 Jul 2005 04:53:48 +0000 (GMT) (envelope-from soc-tyler@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j6B4rmuH070325 for ; Mon, 11 Jul 2005 04:53:48 GMT (envelope-from soc-tyler@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j6B4rlvO070322 for perforce@freebsd.org; Mon, 11 Jul 2005 04:53:47 GMT (envelope-from soc-tyler@freebsd.org) Date: Mon, 11 Jul 2005 04:53:47 GMT Message-Id: <200507110453.j6B4rlvO070322@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to soc-tyler@freebsd.org using -f From: soc-tyler To: Perforce Change Reviews Cc: Subject: PERFORCE change 79960 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jul 2005 04:53:49 -0000 http://perforce.freebsd.org/chv.cgi?CH=79960 Change 79960 by soc-tyler@soc-tyler_launchd on 2005/07/11 04:53:03 To init.c or not to init.c, oi Affected files ... .. //depot/projects/soc2005/launchd/Makefile#3 edit .. //depot/projects/soc2005/launchd/NOTES#4 edit .. //depot/projects/soc2005/launchd/init.c#2 edit Differences ... ==== //depot/projects/soc2005/launchd/Makefile#3 (text+ko) ==== @@ -2,7 +2,7 @@ # $FreeBSD$ PROG= launchd -SRCS= launchd.c liblaunch.c launchdebugd.c launchproxy.c +SRCS= launchd.c liblaunch.c launchdebugd.c launchproxy.c init.c MAN= launchd.conf.5 launchd.plist.5 init.8 launchd.8 \ launchd_debug.8 launchproxy.8 rc.8 service.8 ==== //depot/projects/soc2005/launchd/NOTES#4 (text+ko) ==== @@ -18,3 +18,7 @@ fixed to accomodate. + o Regarding init(8) I'm still wondering whether or not it'd be best to take the stock + FreeBSD init(8) code, or the code that zarzycki@ and NeXT have modified for + Mac OS X (and NeXTStep). i.e. Fresh start or hackery begets hackery... + ==== //depot/projects/soc2005/launchd/init.c#2 (text+ko) ==== @@ -57,11 +57,13 @@ * SUCH DAMAGE. */ +/* Mac OS specifics #include #include #include #include +*/ #include #include @@ -90,7 +92,9 @@ #include #include "launchd.h" +/* mach/Mac OS specific #include "bootstrap_internal.h" +*/ #define _PATH_RUNCOM "/etc/rc"