Bash-4.2 patch 42

This commit is contained in:
Chet Ramey
2013-01-10 19:53:16 -05:00
parent 8dea6e878b
commit 509a4430ae
4 changed files with 227 additions and 170 deletions
+3 -1
View File
@@ -2393,6 +2393,7 @@ pop_alias:
is the last character). If it's not the last character, we need
to consume the quoted newline and move to the next character in
the expansion. */
#if defined (ALIAS)
if (expanding_alias () && shell_input_line[shell_input_line_index+1] == '\0')
{
uc = 0;
@@ -2403,7 +2404,8 @@ pop_alias:
shell_input_line_index++; /* skip newline */
goto next_alias_char; /* and get next character */
}
else
else
#endif
goto restart_read;
}