summaryrefslogtreecommitdiffstats
path: root/source/ap/vim/patches/7.3.114
blob: 34bdd364ef2f8f55be7fe3a06b1e6784bfbcd709 (about) (plain) (blame)
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
To: vim_dev@googlegroups.com
Subject: Patch 7.3.114
Fcc: outbox
From: Bram Moolenaar <Bram@moolenaar.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
------------

Patch 7.3.114
Problem:    Potential problem in initialization when giving an error message
	    early.
Solution:   Initialize 'verbosefile' empty. (Ben Schmidt)
Files:	    src/option.h


*** ../vim-7.3.113/src/option.h	2010-12-02 16:01:23.000000000 +0100
--- src/option.h	2011-02-09 15:37:36.000000000 +0100
***************
*** 854,860 ****
--- 854,864 ----
  # define VE_ONEMORE	8
  #endif
  EXTERN long	p_verbose;	/* 'verbose' */
+ #ifdef IN_OPTION_C
+ char_u	*p_vfile = (char_u *)""; /* used before options are initialized */
+ #else
  EXTERN char_u	*p_vfile;	/* 'verbosefile' */
+ #endif
  EXTERN int	p_warn;		/* 'warn' */
  #ifdef FEAT_CMDL_COMPL
  EXTERN char_u	*p_wop;		/* 'wildoptions' */
*** ../vim-7.3.113/src/version.c	2011-02-09 14:46:58.000000000 +0100
--- src/version.c	2011-02-09 15:46:17.000000000 +0100
***************
*** 716,717 ****
--- 716,719 ----
  {   /* Add new patch number below this line */
+ /**/
+     114,
  /**/

-- 
From the classified section of a city newspaper:
Dog for sale: eats anything and is fond of children.

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