Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-apps/baselayout/files: baselayout-1.12.14-iproute.patch
Date: Sun, 03 Oct 2010 21:25:33
Message-Id: 20101003212530.3DD5E20054@flycatcher.gentoo.org
1 vapier 10/10/03 21:25:30
2
3 Added: baselayout-1.12.14-iproute.patch
4 Log:
5 Fix infinite recursion with ip invocation #339013 by Krzysztof Olędzki.
6
7 (Portage version: 2.2_rc86/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.1 sys-apps/baselayout/files/baselayout-1.12.14-iproute.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/baselayout/files/baselayout-1.12.14-iproute.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/baselayout/files/baselayout-1.12.14-iproute.patch?rev=1.1&content-type=text/plain
14
15 Index: baselayout-1.12.14-iproute.patch
16 ===================================================================
17 r3179 | vapier | 2010-10-03 17:20:25 -0400 (Sun, 03 Oct 2010) | 1 line
18
19 fix infinite recursion with ip invocation #339013 by Krzysztof Olędzki
20
21 Index: net-scripts/net/iproute2.sh
22 ===================================================================
23 --- lib/rcscripts/net/iproute2.sh (revision 3178)
24 +++ lib/rcscripts/net/iproute2.sh (revision 3179)
25 @@ -5,7 +5,8 @@
26 # Fix any potential localisation problems
27 # Note that LC_ALL trumps LC_anything_else according to locale(7)
28 ip() {
29 - LC_ALL=C ip "$@"
30 + # use the full path so we don't recurse into ip()
31 + LC_ALL=C $(type -P ip) "$@"
32 }
33 iproute2_tunnel() {
34 LC_ALL=C ip tunnel "$@"