diff options
author | 2009-02-03 09:47:51 +1000 | |
---|---|---|
committer | 2009-02-03 09:47:51 +1000 | |
commit | 7e1ac2d806e0a7ca775ae864028747cd934f1c4d (patch) | |
tree | b553bb8cc23ab1708f9b43043488d8e77515505c /expand.c | |
parent | 35258bf1fbf54cd0405755be0bf5a7e422a58fc1 (diff) |
Actually escape the double-star recursive wildcard char when requested. This will make sure the syntax highlighting doesn't try to perform a recursive wildcard expansion when cheching command name existance, which killed performance
darcs-hash:20090202234751-ac50b-55dfd8b52f842826b02a69d6ab51c222108c30e3.gz
Diffstat (limited to 'expand.c')
-rw-r--r-- | expand.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1519,6 +1519,11 @@ static void remove_internal_separator( const void *s, int conv ) *out++ = conv?L'*':ANY_STRING; break; + case ANY_STRING_RECURSIVE: + in++; + *out++ = conv?L'*':ANY_STRING; + break; + default: *out++ = *in++; } |