Nazri Ramliy wrote:

> This is a regression introduced by my own patch previously
> (7ce8b24450dc: Improvements for
> ":find" completion. (Nazri Ramliy)).
> 
> Attached patch fixes the regression and add tests to test73 to catch the bug.
> 
> The test runs fine on unix, but fails on msvc vim.  I'll investigate
> it later. Sorry I'm in a bit of a hurry
> I'll look into cleaning up the patch and making the test successfull
> on msvc vim soon.

Thanks.

I noticed a few memory leaks and fixed them.

I changed the STRNCMP() to fnamencmp().  That might fix the problem on
MS-Windows.

I moved a few C99 style declarations to start of code block.

That's an awful lot of problems...  I'll spend some more time on this
tomorrow.

-- 
Light travels faster than sound.  This is why some people
appear bright until you hear them speak

 /// 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

Raspunde prin e-mail lui