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