summaryrefslogtreecommitdiff
path: root/data/vim/patches/8.1.0853
blob: be950a9b459b5b886c18d86353252c7390461e2d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
To: vim_dev@googlegroups.com
Subject: Patch 8.1.0853
Fcc: outbox
From: Bram Moolenaar <Bram@moolenaar.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
------------

Patch 8.1.0853 (after 8.1.0850)
Problem:    Options test fails on Mac.
Solution:   Remove a trailing slash from $TMPDIR.
Files:	    src/testdir/test_options.vim


*** ../vim-8.1.0852/src/testdir/test_options.vim	2019-01-30 21:51:24.427016059 +0100
--- src/testdir/test_options.vim	2019-01-30 22:34:24.752245092 +0100
***************
*** 387,394 ****
    for var in  ['$TMPDIR', '$TMP', '$TEMP']
      if exists(var)
        let varvalue = substitute(expand(var), '\\', '/', 'g')
!       let found = (index(bsklist, varvalue.'/*') >= 0)
!       call assert_true(found, var . ' not in option bsk: ' . &bsk)
      endif
    endfor
  endfunc
--- 387,396 ----
    for var in  ['$TMPDIR', '$TMP', '$TEMP']
      if exists(var)
        let varvalue = substitute(expand(var), '\\', '/', 'g')
!       let varvalue = substitute(varvalue, '/$', '', '')
!       let varvalue .= '/*'
!       let found = (index(bsklist, varvalue) >= 0)
!       call assert_true(found, var . ' (' . varvalue . ') not in option bsk: ' . &bsk)
      endif
    endfor
  endfunc
*** ../vim-8.1.0852/src/version.c	2019-01-30 22:13:30.409988847 +0100
--- src/version.c	2019-01-30 22:35:32.475455697 +0100
***************
*** 785,786 ****
--- 785,788 ----
  {   /* Add new patch number below this line */
+ /**/
+     853,
  /**/

-- 
LAUNCELOT: I am, sir. I am a Knight of King Arthur.
FATHER:    'Mm ... very nice castle, Camelot ... very good pig country....
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

 /// 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    ///