Nazri Ramliy wrote:
> On Thu, Jul 29, 2010 at 4:39 AM, Bram Moolenaar <[email protected]> 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\**".
I'm not including this patch. Resetting "recursive" while it was set
elsewhere is wrong. The next call would do the recursive call and cause
problems.
--
Engineers are always delighted to share wisdom, even in areas in which they
have no experience whatsoever. Their logic provides them with inherent
insight into any field of expertise. This can be a problem when dealing with
the illogical people who believe that knowledge can only be derived through
experience.
(Scott Adams - The Dilbert principle)
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ download, build and distribute -- http://www.A-A-P.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
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