Dominique Pelle wrote:
> Hi, > > Valgrind memory checker finds several errors in vim-7.1 (patches 1-50) > when built with --enable-multibyte: > > $ ./configure --enable-multibyte > $ make CFLAGS="-O0 -g" > $ cd src/testdir > $ valgrind ../vim -u unix.vim -U NONE --noplugin -s dotest.in > test45.in 2> valgrind-test45.txt > > $ cat val valgrind-test45.txt The warnings don't make much sense. I suggest starting with disabling the optimizer. > ==14428== Use of uninitialised value of size 4 > ==14428== at 0x80FD643: utf_ptr2char (mbyte.c:1376) This is impossible, it is using a table that is compiled in and the index can't be out of range because it's char_u. It's a lot of work to check out the warnings, so please make sure there are no false warnings. -- >From "know your smileys": :q vi user saying, "How do I get out of this damn emacs editor?" /// 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 -~----------~----~----~----~------~----~------~--~---
