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