mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-02 09:50:50 +02:00
new shell option to force globbing never to return .' and ..' as matches
This commit is contained in:
+1
-1
@@ -4268,7 +4268,7 @@ fix_arrayref_words (words)
|
||||
|
||||
for (w = wcmd->next; w; w = w->next)
|
||||
{
|
||||
if (w->word && w->word->word && valid_array_reference (w->word->word, VA_NOEXPAND))
|
||||
if (w->word && w->word->word && valid_array_reference (w->word->word, 0))
|
||||
w->word->flags |= W_ARRAYREF;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user