jkunstle / rpms / vim

Forked from rpms/vim 3 years ago
Clone

Blame SOURCES/7.4.060

3ef2ca
To: vim_dev@googlegroups.com
3ef2ca
Subject: Patch 7.4.060
3ef2ca
Fcc: outbox
3ef2ca
From: Bram Moolenaar <Bram@moolenaar.net>
3ef2ca
Mime-Version: 1.0
3ef2ca
Content-Type: text/plain; charset=UTF-8
3ef2ca
Content-Transfer-Encoding: 8bit
3ef2ca
------------
3ef2ca
3ef2ca
Patch 7.4.060
3ef2ca
Problem:    Declaration has wrong return type for PyObject_SetAttrString().
3ef2ca
Solution:   Use int instead of PyObject. (Andreas Schwab)
3ef2ca
Files:      src/if_python.c, src/if_python3.c
3ef2ca
3ef2ca
3ef2ca
*** ../vim-7.4.059/src/if_python.c	2013-07-09 21:40:11.000000000 +0200
3ef2ca
--- src/if_python.c	2013-11-03 00:24:57.000000000 +0100
3ef2ca
***************
3ef2ca
*** 359,365 ****
3ef2ca
  static PyObject *(*dll_PyRun_String)(char *, int, PyObject *, PyObject *);
3ef2ca
  static PyObject* (*dll_PyObject_GetAttrString)(PyObject *, const char *);
3ef2ca
  static int (*dll_PyObject_HasAttrString)(PyObject *, const char *);
3ef2ca
! static PyObject* (*dll_PyObject_SetAttrString)(PyObject *, const char *, PyObject *);
3ef2ca
  static PyObject* (*dll_PyObject_CallFunctionObjArgs)(PyObject *, ...);
3ef2ca
  static PyObject* (*dll_PyObject_CallFunction)(PyObject *, char *, ...);
3ef2ca
  static PyObject* (*dll_PyObject_Call)(PyObject *, PyObject *, PyObject *);
3ef2ca
--- 359,365 ----
3ef2ca
  static PyObject *(*dll_PyRun_String)(char *, int, PyObject *, PyObject *);
3ef2ca
  static PyObject* (*dll_PyObject_GetAttrString)(PyObject *, const char *);
3ef2ca
  static int (*dll_PyObject_HasAttrString)(PyObject *, const char *);
3ef2ca
! static int (*dll_PyObject_SetAttrString)(PyObject *, const char *, PyObject *);
3ef2ca
  static PyObject* (*dll_PyObject_CallFunctionObjArgs)(PyObject *, ...);
3ef2ca
  static PyObject* (*dll_PyObject_CallFunction)(PyObject *, char *, ...);
3ef2ca
  static PyObject* (*dll_PyObject_Call)(PyObject *, PyObject *, PyObject *);
3ef2ca
*** ../vim-7.4.059/src/if_python3.c	2013-07-09 21:53:21.000000000 +0200
3ef2ca
--- src/if_python3.c	2013-11-03 00:24:57.000000000 +0100
3ef2ca
***************
3ef2ca
*** 302,308 ****
3ef2ca
  static PyObject* (*py3_PyRun_String)(char *, int, PyObject *, PyObject *);
3ef2ca
  static PyObject* (*py3_PyObject_GetAttrString)(PyObject *, const char *);
3ef2ca
  static int (*py3_PyObject_HasAttrString)(PyObject *, const char *);
3ef2ca
! static PyObject* (*py3_PyObject_SetAttrString)(PyObject *, const char *, PyObject *);
3ef2ca
  static PyObject* (*py3_PyObject_CallFunctionObjArgs)(PyObject *, ...);
3ef2ca
  static PyObject* (*py3__PyObject_CallFunction_SizeT)(PyObject *, char *, ...);
3ef2ca
  static PyObject* (*py3_PyObject_Call)(PyObject *, PyObject *, PyObject *);
3ef2ca
--- 302,308 ----
3ef2ca
  static PyObject* (*py3_PyRun_String)(char *, int, PyObject *, PyObject *);
3ef2ca
  static PyObject* (*py3_PyObject_GetAttrString)(PyObject *, const char *);
3ef2ca
  static int (*py3_PyObject_HasAttrString)(PyObject *, const char *);
3ef2ca
! static int (*py3_PyObject_SetAttrString)(PyObject *, const char *, PyObject *);
3ef2ca
  static PyObject* (*py3_PyObject_CallFunctionObjArgs)(PyObject *, ...);
3ef2ca
  static PyObject* (*py3__PyObject_CallFunction_SizeT)(PyObject *, char *, ...);
3ef2ca
  static PyObject* (*py3_PyObject_Call)(PyObject *, PyObject *, PyObject *);
3ef2ca
*** ../vim-7.4.059/src/version.c	2013-11-03 00:20:46.000000000 +0100
3ef2ca
--- src/version.c	2013-11-03 00:26:19.000000000 +0100
3ef2ca
***************
3ef2ca
*** 740,741 ****
3ef2ca
--- 740,743 ----
3ef2ca
  {   /* Add new patch number below this line */
3ef2ca
+ /**/
3ef2ca
+     60,
3ef2ca
  /**/
3ef2ca
3ef2ca
-- 
3ef2ca
Kisses may last for as much as, but no more than, five minutes.
3ef2ca
		[real standing law in Iowa, United States of America]
3ef2ca
3ef2ca
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
3ef2ca
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
3ef2ca
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
3ef2ca
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///