|
Karsten Hopp |
03c174 |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
03c174 |
Subject: Patch 7.3.578
|
|
Karsten Hopp |
03c174 |
Fcc: outbox
|
|
Karsten Hopp |
03c174 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
03c174 |
Mime-Version: 1.0
|
|
Karsten Hopp |
03c174 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
03c174 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
03c174 |
------------
|
|
Karsten Hopp |
03c174 |
|
|
Karsten Hopp |
03c174 |
Patch 7.3.578
|
|
Karsten Hopp |
03c174 |
Problem: Misplaced declaration.
|
|
Karsten Hopp |
03c174 |
Solution: Move declaration to start of block.
|
|
Karsten Hopp |
03c174 |
Files: src/if_py_both.h
|
|
Karsten Hopp |
03c174 |
|
|
Karsten Hopp |
03c174 |
|
|
Karsten Hopp |
03c174 |
*** ../vim-7.3.577/src/if_py_both.h 2012-06-29 12:54:32.000000000 +0200
|
|
Karsten Hopp |
03c174 |
--- src/if_py_both.h 2012-06-29 16:15:29.000000000 +0200
|
|
Karsten Hopp |
03c174 |
***************
|
|
Karsten Hopp |
03c174 |
*** 818,838 ****
|
|
Karsten Hopp |
03c174 |
|
|
Karsten Hopp |
03c174 |
if (valObject == NULL)
|
|
Karsten Hopp |
03c174 |
{
|
|
Karsten Hopp |
03c174 |
if (di == NULL)
|
|
Karsten Hopp |
03c174 |
{
|
|
Karsten Hopp |
03c174 |
PyErr_SetString(PyExc_IndexError, _("no such key in dictionary"));
|
|
Karsten Hopp |
03c174 |
return -1;
|
|
Karsten Hopp |
03c174 |
}
|
|
Karsten Hopp |
03c174 |
! hashitem_T *hi = hash_find(&d->dv_hashtab, di->di_key);
|
|
Karsten Hopp |
03c174 |
hash_remove(&d->dv_hashtab, hi);
|
|
Karsten Hopp |
03c174 |
dictitem_free(di);
|
|
Karsten Hopp |
03c174 |
return 0;
|
|
Karsten Hopp |
03c174 |
}
|
|
Karsten Hopp |
03c174 |
|
|
Karsten Hopp |
03c174 |
if (ConvertFromPyObject(valObject, &tv) == -1)
|
|
Karsten Hopp |
03c174 |
- {
|
|
Karsten Hopp |
03c174 |
return -1;
|
|
Karsten Hopp |
03c174 |
- }
|
|
Karsten Hopp |
03c174 |
|
|
Karsten Hopp |
03c174 |
if (di == NULL)
|
|
Karsten Hopp |
03c174 |
{
|
|
Karsten Hopp |
03c174 |
--- 818,838 ----
|
|
Karsten Hopp |
03c174 |
|
|
Karsten Hopp |
03c174 |
if (valObject == NULL)
|
|
Karsten Hopp |
03c174 |
{
|
|
Karsten Hopp |
03c174 |
+ hashitem_T *hi;
|
|
Karsten Hopp |
03c174 |
+
|
|
Karsten Hopp |
03c174 |
if (di == NULL)
|
|
Karsten Hopp |
03c174 |
{
|
|
Karsten Hopp |
03c174 |
PyErr_SetString(PyExc_IndexError, _("no such key in dictionary"));
|
|
Karsten Hopp |
03c174 |
return -1;
|
|
Karsten Hopp |
03c174 |
}
|
|
Karsten Hopp |
03c174 |
! hi = hash_find(&d->dv_hashtab, di->di_key);
|
|
Karsten Hopp |
03c174 |
hash_remove(&d->dv_hashtab, hi);
|
|
Karsten Hopp |
03c174 |
dictitem_free(di);
|
|
Karsten Hopp |
03c174 |
return 0;
|
|
Karsten Hopp |
03c174 |
}
|
|
Karsten Hopp |
03c174 |
|
|
Karsten Hopp |
03c174 |
if (ConvertFromPyObject(valObject, &tv) == -1)
|
|
Karsten Hopp |
03c174 |
return -1;
|
|
Karsten Hopp |
03c174 |
|
|
Karsten Hopp |
03c174 |
if (di == NULL)
|
|
Karsten Hopp |
03c174 |
{
|
|
Karsten Hopp |
03c174 |
*** ../vim-7.3.577/src/version.c 2012-06-29 15:51:26.000000000 +0200
|
|
Karsten Hopp |
03c174 |
--- src/version.c 2012-06-29 16:18:10.000000000 +0200
|
|
Karsten Hopp |
03c174 |
***************
|
|
Karsten Hopp |
03c174 |
*** 716,717 ****
|
|
Karsten Hopp |
03c174 |
--- 716,719 ----
|
|
Karsten Hopp |
03c174 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
03c174 |
+ /**/
|
|
Karsten Hopp |
03c174 |
+ 578,
|
|
Karsten Hopp |
03c174 |
/**/
|
|
Karsten Hopp |
03c174 |
|
|
Karsten Hopp |
03c174 |
--
|
|
Karsten Hopp |
03c174 |
hundred-and-one symptoms of being an internet addict:
|
|
Karsten Hopp |
03c174 |
77. The phone company asks you to test drive their new PBX system
|
|
Karsten Hopp |
03c174 |
|
|
Karsten Hopp |
03c174 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
03c174 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
03c174 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
03c174 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|