Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-shells/bash/files: bash-4.0-comsub-herestring.patch
Date: Fri, 27 Feb 2009 00:43:40
Message-Id: E1LcqpG-0002UL-IU@stork.gentoo.org
1 vapier 09/02/27 00:43:38
2
3 Added: bash-4.0-comsub-herestring.patch
4 Log:
5 Fix from upstream for regression with subshells/herestrings found via revdep-rebuild script.
6 (Portage version: 2.2_rc23/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.1 app-shells/bash/files/bash-4.0-comsub-herestring.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-shells/bash/files/bash-4.0-comsub-herestring.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-shells/bash/files/bash-4.0-comsub-herestring.patch?rev=1.1&content-type=text/plain
13
14 Index: bash-4.0-comsub-herestring.patch
15 ===================================================================
16 http://lists.gnu.org/archive/html/bug-bash/2009-02/msg00230.html
17
18 *** ../bash-4.0/parse.y 2009-01-08 08:29:12.000000000 -0500
19 --- parse.y 2009-02-26 17:22:15.000000000 -0500
20 ***************
21 *** 3395,3400 ****
22 else
23 shell_ungetc (peekc);
24 ! tflags |= LEX_HEREDELIM;
25 ! lex_firstind = -1;
26 continue;
27 }
28 --- 3402,3410 ----
29 else
30 shell_ungetc (peekc);
31 ! if (peekc != '<')
32 ! {
33 ! tflags |= LEX_HEREDELIM;
34 ! lex_firstind = -1;
35 ! }
36 continue;
37 }