From owner-svn-src-head@freebsd.org Sat Mar 11 20:45:48 2017 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CCCF7D08163; Sat, 11 Mar 2017 20:45:48 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 86C69199A; Sat, 11 Mar 2017 20:45:48 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by freefall.freebsd.org (Postfix) with ESMTPS id C45184FD4; Sat, 11 Mar 2017 20:45:47 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (localhost [172.31.3.2]) by mail.xzibition.com (Postfix) with ESMTP id E78552EE68; Sat, 11 Mar 2017 20:45:39 +0000 (UTC) X-Virus-Scanned: amavisd-new at mail.xzibition.com Received: from mail.xzibition.com ([172.31.3.2]) by mail.xzibition.com (mail.xzibition.com [172.31.3.2]) (amavisd-new, port 10026) with LMTP id OeNdf-iThNKm; Sat, 11 Mar 2017 20:45:30 +0000 (UTC) Subject: Re: svn commit: r315088 - head/contrib/bmake DKIM-Filter: OpenDKIM Filter v2.9.2 mail.xzibition.com 5C38D2EE61 To: "Simon J. Gerraty" , src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org References: <201703112028.v2BKSV6t040367@repo.freebsd.org> From: Bryan Drewery Openpgp: id=F9173CB2C3AAEA7A5C8A1F0935D771BB6E4697CF; url=http://www.shatow.net/bryan/bryan2.asc Organization: FreeBSD Message-ID: <31270398-9087-95ee-37fa-a8041e431c36@FreeBSD.org> Date: Sat, 11 Mar 2017 12:45:44 -0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <201703112028.v2BKSV6t040367@repo.freebsd.org> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="WA0NdjVvNmtAIT3dsjOkWhDmVlS83UHSP" X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.23 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: Sat, 11 Mar 2017 20:45:48 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --WA0NdjVvNmtAIT3dsjOkWhDmVlS83UHSP Content-Type: multipart/mixed; boundary="n60lJjWGPsLllC5IVRm5KLr8H4IbMJiav"; protected-headers="v1" From: Bryan Drewery To: "Simon J. Gerraty" , src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Message-ID: <31270398-9087-95ee-37fa-a8041e431c36@FreeBSD.org> Subject: Re: svn commit: r315088 - head/contrib/bmake References: <201703112028.v2BKSV6t040367@repo.freebsd.org> In-Reply-To: <201703112028.v2BKSV6t040367@repo.freebsd.org> --n60lJjWGPsLllC5IVRm5KLr8H4IbMJiav Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 3/11/2017 12:28 PM, Simon J. Gerraty wrote: > Author: sjg > Date: Sat Mar 11 20:28:31 2017 > New Revision: 315088 > URL: https://svnweb.freebsd.org/changeset/base/315088 >=20 > Log: > Do not consider using -C arg "as is" for .CURDIR unless it starts wit= h /. > =20 > Reported by: bdrewery >=20 > Modified: > head/contrib/bmake/main.c >=20 > Modified: head/contrib/bmake/main.c > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > --- head/contrib/bmake/main.c Sat Mar 11 20:23:05 2017 (r315087) > +++ head/contrib/bmake/main.c Sat Mar 11 20:28:31 2017 (r315088) > @@ -458,7 +458,8 @@ rearg:=09 > (void)fprintf(stderr, "%s: %s.\n", progname, strerror(errno)); > exit(2); > } > - if (stat(argvalue, &sa) !=3D -1 && > + if (argvalue[0] =3D=3D '/' && > + stat(argvalue, &sa) !=3D -1 && > stat(curdir, &sb) !=3D -1 && > sa.st_ino =3D=3D sb.st_ino && > sa.st_dev =3D=3D sb.st_dev) >=20 Thank you! --=20 Regards, Bryan Drewery --n60lJjWGPsLllC5IVRm5KLr8H4IbMJiav-- --WA0NdjVvNmtAIT3dsjOkWhDmVlS83UHSP Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBAgAGBQJYxGH4AAoJEDXXcbtuRpfPfhUH/0bpHQEehbkQ9nb0IPaPHM81 GdHyDLdCASYCAr2YWOwI0aEpiJi1qfybFJMtvXBQhVJTOxusPgou5p0vxKdu0qui 5Zyy14p4r5m8ogl1+JhzyT1n644YWCESeXRdISaChr2z2JbUPkUJA6q9wfnD5jjQ BKzj0ngeLYQ6GnVg8JztcNba9XqQdGplt51/eUnE14/d0Amu4aGYH3Ebstyh8KGs bf6nsh4047yxKt9UcFNbpC/nM8P3aE4sOYdXkggPeXUwkIJBf3WKt3gXgzZnB1/Z BSSjqrAe5JD/fZz6A64iykTDjNOey+Tmlg1gepQNdGFr3M+ziAMB0YdpxktlVVI= =aN2i -----END PGP SIGNATURE----- --WA0NdjVvNmtAIT3dsjOkWhDmVlS83UHSP--