On Thu, Jul 29, 2010 at 4:39 AM, Bram Moolenaar <b...@moolenaar.net> wrote: > I have included the recent patches, but not the one that resets > "recursive" in gen_expand_wildcards(). That is probably causing that > crash.
I noticed that mch_expandpath() is defined on both unix and windows as unix_expandpath() and dos_expandpath(), respectively. I'll see if it can be used in place of globpath() (which calls gen_expand_wildcards()) in the function expand_in_path(). If that is successful I'll send a new patch for that and also revert thechanges I did in globpath() (skipping url path). In the mean time here is the patch to prevent ":find <tab>" from crashing on windows when 'path" is set to something like "c:\src\**". nazri. -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
diff --git a/src/misc1.c b/src/misc1.c index 11c2b1b..48dcd36 100644 --- a/src/misc1.c +++ b/src/misc1.c @@ -9675,7 +9675,10 @@ gen_expand_wildcards(num_pat, pat, num_file, file, flags) #ifdef SPECIAL_WILDCHAR return mch_expand_wildcards(num_pat, pat, num_file, file, flags); #else + { + recursive = FALSE; return FAIL; + } #endif #ifdef SPECIAL_WILDCHAR