From 56242f2b08737677812513c447955579a19aa620 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Fri, 14 Dec 2018 15:48:48 +0100 Subject: [PATCH] patch 8.1.0585: undo test may fail on MS-Windows Problem: Undo test may fail on MS-Windows. Solution: Also handle lower case drive letters. --- src/testdir/test_undo.vim | 2 +- src/version.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/testdir/test_undo.vim b/src/testdir/test_undo.vim index e06abff93..7c93e2315 100644 --- a/src/testdir/test_undo.vim +++ b/src/testdir/test_undo.vim @@ -426,7 +426,7 @@ funct Test_undofile() let cwd = getcwd() if has('win32') " Replace windows drive such as C:... into C%... - let cwd = substitute(cwd, '^\([A-Z]\):', '\1%', 'g') + let cwd = substitute(cwd, '^\([a-zA-Z]\):', '\1%', 'g') endif let cwd = substitute(cwd . '/Xundofoo', '/', '%', 'g') if has('persistent_undo') diff --git a/src/version.c b/src/version.c index a25f262b8..2c8b3acc0 100644 --- a/src/version.c +++ b/src/version.c @@ -799,6 +799,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 585, /**/ 584, /**/ -- 2.40.0