Gentoo Archives: gentoo-portage-dev

From: "Brian D. Harring" <ferringb@g.o>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] PATCH: Use lchown and lchgrp no-op functions when operating on symlinks (#99616)
Date: Thu, 21 Jul 2005 17:17:34
Message-Id: 20050721171701.GA27660@exodus
In Reply to: [gentoo-portage-dev] PATCH: Use lchown and lchgrp no-op functions when operating on symlinks (#99616) by Jason Stubbs
1 On Thu, Jul 21, 2005 at 11:13:34PM +0900, Jason Stubbs wrote:
2 > diff -uNr portage-2.0.51.22-r2/bin/ebuild.sh portage-patched/bin/ebuild.sh
3 > --- portage-2.0.51.22-r2/bin/ebuild.sh 2005-07-19 19:38:32.949904000 +0900
4 > +++ portage-patched/bin/ebuild.sh 2005-07-21 23:03:58.429898000 +0900
5 > @@ -85,6 +85,11 @@
6 > export SANDBOX_PREDICT="$SANDBOX_PREDICT:$1"
7 > }
8 >
9 > +lchown()
10 > +{ 0; }
11 > +
12 > +lchgrp()
13 > +{ 0; }
14 Default being negation of funcs, and forcing profiles to override it?
15 Why not reverse it, a default func that works, with profiles
16 overriding if/when it doesn't work?
17 ~harring

Replies