Skip to content

Instantly share code, notes, and snippets.

@mattn
Created June 15, 2012 13:09
Show Gist options
  • Save mattn/2936402 to your computer and use it in GitHub Desktop.
Save mattn/2936402 to your computer and use it in GitHub Desktop.
diff -r 869a63c3f311 src/misc1.c
--- a/src/misc1.c Wed Jun 13 19:19:41 2012 +0200
+++ b/src/misc1.c Fri Jun 15 22:09:20 2012 +0900
@@ -9136,7 +9136,7 @@
}
if (exp_pat != NULL)
- ret = expand_wildcards(1, &exp_pat, num_file, file, flags);
+ ret = expand_wildcards(1, &exp_pat, num_file, file, flags | EW_KEEPALL);
if (eval_pat != NULL)
{
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment