пятница, 7 сентября 2012 г., 0:04:00 UTC+4 пользователь ZyX написал:
> среда, 5 сентября 2012 г., 15:31:07 UTC+4 пользователь Bram Moolenaar написал:
> > Patch 7.3.648
> > Problem:    Crash when using a very long file name. (ZyX)
> > Solution:   Properly check length of buffer space.
> > Files:          src/buffer.c
> 
> That actually did not fix the problem: gcc optimized build now behaves like 
> non-optimized one, thats all. I still get a crash where I was getting it 
> before (aurum, "AuDiff rev1 1 rev2 tip **"). And I still observe invalid 
> number of lines (1041 lines with last one truncated).
> 
> I don't get invalid number of lines if I replace "expand("<amatch>")" with 
> "bufname(+expand("<abuf>"))". Doing the same in aurum does not fix the crash. 
> Crash happens at the very end of "fileinfo" function from buffer.c. The 
> following patch seems to fix the crash:

Note: it fixes the crash, not invalid behavior of "expand()".

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