|
Karsten Hopp |
7a4073 |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
7a4073 |
Subject: Patch 7.3.771
|
|
Karsten Hopp |
7a4073 |
Fcc: outbox
|
|
Karsten Hopp |
7a4073 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
7a4073 |
Mime-Version: 1.0
|
|
Karsten Hopp |
7a4073 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
7a4073 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
7a4073 |
------------
|
|
Karsten Hopp |
7a4073 |
|
|
Karsten Hopp |
7a4073 |
Patch 7.3.771 (after 7.3.769)
|
|
Karsten Hopp |
7a4073 |
Problem: Uninitialized variable. (Yasuhiro Matsumoto)
|
|
Karsten Hopp |
7a4073 |
Solution: Set x2 to -1.
|
|
Karsten Hopp |
7a4073 |
Files: src/option.c
|
|
Karsten Hopp |
7a4073 |
|
|
Karsten Hopp |
7a4073 |
|
|
Karsten Hopp |
7a4073 |
*** ../vim-7.3.770/src/option.c 2013-01-17 17:01:56.000000000 +0100
|
|
Karsten Hopp |
7a4073 |
--- src/option.c 2013-01-17 17:31:56.000000000 +0100
|
|
Karsten Hopp |
7a4073 |
***************
|
|
Karsten Hopp |
7a4073 |
*** 6154,6160 ****
|
|
Karsten Hopp |
7a4073 |
{
|
|
Karsten Hopp |
7a4073 |
for (p = *varp; *p != NUL; ++p)
|
|
Karsten Hopp |
7a4073 |
{
|
|
Karsten Hopp |
7a4073 |
! int x2,x3 = -1;
|
|
Karsten Hopp |
7a4073 |
|
|
Karsten Hopp |
7a4073 |
if (*p != NUL)
|
|
Karsten Hopp |
7a4073 |
p += mb_ptr2len(p);
|
|
Karsten Hopp |
7a4073 |
--- 6154,6161 ----
|
|
Karsten Hopp |
7a4073 |
{
|
|
Karsten Hopp |
7a4073 |
for (p = *varp; *p != NUL; ++p)
|
|
Karsten Hopp |
7a4073 |
{
|
|
Karsten Hopp |
7a4073 |
! int x2 = -1;
|
|
Karsten Hopp |
7a4073 |
! int x3 = -1;
|
|
Karsten Hopp |
7a4073 |
|
|
Karsten Hopp |
7a4073 |
if (*p != NUL)
|
|
Karsten Hopp |
7a4073 |
p += mb_ptr2len(p);
|
|
Karsten Hopp |
7a4073 |
***************
|
|
Karsten Hopp |
7a4073 |
*** 6165,6172 ****
|
|
Karsten Hopp |
7a4073 |
x3 = mb_ptr2char(p);
|
|
Karsten Hopp |
7a4073 |
p += mb_ptr2len(p);
|
|
Karsten Hopp |
7a4073 |
}
|
|
Karsten Hopp |
7a4073 |
! if (x2 != ':' || x2 == -1 || x3 == -1
|
|
Karsten Hopp |
7a4073 |
! || (*p != NUL && *p != ','))
|
|
Karsten Hopp |
7a4073 |
{
|
|
Karsten Hopp |
7a4073 |
errmsg = e_invarg;
|
|
Karsten Hopp |
7a4073 |
break;
|
|
Karsten Hopp |
7a4073 |
--- 6166,6172 ----
|
|
Karsten Hopp |
7a4073 |
x3 = mb_ptr2char(p);
|
|
Karsten Hopp |
7a4073 |
p += mb_ptr2len(p);
|
|
Karsten Hopp |
7a4073 |
}
|
|
Karsten Hopp |
7a4073 |
! if (x2 != ':' || x3 == -1 || (*p != NUL && *p != ','))
|
|
Karsten Hopp |
7a4073 |
{
|
|
Karsten Hopp |
7a4073 |
errmsg = e_invarg;
|
|
Karsten Hopp |
7a4073 |
break;
|
|
Karsten Hopp |
7a4073 |
*** ../vim-7.3.770/src/version.c 2013-01-17 17:17:21.000000000 +0100
|
|
Karsten Hopp |
7a4073 |
--- src/version.c 2013-01-17 17:37:24.000000000 +0100
|
|
Karsten Hopp |
7a4073 |
***************
|
|
Karsten Hopp |
7a4073 |
*** 727,728 ****
|
|
Karsten Hopp |
7a4073 |
--- 727,730 ----
|
|
Karsten Hopp |
7a4073 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
7a4073 |
+ /**/
|
|
Karsten Hopp |
7a4073 |
+ 771,
|
|
Karsten Hopp |
7a4073 |
/**/
|
|
Karsten Hopp |
7a4073 |
|
|
Karsten Hopp |
7a4073 |
--
|
|
Karsten Hopp |
7a4073 |
GALAHAD turns back. We see from his POV the lovely ZOOT standing by him
|
|
Karsten Hopp |
7a4073 |
smiling enchantingly and a number of equally delectable GIRLIES draped
|
|
Karsten Hopp |
7a4073 |
around in the seductively poulticed room. They look at him smilingly and
|
|
Karsten Hopp |
7a4073 |
wave.
|
|
Karsten Hopp |
7a4073 |
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
|
|
Karsten Hopp |
7a4073 |
|
|
Karsten Hopp |
7a4073 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
7a4073 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
7a4073 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
7a4073 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|