diff options
author | 2005-12-04 11:54:02 +1000 | |
---|---|---|
committer | 2005-12-04 11:54:02 +1000 | |
commit | 754d8d37125609dc67c1f41d9b35f3bfa468317c (patch) | |
tree | a57a5910e197ba0e82f045ce4f16c69b1d353bc0 /complete.c | |
parent | 86230813de763ffcfe0b6976114782f72e6f8370 (diff) |
Fix bug breaking filename completions, introduced by csh wildcard syntax
darcs-hash:20051204015402-ac50b-911c6188f6c8213a733f4e967fc903f5290f1772.gz
Diffstat (limited to 'complete.c')
-rw-r--r-- | complete.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1771,7 +1771,10 @@ static void complete_param_expand( wchar_t *str, else comp_str = str; -// fwprintf( stderr, L"expand_string( \"%ls\", [list], EXPAND_SKIP_SUBSHELL | ACCEPT_INCOMPLETE | %ls )\n", comp_str, do_file?L"0":L"EXPAND_SKIP_WILDCARDS" ); + debug( 2, + L"expand_string( \"%ls\", comp_out, EXPAND_SKIP_SUBSHELL | ACCEPT_INCOMPLETE | %ls );", + comp_str, + do_file?L"0":L"EXPAND_SKIP_WILDCARDS" ); expand_string( wcsdup(comp_str), comp_out, EXPAND_SKIP_SUBSHELL | ACCEPT_INCOMPLETE | (do_file?0:EXPAND_SKIP_WILDCARDS) ); } |