Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Mar 2017 12:45:44 -0800
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        "Simon J. Gerraty" <sjg@FreeBSD.org>, src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r315088 - head/contrib/bmake
Message-ID:  <31270398-9087-95ee-37fa-a8041e431c36@FreeBSD.org>
In-Reply-To: <201703112028.v2BKSV6t040367@repo.freebsd.org>
References:  <201703112028.v2BKSV6t040367@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--WA0NdjVvNmtAIT3dsjOkWhDmVlS83UHSP
Content-Type: multipart/mixed; boundary="n60lJjWGPsLllC5IVRm5KLr8H4IbMJiav";
 protected-headers="v1"
From: Bryan Drewery <bdrewery@FreeBSD.org>
To: "Simon J. Gerraty" <sjg@FreeBSD.org>, 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?31270398-9087-95ee-37fa-a8041e431c36>