|
|
22c937 |
To: vim_dev@googlegroups.com
|
|
|
22c937 |
Subject: Patch 7.4.347
|
|
|
22c937 |
Fcc: outbox
|
|
|
22c937 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
|
22c937 |
Mime-Version: 1.0
|
|
|
22c937 |
Content-Type: text/plain; charset=UTF-8
|
|
|
22c937 |
Content-Transfer-Encoding: 8bit
|
|
|
22c937 |
------------
|
|
|
22c937 |
|
|
|
22c937 |
Patch 7.4.347
|
|
|
22c937 |
Problem: test55 fails on some systems.
|
|
|
22c937 |
Solution: Remove the elements that all result in zero and can end up in an
|
|
|
22c937 |
arbitrary position.
|
|
|
22c937 |
Files: src/testdir/test55.in, src/testdir/test55.ok
|
|
|
22c937 |
|
|
|
22c937 |
|
|
|
22c937 |
*** ../vim-7.4.346/src/testdir/test55.in 2014-06-25 17:31:04.942737863 +0200
|
|
|
22c937 |
--- src/testdir/test55.in 2014-06-26 22:25:33.078674909 +0200
|
|
|
22c937 |
***************
|
|
|
22c937 |
*** 332,339 ****
|
|
|
22c937 |
:$put =string(reverse(sort(l)))
|
|
|
22c937 |
:$put =string(sort(reverse(sort(l))))
|
|
|
22c937 |
:$put =string(uniq(sort(l)))
|
|
|
22c937 |
! :let l=[7, 9, 18, 12, 22, 10.0e-16, -1, 0xff, 0, -0, 0.22, 'foo', 'FOOBAR',{}, []]
|
|
|
22c937 |
:$put =string(sort(copy(l), 'n'))
|
|
|
22c937 |
:$put =string(sort(copy(l), 1))
|
|
|
22c937 |
:$put =string(sort(copy(l), 'i'))
|
|
|
22c937 |
:$put =string(sort(copy(l)))
|
|
|
22c937 |
--- 332,340 ----
|
|
|
22c937 |
:$put =string(reverse(sort(l)))
|
|
|
22c937 |
:$put =string(sort(reverse(sort(l))))
|
|
|
22c937 |
:$put =string(uniq(sort(l)))
|
|
|
22c937 |
! :let l=[7, 9, 18, 12, 22, 10.0e-16, -1, 0xff, 0.22, 'foo']
|
|
|
22c937 |
:$put =string(sort(copy(l), 'n'))
|
|
|
22c937 |
+ :let l=[7, 9, 18, 12, 22, 10.0e-16, -1, 0xff, 0, -0, 0.22, 'foo', 'FOOBAR',{}, []]
|
|
|
22c937 |
:$put =string(sort(copy(l), 1))
|
|
|
22c937 |
:$put =string(sort(copy(l), 'i'))
|
|
|
22c937 |
:$put =string(sort(copy(l)))
|
|
|
22c937 |
*** ../vim-7.4.346/src/testdir/test55.ok 2014-06-25 17:31:04.942737863 +0200
|
|
|
22c937 |
--- src/testdir/test55.ok 2014-06-26 22:26:38.662677390 +0200
|
|
|
22c937 |
***************
|
|
|
22c937 |
*** 101,107 ****
|
|
|
22c937 |
[[0, 1, 2], [0, 1, 2], 4, 2, 2, 1.5, 'xaaa', 'x8', 'foo6', 'foo', 'foo', 'A11', '-0']
|
|
|
22c937 |
['-0', 'A11', 'foo', 'foo', 'foo6', 'x8', 'xaaa', 1.5, 2, 2, 4, [0, 1, 2], [0, 1, 2]]
|
|
|
22c937 |
['-0', 'A11', 'foo', 'foo6', 'x8', 'xaaa', 1.5, 2, 4, [0, 1, 2]]
|
|
|
22c937 |
! [-1, 0, 0, 'foo', 'FOOBAR', {}, [], 1.0e-15, 0.22, 7, 9, 12, 18, 22, 255]
|
|
|
22c937 |
['foo', 'FOOBAR', -1, 0, 0, 0.22, 1.0e-15, 12, 18, 22, 255, 7, 9, [], {}]
|
|
|
22c937 |
['foo', 'FOOBAR', -1, 0, 0, 0.22, 1.0e-15, 12, 18, 22, 255, 7, 9, [], {}]
|
|
|
22c937 |
['FOOBAR', 'foo', -1, 0, 0, 0.22, 1.0e-15, 12, 18, 22, 255, 7, 9, [], {}]
|
|
|
22c937 |
--- 101,107 ----
|
|
|
22c937 |
[[0, 1, 2], [0, 1, 2], 4, 2, 2, 1.5, 'xaaa', 'x8', 'foo6', 'foo', 'foo', 'A11', '-0']
|
|
|
22c937 |
['-0', 'A11', 'foo', 'foo', 'foo6', 'x8', 'xaaa', 1.5, 2, 2, 4, [0, 1, 2], [0, 1, 2]]
|
|
|
22c937 |
['-0', 'A11', 'foo', 'foo6', 'x8', 'xaaa', 1.5, 2, 4, [0, 1, 2]]
|
|
|
22c937 |
! [-1, 'foo', 1.0e-15, 0.22, 7, 9, 12, 18, 22, 255]
|
|
|
22c937 |
['foo', 'FOOBAR', -1, 0, 0, 0.22, 1.0e-15, 12, 18, 22, 255, 7, 9, [], {}]
|
|
|
22c937 |
['foo', 'FOOBAR', -1, 0, 0, 0.22, 1.0e-15, 12, 18, 22, 255, 7, 9, [], {}]
|
|
|
22c937 |
['FOOBAR', 'foo', -1, 0, 0, 0.22, 1.0e-15, 12, 18, 22, 255, 7, 9, [], {}]
|
|
|
22c937 |
*** ../vim-7.4.346/src/version.c 2014-06-26 21:24:53.134537205 +0200
|
|
|
22c937 |
--- src/version.c 2014-06-26 22:28:15.402681050 +0200
|
|
|
22c937 |
***************
|
|
|
22c937 |
*** 736,737 ****
|
|
|
22c937 |
--- 736,739 ----
|
|
|
22c937 |
{ /* Add new patch number below this line */
|
|
|
22c937 |
+ /**/
|
|
|
22c937 |
+ 347,
|
|
|
22c937 |
/**/
|
|
|
22c937 |
|
|
|
22c937 |
--
|
|
|
22c937 |
Witches prefer brooms: vacuum-cleaners need extension cords!
|
|
|
22c937 |
|
|
|
22c937 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
|
22c937 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
|
22c937 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
|
22c937 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|