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