|
Karsten Hopp |
bedd77 |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
bedd77 |
Subject: Patch 7.4.780
|
|
Karsten Hopp |
bedd77 |
Fcc: outbox
|
|
Karsten Hopp |
bedd77 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
bedd77 |
Mime-Version: 1.0
|
|
Karsten Hopp |
bedd77 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
bedd77 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
bedd77 |
------------
|
|
Karsten Hopp |
bedd77 |
|
|
Karsten Hopp |
bedd77 |
Patch 7.4.780
|
|
Karsten Hopp |
bedd77 |
Problem: Compiler complains about uninitialized variable and clobbered
|
|
Karsten Hopp |
bedd77 |
variables.
|
|
Karsten Hopp |
bedd77 |
Solution: Add Initialization. Make variables static.
|
|
Karsten Hopp |
bedd77 |
Files: src/ops.c, src/main.c
|
|
Karsten Hopp |
bedd77 |
|
|
Karsten Hopp |
bedd77 |
|
|
Karsten Hopp |
bedd77 |
*** ../vim-7.4.779/src/ops.c 2015-07-12 15:02:27.396634029 +0200
|
|
Karsten Hopp |
bedd77 |
--- src/ops.c 2015-07-12 16:14:53.815524705 +0200
|
|
Karsten Hopp |
bedd77 |
***************
|
|
Karsten Hopp |
bedd77 |
*** 5403,5409 ****
|
|
Karsten Hopp |
bedd77 |
int i;
|
|
Karsten Hopp |
bedd77 |
int lnum = curwin->w_cursor.lnum;
|
|
Karsten Hopp |
bedd77 |
int lnume = curwin->w_cursor.lnum;
|
|
Karsten Hopp |
bedd77 |
! int startcol;
|
|
Karsten Hopp |
bedd77 |
int did_change = FALSE;
|
|
Karsten Hopp |
bedd77 |
|
|
Karsten Hopp |
bedd77 |
dohex = (vim_strchr(curbuf->b_p_nf, 'x') != NULL); /* "heX" */
|
|
Karsten Hopp |
bedd77 |
--- 5403,5409 ----
|
|
Karsten Hopp |
bedd77 |
int i;
|
|
Karsten Hopp |
bedd77 |
int lnum = curwin->w_cursor.lnum;
|
|
Karsten Hopp |
bedd77 |
int lnume = curwin->w_cursor.lnum;
|
|
Karsten Hopp |
bedd77 |
! int startcol = 0;
|
|
Karsten Hopp |
bedd77 |
int did_change = FALSE;
|
|
Karsten Hopp |
bedd77 |
|
|
Karsten Hopp |
bedd77 |
dohex = (vim_strchr(curbuf->b_p_nf, 'x') != NULL); /* "heX" */
|
|
Karsten Hopp |
bedd77 |
*** ../vim-7.4.779/src/main.c 2015-07-03 13:32:56.121020898 +0200
|
|
Karsten Hopp |
bedd77 |
--- src/main.c 2015-07-12 16:18:30.961478337 +0200
|
|
Karsten Hopp |
bedd77 |
***************
|
|
Karsten Hopp |
bedd77 |
*** 1069,1077 ****
|
|
Karsten Hopp |
bedd77 |
oparg_T oa; /* operator arguments */
|
|
Karsten Hopp |
bedd77 |
volatile int previous_got_int = FALSE; /* "got_int" was TRUE */
|
|
Karsten Hopp |
bedd77 |
#ifdef FEAT_CONCEAL
|
|
Karsten Hopp |
bedd77 |
! linenr_T conceal_old_cursor_line = 0;
|
|
Karsten Hopp |
bedd77 |
! linenr_T conceal_new_cursor_line = 0;
|
|
Karsten Hopp |
bedd77 |
! int conceal_update_lines = FALSE;
|
|
Karsten Hopp |
bedd77 |
#endif
|
|
Karsten Hopp |
bedd77 |
|
|
Karsten Hopp |
bedd77 |
#if defined(FEAT_X11) && defined(FEAT_XCLIPBOARD)
|
|
Karsten Hopp |
bedd77 |
--- 1069,1078 ----
|
|
Karsten Hopp |
bedd77 |
oparg_T oa; /* operator arguments */
|
|
Karsten Hopp |
bedd77 |
volatile int previous_got_int = FALSE; /* "got_int" was TRUE */
|
|
Karsten Hopp |
bedd77 |
#ifdef FEAT_CONCEAL
|
|
Karsten Hopp |
bedd77 |
! /* these are static to avoid a compiler warning */
|
|
Karsten Hopp |
bedd77 |
! static linenr_T conceal_old_cursor_line = 0;
|
|
Karsten Hopp |
bedd77 |
! static linenr_T conceal_new_cursor_line = 0;
|
|
Karsten Hopp |
bedd77 |
! static int conceal_update_lines = FALSE;
|
|
Karsten Hopp |
bedd77 |
#endif
|
|
Karsten Hopp |
bedd77 |
|
|
Karsten Hopp |
bedd77 |
#if defined(FEAT_X11) && defined(FEAT_XCLIPBOARD)
|
|
Karsten Hopp |
bedd77 |
*** ../vim-7.4.779/src/version.c 2015-07-12 15:02:27.396634029 +0200
|
|
Karsten Hopp |
bedd77 |
--- src/version.c 2015-07-12 16:15:42.383065560 +0200
|
|
Karsten Hopp |
bedd77 |
***************
|
|
Karsten Hopp |
bedd77 |
*** 743,744 ****
|
|
Karsten Hopp |
bedd77 |
--- 743,746 ----
|
|
Karsten Hopp |
bedd77 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
bedd77 |
+ /**/
|
|
Karsten Hopp |
bedd77 |
+ 780,
|
|
Karsten Hopp |
bedd77 |
/**/
|
|
Karsten Hopp |
bedd77 |
|
|
Karsten Hopp |
bedd77 |
--
|
|
Karsten Hopp |
bedd77 |
hundred-and-one symptoms of being an internet addict:
|
|
Karsten Hopp |
bedd77 |
211. Your husband leaves you...taking the computer with him and you
|
|
Karsten Hopp |
bedd77 |
call him crying, and beg him to bring the computer back.
|
|
Karsten Hopp |
bedd77 |
|
|
Karsten Hopp |
bedd77 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
bedd77 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
bedd77 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
bedd77 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|