# HG changeset patch # User Bram Moolenaar # Date 1297263577 -3600 # Node ID a041f68d05909431f0a525eace55307214c33d43 # Parent b0605f2f9786c14e943a0ab440c16b444f2a9cac updated for version 7.3.114 Problem: Potential problem in initialization when giving an error message early. Solution: Initialize 'verbosefile' empty. (Ben Schmidt) diff --git a/src/option.h b/src/option.h --- a/src/option.h +++ b/src/option.h @@ -854,7 +854,11 @@ static char *(p_ve_values[]) = {"block", # 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' */ diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -715,6 +715,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 114, +/**/ 113, /**/ 112,