From owner-svn-src-head@FreeBSD.ORG Tue Aug 13 19:37:53 2013 Return-Path: Delivered-To: svn-src-head@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 25F356D7; Tue, 13 Aug 2013 19:37:53 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: from mail.allbsd.org (gatekeeper.allbsd.org [IPv6:2001:2f0:104:e001::32]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id CA8132F77; Tue, 13 Aug 2013 19:37:51 +0000 (UTC) Received: from alph.d.allbsd.org (p2049-ipbf1102funabasi.chiba.ocn.ne.jp [122.26.101.49]) (authenticated bits=128) by mail.allbsd.org (8.14.5/8.14.5) with ESMTP id r7DJbT1K083053 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 14 Aug 2013 04:37:39 +0900 (JST) (envelope-from hrs@FreeBSD.org) Received: from localhost (localhost [IPv6:::1]) (authenticated bits=0) by alph.d.allbsd.org (8.14.5/8.14.5) with ESMTP id r7DJbSpF018203; Wed, 14 Aug 2013 04:37:29 +0900 (JST) (envelope-from hrs@FreeBSD.org) Date: Wed, 14 Aug 2013 04:36:25 +0900 (JST) Message-Id: <20130814.043625.854344935412527199.hrs@allbsd.org> To: gjb@FreeBSD.org Subject: Re: svn commit: r254217 - head/sys/conf From: Hiroki Sato In-Reply-To: <20130813175335.GR2432@glenbarber.us> References: <20130813171302.GQ2432@glenbarber.us> <1376415112.3320.229.camel@revolution.hippie.lan> <20130813175335.GR2432@glenbarber.us> X-PGPkey-fingerprint: BDB3 443F A5DD B3D0 A530 FFD7 4F2C D3D8 2793 CF2D X-Mailer: Mew version 6.5 on Emacs 24.3 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Multipart/Signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="--Security_Multipart(Wed_Aug_14_04_36_25_2013_914)--" Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.97.4 at gatekeeper.allbsd.org X-Virus-Status: Clean X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (mail.allbsd.org [133.31.130.32]); Wed, 14 Aug 2013 04:37:39 +0900 (JST) X-Spam-Status: No, score=-90.6 required=13.0 tests=CONTENT_TYPE_PRESENT, DIRECTOCNDYN,DYN_PBL,RCVD_IN_PBL,SPF_SOFTFAIL,USER_IN_WHITELIST autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on gatekeeper.allbsd.org Cc: svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org, ian@FreeBSD.org X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Aug 2013 19:37:53 -0000 ----Security_Multipart(Wed_Aug_14_04_36_25_2013_914)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Glen Barber wrote in <20130813175335.GR2432@glenbarber.us>: gj> On Tue, Aug 13, 2013 at 11:31:52AM -0600, Ian Lepore wrote: gj> > I'm not even sure what $0 *should* expand to in a script that was gj> > sourced in. The manpage doesn't say anything meaningful to me about it. gj> > Maybe it's a kind of "indeterminate results" thing which is pretty much gj> > what we're seeing. gj> > gj> gj> When the file is sourced, it should expand to the name of the file gj> sourcing the file. It is sourced in the osreldate.h target in Makefile, so $0 will be /bin/sh. Why $0 is used here in the first place? The previous version used $SYSDIR and it looks more reasonable to me. -- Hiroki ----Security_Multipart(Wed_Aug_14_04_36_25_2013_914)-- Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.13 (FreeBSD) iEYEABECAAYFAlIKirkACgkQTyzT2CeTzy2WAQCgjFEeNN3Gh2QLjYaRlyZU2/Qw jaIAnjqWuSDq0Ptq9HgolvBV6IlqmnF4 =quWS -----END PGP SIGNATURE----- ----Security_Multipart(Wed_Aug_14_04_36_25_2013_914)----