To: vim_dev@googlegroups.com Subject: Patch 7.4.2339 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 7.4.2339 Problem: Tab page test fails when run as fake root. Solution: Check 'buftype' instead of 'filetype'. (James McCoy, closes #1042) Files: src/testdir/test_tabpage.vim *** ../vim-7.4.2338/src/testdir/test_tabpage.vim 2016-09-03 16:29:01.450841139 +0200 --- src/testdir/test_tabpage.vim 2016-09-06 21:31:11.751556179 +0200 *************** *** 195,201 **** exec 'tabnext ' . a:pre_nr exec a:cmd call assert_equal(a:post_nr, tabpagenr()) ! call assert_equal('help', &filetype) helpclose endfunc --- 195,201 ---- exec 'tabnext ' . a:pre_nr exec a:cmd call assert_equal(a:post_nr, tabpagenr()) ! call assert_equal('help', &buftype) helpclose endfunc *** ../vim-7.4.2338/src/version.c 2016-09-06 21:32:07.971085177 +0200 --- src/version.c 2016-09-06 21:33:23.638451424 +0200 *************** *** 765,766 **** --- 765,768 ---- { /* Add new patch number below this line */ + /**/ + 2339, /**/ -- A bad peace is better than a good war. - Yiddish Proverb /// 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 ///