]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
updated for version 7.4.612 v7.4.612
authorBram Moolenaar <Bram@vim.org>
Tue, 3 Feb 2015 15:07:47 +0000 (16:07 +0100)
committerBram Moolenaar <Bram@vim.org>
Tue, 3 Feb 2015 15:07:47 +0000 (16:07 +0100)
Problem:    test_eval fails on Mac.
Solution:   Use the * register instead of the + register. (Jun Takimoto)

src/testdir/test_eval.in
src/testdir/test_eval.ok
src/version.c

index b0ac3a0290d4ab7c68206ca00b2fbb22f30281f5..087e6099ac70aa6820fd10d24b35b958df4e1fb5 100644 (file)
@@ -131,19 +131,19 @@ $put ='{{{1 System clipboard'
 if has('clipboard')
 " Save and restore system clipboard.
 " If no connection to X-Server is possible, test should succeed.
-let _clipreg = ['+', getreg('+'), getregtype('+')]
+let _clipreg = ['*', getreg('*'), getregtype('*')]
 let _clipopt = &cb
-let &cb='unnamedplus'
+let &cb='unnamed'
 5y
-AR +
+AR *
 tabdo :windo :echo "hi"
 6y
-AR +
+AR *
 let &cb=_clipopt
 call call('setreg', _clipreg)
 else
-  call AppendRegParts('+', 'V', "clipboard contents\n", "['clipboard contents']", "clipboard contents\n", "['clipboard contents']")
-  call AppendRegParts('+', 'V', "something else\n", "['something else']", "something else\n", "['something else']")
+  call AppendRegParts('*', 'V', "clipboard contents\n", "['clipboard contents']", "clipboard contents\n", "['clipboard contents']")
+  call AppendRegParts('*', 'V', "something else\n", "['something else']", "something else\n", "['something else']")
 endif
 $put ='{{{1 Errors'
 call ErrExe('call setreg()')
index c4fc9ac0b2a25bbc32abf447331a2ebbc6b14755..cda425c92e30762a9c5949964be411a517884f0d 100644 (file)
Binary files a/src/testdir/test_eval.ok and b/src/testdir/test_eval.ok differ
index a35367fec91377bbdf322c22c85b2d72a0c80b46..b1514b1b58393ed87504502fe5ad9dda4d499ca3 100644 (file)
@@ -741,6 +741,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    612,
 /**/
     611,
 /**/