commit bash-20210112 snapshot

This commit is contained in:
Chet Ramey
2021-01-15 14:39:20 -05:00
parent 63706353d7
commit a9cf0031ef
9 changed files with 58 additions and 15 deletions
+1 -1
View File
@@ -399,7 +399,7 @@ search_for_command (pathname, flags)
}
/* If we're in posix mode, don't add files without the execute bit
to the hash table. */
else if (posixly_correct)
else if (posixly_correct || check_hashed_filenames)
{
st = file_status (command);
if (st & FS_EXECABLE)