|
Karsten Hopp |
adf6b4 |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
adf6b4 |
Subject: Patch 7.4.174
|
|
Karsten Hopp |
adf6b4 |
Fcc: outbox
|
|
Karsten Hopp |
adf6b4 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
adf6b4 |
Mime-Version: 1.0
|
|
Karsten Hopp |
adf6b4 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
adf6b4 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
adf6b4 |
------------
|
|
Karsten Hopp |
adf6b4 |
|
|
Karsten Hopp |
adf6b4 |
Patch 7.4.174
|
|
Karsten Hopp |
adf6b4 |
Problem: Compiler warnings for Python interface. (Tony Mechelynck)
|
|
Karsten Hopp |
adf6b4 |
Solution: Add type casts, initialize variable.
|
|
Karsten Hopp |
adf6b4 |
Files: src/if_py_both.h
|
|
Karsten Hopp |
adf6b4 |
|
|
Karsten Hopp |
adf6b4 |
|
|
Karsten Hopp |
adf6b4 |
*** ../vim-7.4.173/src/if_py_both.h 2014-01-31 14:53:59.715533645 +0100
|
|
Karsten Hopp |
adf6b4 |
--- src/if_py_both.h 2014-02-11 15:57:30.678154932 +0100
|
|
Karsten Hopp |
adf6b4 |
***************
|
|
Karsten Hopp |
adf6b4 |
*** 2368,2374 ****
|
|
Karsten Hopp |
adf6b4 |
PyInt numreplaced = 0;
|
|
Karsten Hopp |
adf6b4 |
PyInt numadded = 0;
|
|
Karsten Hopp |
adf6b4 |
PyInt size;
|
|
Karsten Hopp |
adf6b4 |
! listitem_T **lis;
|
|
Karsten Hopp |
adf6b4 |
|
|
Karsten Hopp |
adf6b4 |
size = ListLength(self);
|
|
Karsten Hopp |
adf6b4 |
|
|
Karsten Hopp |
adf6b4 |
--- 2368,2374 ----
|
|
Karsten Hopp |
adf6b4 |
PyInt numreplaced = 0;
|
|
Karsten Hopp |
adf6b4 |
PyInt numadded = 0;
|
|
Karsten Hopp |
adf6b4 |
PyInt size;
|
|
Karsten Hopp |
adf6b4 |
! listitem_T **lis = NULL;
|
|
Karsten Hopp |
adf6b4 |
|
|
Karsten Hopp |
adf6b4 |
size = ListLength(self);
|
|
Karsten Hopp |
adf6b4 |
|
|
Karsten Hopp |
adf6b4 |
***************
|
|
Karsten Hopp |
adf6b4 |
*** 2503,2510 ****
|
|
Karsten Hopp |
adf6b4 |
{
|
|
Karsten Hopp |
adf6b4 |
Py_DECREF(iterator);
|
|
Karsten Hopp |
adf6b4 |
PyErr_FORMAT(PyExc_ValueError,
|
|
Karsten Hopp |
adf6b4 |
! N_("attempt to assign sequence of size greater then %d "
|
|
Karsten Hopp |
adf6b4 |
! "to extended slice"), slicelen);
|
|
Karsten Hopp |
adf6b4 |
list_restore(numadded, numreplaced, slicelen, l, lis, lastaddedli);
|
|
Karsten Hopp |
adf6b4 |
PyMem_Free(lis);
|
|
Karsten Hopp |
adf6b4 |
return -1;
|
|
Karsten Hopp |
adf6b4 |
--- 2503,2510 ----
|
|
Karsten Hopp |
adf6b4 |
{
|
|
Karsten Hopp |
adf6b4 |
Py_DECREF(iterator);
|
|
Karsten Hopp |
adf6b4 |
PyErr_FORMAT(PyExc_ValueError,
|
|
Karsten Hopp |
adf6b4 |
! N_("attempt to assign sequence of size greater then %ld "
|
|
Karsten Hopp |
adf6b4 |
! "to extended slice"), (long)slicelen);
|
|
Karsten Hopp |
adf6b4 |
list_restore(numadded, numreplaced, slicelen, l, lis, lastaddedli);
|
|
Karsten Hopp |
adf6b4 |
PyMem_Free(lis);
|
|
Karsten Hopp |
adf6b4 |
return -1;
|
|
Karsten Hopp |
adf6b4 |
***************
|
|
Karsten Hopp |
adf6b4 |
*** 2516,2523 ****
|
|
Karsten Hopp |
adf6b4 |
if (step != 1 && i != slicelen)
|
|
Karsten Hopp |
adf6b4 |
{
|
|
Karsten Hopp |
adf6b4 |
PyErr_FORMAT2(PyExc_ValueError,
|
|
Karsten Hopp |
adf6b4 |
! N_("attempt to assign sequence of size %d to extended slice "
|
|
Karsten Hopp |
adf6b4 |
! "of size %d"), i, slicelen);
|
|
Karsten Hopp |
adf6b4 |
list_restore(numadded, numreplaced, slicelen, l, lis, lastaddedli);
|
|
Karsten Hopp |
adf6b4 |
PyMem_Free(lis);
|
|
Karsten Hopp |
adf6b4 |
return -1;
|
|
Karsten Hopp |
adf6b4 |
--- 2516,2523 ----
|
|
Karsten Hopp |
adf6b4 |
if (step != 1 && i != slicelen)
|
|
Karsten Hopp |
adf6b4 |
{
|
|
Karsten Hopp |
adf6b4 |
PyErr_FORMAT2(PyExc_ValueError,
|
|
Karsten Hopp |
adf6b4 |
! N_("attempt to assign sequence of size %ld to extended slice "
|
|
Karsten Hopp |
adf6b4 |
! "of size %ld"), (long)i, (long)slicelen);
|
|
Karsten Hopp |
adf6b4 |
list_restore(numadded, numreplaced, slicelen, l, lis, lastaddedli);
|
|
Karsten Hopp |
adf6b4 |
PyMem_Free(lis);
|
|
Karsten Hopp |
adf6b4 |
return -1;
|
|
Karsten Hopp |
adf6b4 |
*** ../vim-7.4.173/src/version.c 2014-02-11 15:47:41.382145902 +0100
|
|
Karsten Hopp |
adf6b4 |
--- src/version.c 2014-02-11 15:59:04.646156372 +0100
|
|
Karsten Hopp |
adf6b4 |
***************
|
|
Karsten Hopp |
adf6b4 |
*** 740,741 ****
|
|
Karsten Hopp |
adf6b4 |
--- 740,743 ----
|
|
Karsten Hopp |
adf6b4 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
adf6b4 |
+ /**/
|
|
Karsten Hopp |
adf6b4 |
+ 174,
|
|
Karsten Hopp |
adf6b4 |
/**/
|
|
Karsten Hopp |
adf6b4 |
|
|
Karsten Hopp |
adf6b4 |
--
|
|
Karsten Hopp |
adf6b4 |
DINGO: You must spank her well and after you have spanked her you
|
|
Karsten Hopp |
adf6b4 |
may deal with her as you like and then ... spank me.
|
|
Karsten Hopp |
adf6b4 |
AMAZING: And spank me!
|
|
Karsten Hopp |
adf6b4 |
STUNNER: And me.
|
|
Karsten Hopp |
adf6b4 |
LOVELY: And me.
|
|
Karsten Hopp |
adf6b4 |
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
|
|
Karsten Hopp |
adf6b4 |
|
|
Karsten Hopp |
adf6b4 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
adf6b4 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
adf6b4 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
adf6b4 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|