To: vim_dev@googlegroups.com Subject: Patch 9.0.0216 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 9.0.0216 Problem: Undo earlier test sometimes fails on MS-Windows. Solution: Use another file name. Files: src/testdir/test_undo.vim *** ../vim-9.0.0215/src/testdir/test_undo.vim 2022-05-12 15:34:04.000000000 +0100 --- src/testdir/test_undo.vim 2022-08-15 17:27:01.692506568 +0100 *************** *** 339,345 **** " create undofile with timestamps older than Vim startup time. let t0 = localtime() - 43200 call test_settime(t0) ! new Xfile call feedkeys("ione\", 'xt') set ul=100 call test_settime(t0 + 1) --- 339,345 ---- " create undofile with timestamps older than Vim startup time. let t0 = localtime() - 43200 call test_settime(t0) ! new XfileEarlier call feedkeys("ione\", 'xt') set ul=100 call test_settime(t0 + 1) *************** *** 353,364 **** bwipe! " restore normal timestamps. call test_settime(0) ! new Xfile rundo Xundofile earlier 1d call assert_equal('', getline(1)) bwipe! ! call delete('Xfile') call delete('Xundofile') endfunc --- 353,364 ---- bwipe! " restore normal timestamps. call test_settime(0) ! new XfileEarlier rundo Xundofile earlier 1d call assert_equal('', getline(1)) bwipe! ! call delete('XfileEarlier') call delete('Xundofile') endfunc *** ../vim-9.0.0215/src/version.c 2022-08-15 16:29:34.024877526 +0100 --- src/version.c 2022-08-15 17:27:59.944317572 +0100 *************** *** 737,738 **** --- 737,740 ---- { /* Add new patch number below this line */ + /**/ + 216, /**/ -- I still remember when I gave up Smoking, Drinking and Sex. It was the most *horrifying* hour of my life! /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// \\\ \\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///