commit bash-snap-20170620 snapshot

This commit is contained in:
Chet Ramey
2017-06-20 10:38:13 -04:00
parent 6374eecf23
commit d7d836dfc5
16 changed files with 195 additions and 34 deletions
+12 -1
View File
@@ -416,8 +416,16 @@ inputunit: simple_list simple_list_terminator
/* EOF after an error. Do ignoreeof or not. Really
only interesting in non-interactive shells */
global_command = (COMMAND *)NULL;
last_command_exit_value = 1;
handle_eof_input_unit ();
YYACCEPT;
if (interactive && parse_and_execute_level == 0)
{
YYACCEPT;
}
else
{
YYABORT;
}
}
| yacc_EOF
{
@@ -5457,6 +5465,9 @@ history_delimiting_chars (line)
return (" ");
}
if (line_isblank (line))
return ("");
return ("; ");
}
#endif /* HISTORY */