Ben Schmidt wrote:

> The attached patch against current svn addresses the following issues,
> including some bugs I spotted while browsing the relevant parts of the
> code which our earlier test cases and alertness didn't pick up, but
> which other cases and checks confirmed:
> 
> - Bug: When reading from stdin fenc is not set and ff is always unix,
> not representative of what was actually used to interpret the input.
> Solution: Get readfile() to set options except eol when flags contain
> READ_BUFFER.
> 
> - Bug: When converting a file, if an incomplete byte sequence appears
> at the end of the file, no retry with next fencs entry is done.
> Solution: If we can retry in such a situation, do so.
> 
> - Bug: When not converting a file, but validating utf8, incomplete
> invalid sequences are not detected as errors, as the partial sequence
> is not checked and may not trigger a backtrack to the beginning of the
> sequence after the next read(). Solution: Check partial sequences for
> validity.

Thanks Ben!  I'll put it near the top of the todo list.

-- 
Have you heard about the new Beowulf cluster? It's so fast, it executes
an infinite loop in 6 seconds.

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