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