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