Gentoo Archives: gentoo-dev

From: Mike Frysinger <vapier@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] evar_push/pop helpers
Date: Mon, 17 Jun 2013 05:45:23
Message-Id: 201306170145.19923.vapier@gentoo.org
In Reply to: Re: [gentoo-dev] evar_push/pop helpers by Tom Wijsman
1 On Sunday 02 June 2013 03:48:17 Tom Wijsman wrote:
2 > On Sun, 2 Jun 2013 03:29:33 -0400 Mike Frysinger wrote:
3 > > except you aren't handling edge cases (like set vs unset)
4 >
5 > You've got me there, though this is quite an exception; I don't see
6 > why we have to introduce something that's barely used...
7 >
8 > `qgrep -eH '^\s*\bset\b' | wc -l`
9 > yields 150
10 >
11 > `qgrep -eH '^\s*\bset\b' | sed 's/:.*//g' | sed
12 > 's/\/[a-zA-Z0-9_.-]*$//g' | sort -u | wc -l`
13 > yields 34
14 >
15 > Only 34 packages, and do these all _really_ need a 'set'? I doubt it.
16
17 i've got at least 4 consumers in mind, and that's more than enough imo to
18 implement it right than half-ass it every time
19
20 > > > Much like fixing tiny bug and trying to
21 > > > avoid checking whether anything else is affected.
22 > >
23 > > yeah, because forcing specific behavior for an entire function is
24 > > always the correct answer. it's like telling people to export
25 > > LC_ALL=C in make.conf so they never hit locale related problems.
26 >
27 > Actually, bug wranglers stopped asked for English build logs because
28 > setting LC_ALL=C ended up breaking things.
29
30 i know it doesn't work which is why i was providing it as an example
31 -mike

Attachments

File name MIME type
signature.asc application/pgp-signature