Dominique Pelle wrote:

> On 10/14/07, Bram Moolenaar <[EMAIL PROTECTED]> wrote:
> 
> > Can you provide us with the three files you were diffing?
> 
> Sure.  I was just diffing 3 source files of vim. Admittedly it
> does not make much sense to diff those 3 following files but
> I was looking for bugs in vim, and doing so, I found one.
> This is what I wrote in the first email of this thread:
> 
> =====================
> I can reproduce the problem by diffing 3 vim source files for example:
> 
> $ cd vim7/src
> $ valgrind ./vim -u NONE -U NONE -d syntax.c spell.c screen.c 2> vg.log
> =====================
> 
> I tried to come up a smaller test case (3 simple files if  possible) but
> I could not find what kind of difference triggers the bug. I can spend
> more time trying to find a simple test case if needed. In any case,
> diffing the 3 above vim source files triggers the bug.

Can you verify the problem goes away with the patch I sent?

I tried a few things to see any effect from the change I made.  It's not
easy to think of a situation where the previous code would fail.  It
must fail somewhere, since it's using arbitrary numbers for the third
diff.  I didn't want to spend too much time on it anyway.

-- 
How To Keep A Healthy Level Of Insanity:
13. Go to a poetry recital and ask why the poems don't rhyme.

 /// 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.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui