home *** CD-ROM | disk | FTP | other *** search
/ vim.ftp.fu-berlin.de / 2015-02-03.vim.ftp.fu-berlin.de.tar / vim.ftp.fu-berlin.de / patches / 7.4 / 7.4.179 < prev    next >
Encoding:
Internet Message Format  |  2014-02-11  |  1.6 KB

  1. To: vim_dev@googlegroups.com
  2. Subject: Patch 7.4.179
  3. Fcc: outbox
  4. From: Bram Moolenaar <Bram@moolenaar.net>
  5. Mime-Version: 1.0
  6. Content-Type: text/plain; charset=UTF-8
  7. Content-Transfer-Encoding: 8bit
  8. ------------
  9.  
  10. Patch 7.4.179
  11. Problem:    Warning for type-punned pointer. (Tony Mechelynck)
  12. Solution:   Use intermediate variable.
  13. Files:        src/if_py_both.h
  14.  
  15.  
  16. *** ../vim-7.4.178/src/if_py_both.h    2014-02-11 18:47:18.678311042 +0100
  17. --- src/if_py_both.h    2014-02-11 18:41:12.774305435 +0100
  18. ***************
  19. *** 1617,1624 ****
  20.       }
  21.       else if (flags & DICT_FLAG_RETURN_BOOL)
  22.       {
  23. !     Py_INCREF(Py_True);
  24. !     return Py_True;
  25.       }
  26.   
  27.       di = dict_lookup(hi);
  28. --- 1617,1625 ----
  29.       }
  30.       else if (flags & DICT_FLAG_RETURN_BOOL)
  31.       {
  32. !     ret = Py_True;
  33. !     Py_INCREF(ret);
  34. !     return ret;
  35.       }
  36.   
  37.       di = dict_lookup(hi);
  38. *** ../vim-7.4.178/src/version.c    2014-02-11 19:33:03.358353098 +0100
  39. --- src/version.c    2014-02-12 22:08:16.795819706 +0100
  40. ***************
  41. *** 740,741 ****
  42. --- 740,743 ----
  43.   {   /* Add new patch number below this line */
  44. + /**/
  45. +     179,
  46.   /**/
  47.  
  48. -- 
  49. Luxury. We used to have to get out of the lake at three o'clock in the 
  50. morning, clean the lake, eat a handful of hot gravel, go to work at the 
  51. mill every day for tuppence a month, come home, and Dad would beat us 
  52. around the head and neck with a broken bottle, if we were LUCKY!
  53.  
  54.  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
  55. ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
  56. \\\  an exciting new programming language -- http://www.Zimbu.org        ///
  57.  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
  58.