diff options
author | 2005-12-04 11:54:02 +1000 | |
---|---|---|
committer | 2005-12-04 11:54:02 +1000 | |
commit | 754d8d37125609dc67c1f41d9b35f3bfa468317c (patch) | |
tree | a57a5910e197ba0e82f045ce4f16c69b1d353bc0 /expand.c | |
parent | 86230813de763ffcfe0b6976114782f72e6f8370 (diff) |
Fix bug breaking filename completions, introduced by csh wildcard syntax
darcs-hash:20051204015402-ac50b-911c6188f6c8213a733f4e967fc903f5290f1772.gz
Diffstat (limited to 'expand.c')
-rw-r--r-- | expand.c | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -1392,7 +1392,8 @@ int expand_string( wchar_t *str, int subshell_ok = 1; int res = EXPAND_OK; - +// debug( 1, L"Expand %ls", str ); + if( (!(flags & ACCEPT_INCOMPLETE)) && is_clean( str ) ) { @@ -1560,11 +1561,9 @@ int expand_string( wchar_t *str, { if( res == EXPAND_OK ) res = EXPAND_WILDCARD_NO_MATCH; - + break; } - break; - case 1: res = EXPAND_WILDCARD_MATCH; sort_list( out ); |