|
Karsten Hopp |
464c63 |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
464c63 |
Subject: Patch 7.4.339
|
|
Karsten Hopp |
464c63 |
Fcc: outbox
|
|
Karsten Hopp |
464c63 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
464c63 |
Mime-Version: 1.0
|
|
Karsten Hopp |
464c63 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
464c63 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
464c63 |
------------
|
|
Karsten Hopp |
464c63 |
|
|
Karsten Hopp |
464c63 |
Patch 7.4.339
|
|
Karsten Hopp |
464c63 |
Problem: Local function is available globally.
|
|
Karsten Hopp |
464c63 |
Solution: Add "static".
|
|
Karsten Hopp |
464c63 |
Files: src/option.c, src/proto/option.pro
|
|
Karsten Hopp |
464c63 |
|
|
Karsten Hopp |
464c63 |
|
|
Karsten Hopp |
464c63 |
*** ../vim-7.4.338/src/option.c 2014-06-25 14:39:35.110348584 +0200
|
|
Karsten Hopp |
464c63 |
--- src/option.c 2014-06-25 14:42:33.986355351 +0200
|
|
Karsten Hopp |
464c63 |
***************
|
|
Karsten Hopp |
464c63 |
*** 3074,3079 ****
|
|
Karsten Hopp |
464c63 |
--- 3074,3080 ----
|
|
Karsten Hopp |
464c63 |
static char_u *get_varp_scope __ARGS((struct vimoption *p, int opt_flags));
|
|
Karsten Hopp |
464c63 |
static char_u *get_varp __ARGS((struct vimoption *));
|
|
Karsten Hopp |
464c63 |
static void option_value2string __ARGS((struct vimoption *, int opt_flags));
|
|
Karsten Hopp |
464c63 |
+ static void check_winopt __ARGS((winopt_T *wop));
|
|
Karsten Hopp |
464c63 |
static int wc_use_keyname __ARGS((char_u *varp, long *wcp));
|
|
Karsten Hopp |
464c63 |
#ifdef FEAT_LANGMAP
|
|
Karsten Hopp |
464c63 |
static void langmap_init __ARGS((void));
|
|
Karsten Hopp |
464c63 |
***************
|
|
Karsten Hopp |
464c63 |
*** 10305,10311 ****
|
|
Karsten Hopp |
464c63 |
/*
|
|
Karsten Hopp |
464c63 |
* Check for NULL pointers in a winopt_T and replace them with empty_option.
|
|
Karsten Hopp |
464c63 |
*/
|
|
Karsten Hopp |
464c63 |
! void
|
|
Karsten Hopp |
464c63 |
check_winopt(wop)
|
|
Karsten Hopp |
464c63 |
winopt_T *wop UNUSED;
|
|
Karsten Hopp |
464c63 |
{
|
|
Karsten Hopp |
464c63 |
--- 10306,10312 ----
|
|
Karsten Hopp |
464c63 |
/*
|
|
Karsten Hopp |
464c63 |
* Check for NULL pointers in a winopt_T and replace them with empty_option.
|
|
Karsten Hopp |
464c63 |
*/
|
|
Karsten Hopp |
464c63 |
! static void
|
|
Karsten Hopp |
464c63 |
check_winopt(wop)
|
|
Karsten Hopp |
464c63 |
winopt_T *wop UNUSED;
|
|
Karsten Hopp |
464c63 |
{
|
|
Karsten Hopp |
464c63 |
*** ../vim-7.4.338/src/proto/option.pro 2014-06-25 14:39:35.110348584 +0200
|
|
Karsten Hopp |
464c63 |
--- src/proto/option.pro 2014-06-25 14:42:38.702355530 +0200
|
|
Karsten Hopp |
464c63 |
***************
|
|
Karsten Hopp |
464c63 |
*** 40,46 ****
|
|
Karsten Hopp |
464c63 |
void win_copy_options __ARGS((win_T *wp_from, win_T *wp_to));
|
|
Karsten Hopp |
464c63 |
void copy_winopt __ARGS((winopt_T *from, winopt_T *to));
|
|
Karsten Hopp |
464c63 |
void check_win_options __ARGS((win_T *win));
|
|
Karsten Hopp |
464c63 |
- void check_winopt __ARGS((winopt_T *wop));
|
|
Karsten Hopp |
464c63 |
void clear_winopt __ARGS((winopt_T *wop));
|
|
Karsten Hopp |
464c63 |
void buf_copy_options __ARGS((buf_T *buf, int flags));
|
|
Karsten Hopp |
464c63 |
void reset_modifiable __ARGS((void));
|
|
Karsten Hopp |
464c63 |
--- 40,45 ----
|
|
Karsten Hopp |
464c63 |
*** ../vim-7.4.338/src/version.c 2014-06-25 14:39:35.114348584 +0200
|
|
Karsten Hopp |
464c63 |
--- src/version.c 2014-06-25 14:43:41.502357905 +0200
|
|
Karsten Hopp |
464c63 |
***************
|
|
Karsten Hopp |
464c63 |
*** 736,737 ****
|
|
Karsten Hopp |
464c63 |
--- 736,739 ----
|
|
Karsten Hopp |
464c63 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
464c63 |
+ /**/
|
|
Karsten Hopp |
464c63 |
+ 339,
|
|
Karsten Hopp |
464c63 |
/**/
|
|
Karsten Hopp |
464c63 |
|
|
Karsten Hopp |
464c63 |
--
|
|
Karsten Hopp |
464c63 |
MORTICIAN: What?
|
|
Karsten Hopp |
464c63 |
CUSTOMER: Nothing -- here's your nine pence.
|
|
Karsten Hopp |
464c63 |
DEAD PERSON: I'm not dead!
|
|
Karsten Hopp |
464c63 |
MORTICIAN: Here -- he says he's not dead!
|
|
Karsten Hopp |
464c63 |
CUSTOMER: Yes, he is.
|
|
Karsten Hopp |
464c63 |
DEAD PERSON: I'm not!
|
|
Karsten Hopp |
464c63 |
The Quest for the Holy Grail (Monty Python)
|
|
Karsten Hopp |
464c63 |
|
|
Karsten Hopp |
464c63 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
464c63 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
464c63 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
464c63 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|