To: vim_dev@googlegroups.com Subject: Patch 7.4.1563 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 7.4.1563 Problem: Partial test fails on windows. Solution: Return 1 or -1 from compare function. Files: src/testdir/test_partial.vim *** ../vim-7.4.1562/src/testdir/test_partial.vim 2016-03-14 23:04:49.702923020 +0100 --- src/testdir/test_partial.vim 2016-03-15 11:04:17.338771843 +0100 *************** *** 9,17 **** return 0 endif if a:up ! return a:one > a:two endif ! return a:one < a:two endfunc func Test_partial_args() --- 9,17 ---- return 0 endif if a:up ! return a:one > a:two ? 1 : -1 endif ! return a:one < a:two ? 1 : -1 endfunc func Test_partial_args() *** ../vim-7.4.1562/src/version.c 2016-03-14 23:45:30.897239153 +0100 --- src/version.c 2016-03-15 11:04:58.190346716 +0100 *************** *** 745,746 **** --- 745,748 ---- { /* Add new patch number below this line */ + /**/ + 1563, /**/ -- I wonder how much deeper the ocean would be without sponges. /// Bram Moolenaar -- Bram@Moolenaar.net -- 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 ///