summaryrefslogtreecommitdiff
path: root/data/vim/patches/8.1.0172
blob: e83559014888a377b101c383610097dc51340ce3 (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
To: vim_dev@googlegroups.com
Subject: Patch 8.1.0172
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.0172
Problem:    'viminfofile' option does not behave like a file name.
Solution:   Add the P_EXPAND flag. (closes #3178)
Files:	    src/option.c


*** ../vim-8.1.0171/src/option.c	Sun Jul  8 16:50:33 2018
--- src/option.c	Sun Jul  8 21:39:50 2018
***************
*** 2997,3003 ****
  			    {(char_u *)0L, (char_u *)0L}
  #endif
  			    SCRIPTID_INIT},
!     {"viminfofile", "vif",  P_STRING|P_ONECOMMA|P_NODUP|P_SECURE|P_VI_DEF,
  #ifdef FEAT_VIMINFO
  			    (char_u *)&p_viminfofile, PV_NONE,
  			    {(char_u *)"", (char_u *)0L}
--- 2997,3004 ----
  			    {(char_u *)0L, (char_u *)0L}
  #endif
  			    SCRIPTID_INIT},
!     {"viminfofile", "vif",  P_STRING|P_EXPAND|P_ONECOMMA|P_NODUP
! 							    |P_SECURE|P_VI_DEF,
  #ifdef FEAT_VIMINFO
  			    (char_u *)&p_viminfofile, PV_NONE,
  			    {(char_u *)"", (char_u *)0L}
*** ../vim-8.1.0171/src/version.c	Sun Jul  8 20:49:03 2018
--- src/version.c	Sun Jul  8 21:44:15 2018
***************
*** 791,792 ****
--- 791,794 ----
  {   /* Add new patch number below this line */
+ /**/
+     172,
  /**/

-- 
I noticed my daughter's Disney-net password on a sticky note:
"MickeyMinnieGoofyPluto".  I asked her why it was so long.
"Because they say it has to have at least four characters."

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