aboutsummaryrefslogtreecommitdiffhomepage
path: root/complete.c
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2005-12-04 11:54:02 +1000
committerGravatar axel <axel@liljencrantz.se>2005-12-04 11:54:02 +1000
commit754d8d37125609dc67c1f41d9b35f3bfa468317c (patch)
treea57a5910e197ba0e82f045ce4f16c69b1d353bc0 /complete.c
parent86230813de763ffcfe0b6976114782f72e6f8370 (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.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/complete.c b/complete.c
index b6516b25..a4aca179 100644
--- a/complete.c
+++ b/complete.c
@@ -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) );
}