]> git.pld-linux.org Git - packages/vim.git/blame - 7.3.300
- new
[packages/vim.git] / 7.3.300
CommitLineData
59ab3540
AM
1To: vim_dev@googlegroups.com
2Subject: Patch 7.3.300
3Fcc: outbox
4From: Bram Moolenaar <Bram@moolenaar.net>
5Mime-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8------------
9
10Patch 7.3.300
11Problem: Python doesn't parse multi-byte argument correctly.
12Solution: Use "t" instead of "s". (lilydjwg)
13Files: src/if_py_both.h
14
15
16*** ../vim-7.3.299/src/if_py_both.h 2011-07-07 15:08:53.000000000 +0200
17--- src/if_py_both.h 2011-09-07 19:25:12.000000000 +0200
18***************
19*** 74,80 ****
20 char *str = NULL;
21 int error = ((OutputObject *)(self))->error;
22
23! if (!PyArg_ParseTuple(args, "es#", ENC_OPT, &str, &len))
24 return NULL;
25
26 Py_BEGIN_ALLOW_THREADS
27--- 74,80 ----
28 char *str = NULL;
29 int error = ((OutputObject *)(self))->error;
30
31! if (!PyArg_ParseTuple(args, "et#", ENC_OPT, &str, &len))
32 return NULL;
33
34 Py_BEGIN_ALLOW_THREADS
35***************
36*** 114,120 ****
37 char *str = NULL;
38 PyInt len;
39
40! if (!PyArg_Parse(line, "es#", ENC_OPT, &str, &len)) {
41 PyErr_SetString(PyExc_TypeError, _("writelines() requires list of strings"));
42 Py_DECREF(list);
43 return NULL;
44--- 114,120 ----
45 char *str = NULL;
46 PyInt len;
47
48! if (!PyArg_Parse(line, "et#", ENC_OPT, &str, &len)) {
49 PyErr_SetString(PyExc_TypeError, _("writelines() requires list of strings"));
50 Py_DECREF(list);
51 return NULL;
52*** ../vim-7.3.299/src/version.c 2011-09-07 19:08:57.000000000 +0200
53--- src/version.c 2011-09-07 19:26:05.000000000 +0200
54***************
55*** 711,712 ****
56--- 711,714 ----
57 { /* Add new patch number below this line */
58+ /**/
59+ 300,
60 /**/
61
62--
63A salesperson says: Translation:
64"backward compatible" Old technology
65"Premium" Overpriced
66"Can't keep it on the shelf" Unavailable
67"Stands alone" Piece of shit
68"Proprietary" Incompatible
69 (Scott Adams - The Dilbert principle)
70
71 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
72/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
73\\\ an exciting new programming language -- http://www.Zimbu.org ///
74 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///
This page took 0.085233 seconds and 4 git commands to generate.