Loading ...
Sorry, an error occurred while loading the content.
 

Re: [BUG] 'non-empty string' >? '' returns false on amd64 arch

Expand Messages
  • Ivan Krasilnikov
    ... Had a bug in the patch - incorrectly checked for utf_ptr2char() s failure. Fixed patch and more tests in vimscript, suitable for src/testdir/, are
    Message 1 of 8 , May 26 8:10 PM
      On Wed, May 25, 2011 at 22:39, Ivan Krasilnikov <infnty@...> wrote:
      > Hi, here's my patch for mbyte.c and a few testcases.
      >
      > I've eliminated those return -1's by doing a bytewise comparison of
      > strings after the first corrupted character. This should make the
      > comparisons transitive at least.
      >

      Had a bug in the patch - incorrectly checked for utf_ptr2char()'s
      failure. Fixed patch and more tests in vimscript, suitable for
      src/testdir/, are attached.

      --
      You received this message from the "vim_dev" maillist.
      Do not top-post! Type your reply below the text you are replying to.
      For more information, visit http://www.vim.org/maillist.php
    Your message has been successfully submitted and would be delivered to recipients shortly.