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.2-print-heredoc.patch |
Date: | Fri, 29 Apr 2011 22:54:43 |
Message-Id: | 20110429225434.7CCD620054@flycatcher.gentoo.org |
1 | vapier 11/04/29 22:54:34 |
2 | |
3 | Added: bash-4.2-print-heredoc.patch |
4 | Log: |
5 | Add fix from upstream for heredocs printing #363371 by Andrey Hippo. |
6 | |
7 | (Portage version: 2.2.0_alpha28/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 app-shells/bash/files/bash-4.2-print-heredoc.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-shells/bash/files/bash-4.2-print-heredoc.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-shells/bash/files/bash-4.2-print-heredoc.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: bash-4.2-print-heredoc.patch |
16 | =================================================================== |
17 | http://lists.gnu.org/archive/html/bug-bash/2011-04/msg00058.html |
18 | http://bugs.gentoo.org/363371 |
19 | |
20 | *** ../bash-4.2-patched/print_cmd.c 2010-05-30 18:34:08.000000000 -0400 |
21 | --- print_cmd.c 2011-04-14 10:43:18.000000000 -0400 |
22 | *************** |
23 | *** 316,319 **** |
24 | --- 317,321 ---- |
25 | skip_this_indent++; |
26 | make_command_string_internal (command->value.Subshell->command); |
27 | + PRINT_DEFERRED_HEREDOCS (""); |
28 | cprintf (" )"); |
29 | break; |
30 | *************** |
31 | *** 593,596 **** |
32 | --- 606,610 ---- |
33 | indentation += indentation_amount; |
34 | make_command_string_internal (arith_for_command->action); |
35 | + PRINT_DEFERRED_HEREDOCS (""); |
36 | semicolon (); |
37 | indentation -= indentation_amount; |
38 | *************** |
39 | *** 654,657 **** |
40 | --- 668,672 ---- |
41 | |
42 | make_command_string_internal (group_command->command); |
43 | + PRINT_DEFERRED_HEREDOCS (""); |
44 | |
45 | if (inside_function_def) |