commit bash-20170421 snapshot

This commit is contained in:
Chet Ramey
2017-05-01 15:45:48 -04:00
parent 21c9990fbb
commit 787bb204f9
12 changed files with 185 additions and 8 deletions
+1 -1
View File
@@ -2565,7 +2565,7 @@ parser_remaining_input ()
{
if (shell_input_line == 0)
return 0;
if (shell_input_line_index < 0 || shell_input_line_index >= shell_input_line_len)
if ((int)shell_input_line_index < 0 || shell_input_line_index >= shell_input_line_len)
return ""; /* XXX */
return (shell_input_line + shell_input_line_index);
}