mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-24 05:41:14 -03:00
Make wildcards beginning with dots not match . and ..
https://github.com/fish-shell/fish-shell/issues/270
This commit is contained in:
@@ -512,7 +512,7 @@ bool contains_internal( const wchar_t *a, ... )
|
||||
{
|
||||
const wchar_t *arg;
|
||||
va_list va;
|
||||
int res = 0;
|
||||
bool res = false;
|
||||
|
||||
CHECK( a, 0 );
|
||||
|
||||
@@ -521,7 +521,7 @@ bool contains_internal( const wchar_t *a, ... )
|
||||
{
|
||||
if( wcscmp( a,arg) == 0 )
|
||||
{
|
||||
res=1;
|
||||
res = true;
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user