diff options
Diffstat (limited to 'data/vim/patches/8.1.1020')
-rw-r--r-- | data/vim/patches/8.1.1020 | 59 |
1 files changed, 0 insertions, 59 deletions
diff --git a/data/vim/patches/8.1.1020 b/data/vim/patches/8.1.1020 deleted file mode 100644 index c069866af..000000000 --- a/data/vim/patches/8.1.1020 +++ /dev/null @@ -1,59 +0,0 @@ -To: vim_dev@googlegroups.com -Subject: Patch 8.1.1020 -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.1020 -Problem: Compiler warning for Python3 interface. -Solution: Add type cast. (Ozaki Kiichi, closes #4128, closes #4103) -Files: src/if_python3.c - - -*** ../vim-8.1.1019/src/if_python3.c 2019-02-18 22:04:52.949609091 +0100 ---- src/if_python3.c 2019-03-19 22:08:39.907136767 +0100 -*************** -*** 799,808 **** - */ - #include "if_py_both.h" - - #define GET_ATTR_STRING(name, nameobj) \ - char *name = ""; \ - if (PyUnicode_Check(nameobj)) \ -! name = _PyUnicode_AsString(nameobj) - - #define PY3OBJ_DELETED(obj) (obj->ob_base.ob_refcnt<=0) - ---- 799,809 ---- - */ - #include "if_py_both.h" - -+ // NOTE: Must always be used at the start of a block, since it declares "name". - #define GET_ATTR_STRING(name, nameobj) \ - char *name = ""; \ - if (PyUnicode_Check(nameobj)) \ -! name = (char *)_PyUnicode_AsString(nameobj) - - #define PY3OBJ_DELETED(obj) (obj->ob_base.ob_refcnt<=0) - -*** ../vim-8.1.1019/src/version.c 2019-03-19 21:59:16.268914799 +0100 ---- src/version.c 2019-03-19 22:09:49.170503232 +0100 -*************** -*** 781,782 **** ---- 781,784 ---- - { /* Add new patch number below this line */ -+ /**/ -+ 1020, - /**/ - --- -From "know your smileys": - :-)-O Smiling doctor with stethoscope - - /// 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 /// |