To: vim_dev@googlegroups.com Subject: Patch 7.4.2179 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 7.4.2179 (after 7.4.2178) Problem: Reading from stdin test fails on MS-Windows. Solution: Strip the extra space. Files: src/testdir/test_startup.vim *** ../vim-7.4.2178/src/testdir/test_startup.vim 2016-08-07 16:36:26.718630005 +0200 --- src/testdir/test_startup.vim 2016-08-07 16:48:45.784596822 +0200 *************** *** 177,183 **** \ ] if RunVimPiped([], after, '-', 'echo something | ') let lines = readfile('Xtestout') ! call assert_equal('something', lines[0]) endif call delete('Xtestout') endfunc --- 177,184 ---- \ ] if RunVimPiped([], after, '-', 'echo something | ') let lines = readfile('Xtestout') ! " MS-Windows adds a space after the word ! call assert_equal(['something'], split(lines[0])) endif call delete('Xtestout') endfunc *** ../vim-7.4.2178/src/version.c 2016-08-07 16:36:26.718630005 +0200 --- src/version.c 2016-08-07 16:49:33.688204939 +0200 *************** *** 765,766 **** --- 765,768 ---- { /* Add new patch number below this line */ + /**/ + 2179, /**/ -- An easy way to determine if you have enough teamwork to be doomed is simply to measure how long it takes from the time you decide to go to lunch together until the time you actually eat. (Scott Adams - The Dilbert principle) /// 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 ///