Dominique Pelle wrote:

> Using latest vim-7.2.40 from CVS, I notice that 'make test' fails on test42.
> 
> Looking at previous versions, I see that:
> 
> - vim-7.2.33 fails test42
> - vm-7.2.32 succeeds for every tests
> 
> So regression is introduced by patch 7.2.33, which explicitly
> mentions that it touches test42:
> 
> ========================================================
> Problem:    When detecting a little endian BOM "ucs-2le" is used, but the text
>            might be "utf-16le".
> Solution:   Default to "utf-16le", it also works for "ucs-2le". (Jia Yanwei)
> Files:      src/fileio.c, src/testdir/test42.ok
> ========================================================
> 
> Maybe file test42.ok is corrupted on CVS?  It contains UTF-16, so it's a
> binary file. I remember this kind of corruptions happening a while ago with
> other binary files.

The file in CVS is truncated.  It's caused by the patch program.  I'll
fix it.

-- 
hundred-and-one symptoms of being an internet addict:
263. You have more e-mail addresses than shorts.

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