From 680d15e19f2b8f7b6ee1535f923e7be6a95c4358 Mon Sep 17 00:00:00 2001 From: Chet Ramey Date: Tue, 22 Nov 2011 20:01:00 -0500 Subject: [PATCH] Bash-4.2 patch 10 --- patchlevel.h | 2 +- print_cmd.c | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/patchlevel.h b/patchlevel.h index e7410c4..69439cb 100644 --- a/patchlevel.h +++ b/patchlevel.h @@ -25,6 +25,6 @@ regexp `^#define[ ]*PATCHLEVEL', since that's what support/mkversion.sh looks for to find the patch level (for the sccs version string). */ -#define PATCHLEVEL 9 +#define PATCHLEVEL 10 #endif /* _PATCHLEVEL_H_ */ diff --git a/print_cmd.c b/print_cmd.c index 0d646ec..cd54b2f 100644 --- a/print_cmd.c +++ b/print_cmd.c @@ -315,6 +315,7 @@ make_command_string_internal (command) cprintf ("( "); skip_this_indent++; make_command_string_internal (command->value.Subshell->command); + PRINT_DEFERRED_HEREDOCS (""); cprintf (" )"); break; @@ -592,6 +593,7 @@ print_arith_for_command (arith_for_command) newline ("do\n"); indentation += indentation_amount; make_command_string_internal (arith_for_command->action); + PRINT_DEFERRED_HEREDOCS (""); semicolon (); indentation -= indentation_amount; newline ("done"); @@ -653,6 +655,7 @@ print_group_command (group_command) } make_command_string_internal (group_command->command); + PRINT_DEFERRED_HEREDOCS (""); if (inside_function_def) { -- 2.7.4