From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.43) id 1Dvefu-0002dH-Bh for garchives@archives.gentoo.org; Thu, 21 Jul 2005 17:17:34 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j6LHGhfM014753; Thu, 21 Jul 2005 17:16:43 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [134.68.220.30]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j6LHGghb011882 for ; Thu, 21 Jul 2005 17:16:43 GMT Received: from adsl-67-39-48-193.dsl.milwwi.ameritech.net ([67.39.48.193] helo=exodus) by smtp.gentoo.org with esmtpa (Exim 4.43) id 1DvefM-0000jn-U1 for gentoo-portage-dev@lists.gentoo.org; Thu, 21 Jul 2005 17:17:00 +0000 Date: Thu, 21 Jul 2005 12:17:01 -0500 From: "Brian D. Harring" To: gentoo-portage-dev@lists.gentoo.org Subject: Re: [gentoo-portage-dev] PATCH: Use lchown and lchgrp no-op functions when operating on symlinks (#99616) Message-ID: <20050721171701.GA27660@exodus> References: <200507212313.36804.jstubbs@gentoo.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-portage-dev@gentoo.org Reply-to: gentoo-portage-dev@lists.gentoo.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="3MwIy2ne0vdjdPXF" Content-Disposition: inline In-Reply-To: <200507212313.36804.jstubbs@gentoo.org> User-Agent: Mutt/1.5.8i X-Archives-Salt: ce6aad37-80b1-4c6c-9a29-cfa025494694 X-Archives-Hash: 5f309ecf7f507d86583be4770393fce9 --3MwIy2ne0vdjdPXF Content-Type: text/plain; charset=utf8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jul 21, 2005 at 11:13:34PM +0900, Jason Stubbs wrote: > diff -uNr portage-2.0.51.22-r2/bin/ebuild.sh portage-patched/bin/ebuild.sh > --- portage-2.0.51.22-r2/bin/ebuild.sh 2005-07-19 19:38:32.949904000 +0900 > +++ portage-patched/bin/ebuild.sh 2005-07-21 23:03:58.429898000 +0900 > @@ -85,6 +85,11 @@ > export SANDBOX_PREDICT=3D"$SANDBOX_PREDICT:$1" > } > =20 > +lchown() > +{ 0; } > + > +lchgrp() > +{ 0; } Default being negation of funcs, and forcing profiles to override it? Why not reverse it, a default func that works, with profiles=20 overriding if/when it doesn't work? ~harring --3MwIy2ne0vdjdPXF Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFC39iNvdBxRoA3VU0RAruzAKDbT66NlAjs3PEfAvSbjEajxP/AAwCfdBxB xGq/xEZUSKEpKuwxmXAjqUw= =nLzc -----END PGP SIGNATURE----- --3MwIy2ne0vdjdPXF-- -- gentoo-portage-dev@gentoo.org mailing list