commit bash-20160708 snapshot

This commit is contained in:
Chet Ramey
2016-07-11 10:29:26 -04:00
parent d994b9d612
commit 6df81145a8
83 changed files with 10137 additions and 7404 deletions
+1 -1
View File
@@ -1279,7 +1279,7 @@ check_redir (ti)
/* Handle the two character tokens `>&', `<&', and `>|'.
We are not in a command position after one of these. */
this_char = rl_line_buffer[ti];
prev_char = rl_line_buffer[ti - 1];
prev_char = (ti > 0) ? rl_line_buffer[ti - 1] : 0;
if ((this_char == '&' && (prev_char == '<' || prev_char == '>')) ||
(this_char == '|' && prev_char == '>'))