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. Best regards, Tony. -- Error:015 - Unable to exit Windows. Try the door. --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_dev" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
