Patch 7.4.1397
Problem:    Sort test fails on MS-Windows.
Solution:   Correct the compare function.
Files:      src/testdir/test_sort.vim


*** ../vim-7.4.1396/src/testdir/test_sort.vim   2016-02-22 22:51:27.521723233 
+0100
--- src/testdir/test_sort.vim   2016-02-22 23:48:49.849510958 +0100
***************
*** 2,12 ****
  
  :func Compare1(a, b) abort
      call sort(range(3), 'Compare2')
!     return a:a ># a:b
  :endfunc
  
  :func Compare2(a, b) abort
!     return a:a <# a:b
  :endfunc
  
  func Test_sort_strings()
--- 2,12 ----
  
  :func Compare1(a, b) abort
      call sort(range(3), 'Compare2')
!     return a:a - a:b
  :endfunc
  
  :func Compare2(a, b) abort
!     return a:a - a:b
  :endfunc
  
  func Test_sort_strings()
*** ../vim-7.4.1396/src/version.c       2016-02-22 23:25:20.056316277 +0100
--- src/version.c       2016-02-22 23:49:24.741145027 +0100
***************
*** 750,751 ****
--- 750,753 ----
  {   /* Add new patch number below this line */
+ /**/
+     1397,
  /**/

-- 
FATHER:    You only killed the bride's father - that's all -
LAUNCELOT: Oh dear, I didn't really mean to...
FATHER:    Didn't mean to?  You put your sword right through his head!
LAUNCELOT: Gosh - Is he all right?
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

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

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui