Tony Mechelynck wrote:

> On 15/11/08 16:18, Bram Moolenaar wrote:
> >
> > 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.
> >
> 
> What is its "official" size? After using Gnu patch and the published 
> patch (not CVS), I see test42.ok 409 bytes, as compared to test42.in 
> 2368 bytes.

% ls -l src/testdir/test42.ok
-rw-r--r--  1 bram  bram  409 Nov  1 17:09 src/testdir/test42.ok


-- 
hundred-and-one symptoms of being an internet addict:
267. You get an extra phone line so you can get phone calls.

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