]> git.pld-linux.org Git - packages/vim.git/blob - 7.0.112
- new
[packages/vim.git] / 7.0.112
1 To: vim-dev@vim.org
2 Subject: Patch 7.0.112
3 Fcc: outbox
4 From: Bram Moolenaar <Bram@moolenaar.net>
5 Mime-Version: 1.0
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
8 ------------
9
10 Patch 7.0.112
11 Problem:    Python interface does not work with Python 2.5.
12 Solution:   Change PyMem_DEL() to Py_DECREF(). (Sumner Hayes)
13 Files:      src/if_python.c
14
15
16 *** ../vim-7.0.111/src/if_python.c      Sun Apr 30 20:48:37 2006
17 --- src/if_python.c     Fri Sep 22 15:08:33 2006
18 ***************
19 *** 1463,1469 ****
20       if (this->buf && this->buf != INVALID_BUFFER_VALUE)
21         this->buf->b_python_ref = NULL;
22   
23 !     PyMem_DEL(self);
24   }
25   
26       static PyObject *
27 --- 1463,1469 ----
28       if (this->buf && this->buf != INVALID_BUFFER_VALUE)
29         this->buf->b_python_ref = NULL;
30   
31 !     Py_DECREF(self);
32   }
33   
34       static PyObject *
35 ***************
36 *** 1674,1680 ****
37       bufr = (BufferObject *)BufferNew(buf);
38       if (bufr == NULL)
39       {
40 !       PyMem_DEL(self);
41         return NULL;
42       }
43       Py_INCREF(bufr);
44 --- 1674,1680 ----
45       bufr = (BufferObject *)BufferNew(buf);
46       if (bufr == NULL)
47       {
48 !       Py_DECREF(self);
49         return NULL;
50       }
51       Py_INCREF(bufr);
52 ***************
53 *** 1690,1696 ****
54   RangeDestructor(PyObject *self)
55   {
56       Py_DECREF(((RangeObject *)(self))->buf);
57 !     PyMem_DEL(self);
58   }
59   
60       static PyObject *
61 --- 1690,1696 ----
62   RangeDestructor(PyObject *self)
63   {
64       Py_DECREF(((RangeObject *)(self))->buf);
65 !     Py_DECREF(self);
66   }
67   
68       static PyObject *
69 ***************
70 *** 1944,1950 ****
71       if (this->win && this->win != INVALID_WINDOW_VALUE)
72         this->win->w_python_ref = NULL;
73   
74 !     PyMem_DEL(self);
75   }
76   
77       static int
78 --- 1944,1950 ----
79       if (this->win && this->win != INVALID_WINDOW_VALUE)
80         this->win->w_python_ref = NULL;
81   
82 !     Py_DECREF(self);
83   }
84   
85       static int
86 *** ../vim-7.0.111/src/version.c        Tue Oct  3 14:43:31 2006
87 --- src/version.c       Tue Oct  3 14:46:10 2006
88 ***************
89 *** 668,669 ****
90 --- 668,671 ----
91   {   /* Add new patch number below this line */
92 + /**/
93 +     112,
94   /**/
95
96 -- 
97 A salesperson says:            Translation:
98 "backward compatible"          Old technology
99 "Premium"                      Overpriced
100 "Can't keep it on the shelf"   Unavailable
101 "Stands alone"                 Piece of shit
102 "Proprietary"                  Incompatible
103                                 (Scott Adams - The Dilbert principle)
104
105  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
106 ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
107 \\\        download, build and distribute -- http://www.A-A-P.org        ///
108  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
This page took 0.038323 seconds and 3 git commands to generate.