|
Karsten Hopp |
cd4123 |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
cd4123 |
Subject: Patch 7.4.179
|
|
Karsten Hopp |
cd4123 |
Fcc: outbox
|
|
Karsten Hopp |
cd4123 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
cd4123 |
Mime-Version: 1.0
|
|
Karsten Hopp |
cd4123 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
cd4123 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
cd4123 |
------------
|
|
Karsten Hopp |
cd4123 |
|
|
Karsten Hopp |
cd4123 |
Patch 7.4.179
|
|
Karsten Hopp |
cd4123 |
Problem: Warning for type-punned pointer. (Tony Mechelynck)
|
|
Karsten Hopp |
cd4123 |
Solution: Use intermediate variable.
|
|
Karsten Hopp |
cd4123 |
Files: src/if_py_both.h
|
|
Karsten Hopp |
cd4123 |
|
|
Karsten Hopp |
cd4123 |
|
|
Karsten Hopp |
cd4123 |
*** ../vim-7.4.178/src/if_py_both.h 2014-02-11 18:47:18.678311042 +0100
|
|
Karsten Hopp |
cd4123 |
--- src/if_py_both.h 2014-02-11 18:41:12.774305435 +0100
|
|
Karsten Hopp |
cd4123 |
***************
|
|
Karsten Hopp |
cd4123 |
*** 1617,1624 ****
|
|
Karsten Hopp |
cd4123 |
}
|
|
Karsten Hopp |
cd4123 |
else if (flags & DICT_FLAG_RETURN_BOOL)
|
|
Karsten Hopp |
cd4123 |
{
|
|
Karsten Hopp |
cd4123 |
! Py_INCREF(Py_True);
|
|
Karsten Hopp |
cd4123 |
! return Py_True;
|
|
Karsten Hopp |
cd4123 |
}
|
|
Karsten Hopp |
cd4123 |
|
|
Karsten Hopp |
cd4123 |
di = dict_lookup(hi);
|
|
Karsten Hopp |
cd4123 |
--- 1617,1625 ----
|
|
Karsten Hopp |
cd4123 |
}
|
|
Karsten Hopp |
cd4123 |
else if (flags & DICT_FLAG_RETURN_BOOL)
|
|
Karsten Hopp |
cd4123 |
{
|
|
Karsten Hopp |
cd4123 |
! ret = Py_True;
|
|
Karsten Hopp |
cd4123 |
! Py_INCREF(ret);
|
|
Karsten Hopp |
cd4123 |
! return ret;
|
|
Karsten Hopp |
cd4123 |
}
|
|
Karsten Hopp |
cd4123 |
|
|
Karsten Hopp |
cd4123 |
di = dict_lookup(hi);
|
|
Karsten Hopp |
cd4123 |
*** ../vim-7.4.178/src/version.c 2014-02-11 19:33:03.358353098 +0100
|
|
Karsten Hopp |
cd4123 |
--- src/version.c 2014-02-12 22:08:16.795819706 +0100
|
|
Karsten Hopp |
cd4123 |
***************
|
|
Karsten Hopp |
cd4123 |
*** 740,741 ****
|
|
Karsten Hopp |
cd4123 |
--- 740,743 ----
|
|
Karsten Hopp |
cd4123 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
cd4123 |
+ /**/
|
|
Karsten Hopp |
cd4123 |
+ 179,
|
|
Karsten Hopp |
cd4123 |
/**/
|
|
Karsten Hopp |
cd4123 |
|
|
Karsten Hopp |
cd4123 |
--
|
|
Karsten Hopp |
cd4123 |
Luxury. We used to have to get out of the lake at three o'clock in the
|
|
Karsten Hopp |
cd4123 |
morning, clean the lake, eat a handful of hot gravel, go to work at the
|
|
Karsten Hopp |
cd4123 |
mill every day for tuppence a month, come home, and Dad would beat us
|
|
Karsten Hopp |
cd4123 |
around the head and neck with a broken bottle, if we were LUCKY!
|
|
Karsten Hopp |
cd4123 |
|
|
Karsten Hopp |
cd4123 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
cd4123 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
cd4123 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
cd4123 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|