[vim] - patchlevel 749
Karsten Hopp
karsten at fedoraproject.org
Mon Jan 28 11:14:50 UTC 2013
commit 5f7d04a86244f591014693eeb25ad35cf43b590d
Author: Karsten Hopp <karsten at redhat.com>
Date: Mon Jan 28 12:11:13 2013 +0100
- patchlevel 749
7.3.749 | 59 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 59 insertions(+), 0 deletions(-)
---
diff --git a/7.3.749 b/7.3.749
new file mode 100644
index 0000000..6903083
--- /dev/null
+++ b/7.3.749
@@ -0,0 +1,59 @@
+To: vim_dev at googlegroups.com
+Subject: Patch 7.3.749
+Fcc: outbox
+From: Bram Moolenaar <Bram at moolenaar.net>
+Mime-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+------------
+
+Patch 7.3.749
+Problem: Python interface doesn't build without the multi-byte feature.
+Solution: Add #ifdef. (Ken Takata)
+Files: src/if_py_both.h
+
+
+*** ../vim-7.3.748/src/if_py_both.h 2012-10-05 21:30:04.000000000 +0200
+--- src/if_py_both.h 2012-12-05 16:27:20.000000000 +0100
+***************
+*** 520,526 ****
+ if (!PyArg_ParseTuple(args, "s", &expr))
+ return NULL;
+
+! return PyLong_FromLong(mb_string2cells((char_u *)expr, (int)STRLEN(expr)));
+ }
+
+ /*
+--- 520,532 ----
+ if (!PyArg_ParseTuple(args, "s", &expr))
+ return NULL;
+
+! return PyLong_FromLong(
+! #ifdef FEAT_MBYTE
+! mb_string2cells((char_u *)expr, (int)STRLEN(expr))
+! #else
+! STRLEN(expr)
+! #endif
+! );
+ }
+
+ /*
+*** ../vim-7.3.748/src/version.c 2012-12-05 16:10:21.000000000 +0100
+--- src/version.c 2012-12-05 16:29:27.000000000 +0100
+***************
+*** 727,728 ****
+--- 727,730 ----
+ { /* Add new patch number below this line */
++ /**/
++ 749,
+ /**/
+
+--
+Contrary to popular belief, Unix is user friendly.
+It just happens to be selective about who it makes friends with.
+ -- Dave Parnas
+
+ /// Bram Moolenaar -- Bram at 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 ///
More information about the scm-commits
mailing list