Bash-4.2 patch 42
This commit is contained in:
parent
8dea6e878b
commit
509a4430ae
4 changed files with 227 additions and 170 deletions
4
parse.y
4
parse.y
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue