mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-08-06 02:02:42 +02:00
commit bash-20170421 snapshot
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user