Merge branch 'master' of https://github.com/jzck/42sh
This commit is contained in:
commit
f675a821fd
1 changed files with 1 additions and 1 deletions
|
|
@ -113,7 +113,7 @@ int match_pattern(t_glob *gl, char *str, char *full_word)
|
|||
if (*str != *gl->pat)
|
||||
return (0);
|
||||
}
|
||||
else if (*gl->pat == '?')
|
||||
else if (*gl->pat == '?' && *str)
|
||||
;
|
||||
else if (*gl->pat == '[')
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue