summaryrefslogtreecommitdiff
path: root/data/vim/patches/8.1.1075
blob: eeb7c339acf913ac3add76fdc7c501ee080d96fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
To: vim_dev@googlegroups.com
Subject: Patch 8.1.1075
Fcc: outbox
From: Bram Moolenaar <Bram@moolenaar.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
------------

Patch 8.1.1075
Problem:    Function reference count wrong in Python code.
Solution:   Use "O" instead of "N" for the arguments. (Ben Jackson,
            closes #4188)
Files:	    src/if_py_both.h


*** ../vim-8.1.1074/src/if_py_both.h	2019-03-23 17:41:56.217138373 +0100
--- src/if_py_both.h	2019-03-30 12:46:19.752622049 +0100
***************
*** 1210,1216 ****
      if (!(paths = Vim_GetPaths(self)))
  	return NULL;
  
!     spec = PyObject_CallFunction(py_find_spec, "sNN", fullname, paths, target);
  
      Py_DECREF(paths);
  
--- 1210,1216 ----
      if (!(paths = Vim_GetPaths(self)))
  	return NULL;
  
!     spec = PyObject_CallFunction(py_find_spec, "sOO", fullname, paths, target);
  
      Py_DECREF(paths);
  
*** ../vim-8.1.1074/src/version.c	2019-03-30 12:33:07.845473937 +0100
--- src/version.c	2019-03-30 12:47:47.860086777 +0100
***************
*** 777,778 ****
--- 777,780 ----
  {   /* Add new patch number below this line */
+ /**/
+     1075,
  /**/

-- 
hundred-and-one symptoms of being an internet addict:
153. You find yourself staring at your "inbox" waiting for new e-mail
     to arrive.

 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///