Bash-4.1 patchlevel 11

This commit is contained in:
Chet Ramey
2011-11-21 20:57:16 -05:00
parent 0001803f0b
commit 30d188c293
12 changed files with 49 additions and 15 deletions

View File

@@ -2138,7 +2138,7 @@ rl_filename_completion_function (text, state)
All other entries except "." and ".." match. */
if (filename_len == 0)
{
if (_rl_match_hidden_files == 0 && HIDDEN_FILE (entry->d_name))
if (_rl_match_hidden_files == 0 && HIDDEN_FILE (convfn))
continue;
if (convfn[0] != '.' ||
@@ -2219,7 +2219,7 @@ rl_filename_completion_function (text, state)
temp[dirlen++] = '/';
}
strcpy (temp + dirlen, entry->d_name);
strcpy (temp + dirlen, convfn);
}
else
temp = savestring (convfn);