]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 8.1.1462: MS-Windows: using special character requires quoting v8.1.1462
authorBram Moolenaar <Bram@vim.org>
Tue, 4 Jun 2019 06:22:53 +0000 (08:22 +0200)
committerBram Moolenaar <Bram@vim.org>
Tue, 4 Jun 2019 06:22:53 +0000 (08:22 +0200)
Problem:    MS-Windows: using special character requires quoting.
Solution:   Add quotes. (Ken Takata)

src/testdir/test_environ.vim
src/version.c

index 76ffe5631b893029df8e7d0b9eb973f0e1ab3c04..21bb09a690189ea0c1cdb66ff32dc1a2f2b59001 100644 (file)
@@ -36,7 +36,7 @@ func Test_external_env()
 
   call setenv('FOO', v:null)
   if has('win32')
-    let result = system('set | findstr ^FOO=')
+    let result = system('set | findstr "^FOO="')
   else
     let result = system('env | grep ^FOO=')
   endif
index a7f77faf0d50332fadc750a8a4c66e24bb00ebd2..ec6ee205d7834522f3000427bfb3ef00bdabd11e 100644 (file)
@@ -767,6 +767,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1462,
 /**/
     1461,
 /**/