Bash-4.2 patch 10

This commit is contained in:
Chet Ramey 2011-11-22 20:01:00 -05:00
commit 680d15e19f
2 changed files with 4 additions and 1 deletions

View file

@ -25,6 +25,6 @@
regexp `^#define[ ]*PATCHLEVEL', since that's what support/mkversion.sh regexp `^#define[ ]*PATCHLEVEL', since that's what support/mkversion.sh
looks for to find the patch level (for the sccs version string). */ looks for to find the patch level (for the sccs version string). */
#define PATCHLEVEL 9 #define PATCHLEVEL 10
#endif /* _PATCHLEVEL_H_ */ #endif /* _PATCHLEVEL_H_ */

View file

@ -315,6 +315,7 @@ make_command_string_internal (command)
cprintf ("( "); cprintf ("( ");
skip_this_indent++; skip_this_indent++;
make_command_string_internal (command->value.Subshell->command); make_command_string_internal (command->value.Subshell->command);
PRINT_DEFERRED_HEREDOCS ("");
cprintf (" )"); cprintf (" )");
break; break;
@ -592,6 +593,7 @@ print_arith_for_command (arith_for_command)
newline ("do\n"); newline ("do\n");
indentation += indentation_amount; indentation += indentation_amount;
make_command_string_internal (arith_for_command->action); make_command_string_internal (arith_for_command->action);
PRINT_DEFERRED_HEREDOCS ("");
semicolon (); semicolon ();
indentation -= indentation_amount; indentation -= indentation_amount;
newline ("done"); newline ("done");
@ -653,6 +655,7 @@ print_group_command (group_command)
} }
make_command_string_internal (group_command->command); make_command_string_internal (group_command->command);
PRINT_DEFERRED_HEREDOCS ("");
if (inside_function_def) if (inside_function_def)
{ {