From: Chet Ramey Date: Wed, 23 Nov 2011 01:01:00 +0000 (-0500) Subject: Bash-4.2 patch 10 X-Git-Tag: bash-4.3~37 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=680d15e19f2b8f7b6ee1535f923e7be6a95c4358;p=thirdparty%2Fbash.git Bash-4.2 patch 10 --- diff --git a/patchlevel.h b/patchlevel.h index e7410c424..69439cb54 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 0d646ec5c..cd54b2f7b 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) {