mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-19 09:52:53 +02:00
commit bash-20180921 snapshot
This commit is contained in:
@@ -617,6 +617,8 @@ glob_vector (pat, dir, flags)
|
||||
firstmalloc = 0;
|
||||
nalloca = 0;
|
||||
|
||||
name_vector = NULL;
|
||||
|
||||
/*itrace("glob_vector: pat = `%s' dir = `%s' flags = 0x%x", pat, dir, flags);*/
|
||||
/* If PAT is empty, skip the loop, but return one (empty) filename. */
|
||||
if (pat == 0 || *pat == '\0')
|
||||
|
||||
Reference in New Issue
Block a user