commit bash-20151113 snapshot

This commit is contained in:
Chet Ramey committed 2015-12-01 11:28:06 -05:00
1 parent f542be5d52
commit f9b024c839
15 files changed
+148 -49

No files matched your search

+3 -1
View File
@@ -198,12 +198,14 @@ rl_tilde_expand (ignore, key)
xfree (homedir);
return (0);
}
else if (rl_line_buffer[start] != '~')
else if (start >= 0 && rl_line_buffer[start] != '~')
{
for (; !whitespace (rl_line_buffer[start]) && start >= 0; start--)
;
start++;
}
else if (start < 0)
start = 0;
end = start;
do