|
Karsten Hopp |
5a8c97 |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
5a8c97 |
Subject: Patch 7.3.1176
|
|
Karsten Hopp |
5a8c97 |
Fcc: outbox
|
|
Karsten Hopp |
5a8c97 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
5a8c97 |
Mime-Version: 1.0
|
|
Karsten Hopp |
5a8c97 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
5a8c97 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
5a8c97 |
------------
|
|
Karsten Hopp |
5a8c97 |
|
|
Karsten Hopp |
5a8c97 |
Patch 7.3.1176
|
|
Karsten Hopp |
5a8c97 |
Problem: Compiler warnings on 64 bit system.
|
|
Karsten Hopp |
5a8c97 |
Solution: Add type casts. (Mike Williams)
|
|
Karsten Hopp |
5a8c97 |
Files: src/eval.c, src/if_py_both.h
|
|
Karsten Hopp |
5a8c97 |
|
|
Karsten Hopp |
5a8c97 |
|
|
Karsten Hopp |
5a8c97 |
*** ../vim-7.3.1175/src/eval.c 2013-06-12 13:37:36.000000000 +0200
|
|
Karsten Hopp |
5a8c97 |
--- src/eval.c 2013-06-12 18:06:33.000000000 +0200
|
|
Karsten Hopp |
5a8c97 |
***************
|
|
Karsten Hopp |
5a8c97 |
*** 10980,10986 ****
|
|
Karsten Hopp |
5a8c97 |
* also work, but some plugins depend on the name being printable
|
|
Karsten Hopp |
5a8c97 |
* text. */
|
|
Karsten Hopp |
5a8c97 |
sprintf(sid_buf, "<SNR>%ld_", (long)current_SID);
|
|
Karsten Hopp |
5a8c97 |
! rettv->vval.v_string = alloc(STRLEN(sid_buf) + STRLEN(s + 2) + 1);
|
|
Karsten Hopp |
5a8c97 |
if (rettv->vval.v_string != NULL)
|
|
Karsten Hopp |
5a8c97 |
{
|
|
Karsten Hopp |
5a8c97 |
STRCPY(rettv->vval.v_string, sid_buf);
|
|
Karsten Hopp |
5a8c97 |
--- 10980,10987 ----
|
|
Karsten Hopp |
5a8c97 |
* also work, but some plugins depend on the name being printable
|
|
Karsten Hopp |
5a8c97 |
* text. */
|
|
Karsten Hopp |
5a8c97 |
sprintf(sid_buf, "<SNR>%ld_", (long)current_SID);
|
|
Karsten Hopp |
5a8c97 |
! rettv->vval.v_string =
|
|
Karsten Hopp |
5a8c97 |
! alloc((int)(STRLEN(sid_buf) + STRLEN(s + 2) + 1));
|
|
Karsten Hopp |
5a8c97 |
if (rettv->vval.v_string != NULL)
|
|
Karsten Hopp |
5a8c97 |
{
|
|
Karsten Hopp |
5a8c97 |
STRCPY(rettv->vval.v_string, sid_buf);
|
|
Karsten Hopp |
5a8c97 |
*** ../vim-7.3.1175/src/if_py_both.h 2013-06-12 14:40:58.000000000 +0200
|
|
Karsten Hopp |
5a8c97 |
--- src/if_py_both.h 2013-06-12 18:10:27.000000000 +0200
|
|
Karsten Hopp |
5a8c97 |
***************
|
|
Karsten Hopp |
5a8c97 |
*** 992,998 ****
|
|
Karsten Hopp |
5a8c97 |
if ((dot = (char *) vim_strchr((char_u *) tail, '.')))
|
|
Karsten Hopp |
5a8c97 |
{
|
|
Karsten Hopp |
5a8c97 |
/*
|
|
Karsten Hopp |
5a8c97 |
! * There is a dot in the name: call find_module recursively without the
|
|
Karsten Hopp |
5a8c97 |
* first component
|
|
Karsten Hopp |
5a8c97 |
*/
|
|
Karsten Hopp |
5a8c97 |
PyObject *newest_path;
|
|
Karsten Hopp |
5a8c97 |
--- 992,998 ----
|
|
Karsten Hopp |
5a8c97 |
if ((dot = (char *) vim_strchr((char_u *) tail, '.')))
|
|
Karsten Hopp |
5a8c97 |
{
|
|
Karsten Hopp |
5a8c97 |
/*
|
|
Karsten Hopp |
5a8c97 |
! * There is a dot in the name: call find_module recursively without the
|
|
Karsten Hopp |
5a8c97 |
* first component
|
|
Karsten Hopp |
5a8c97 |
*/
|
|
Karsten Hopp |
5a8c97 |
PyObject *newest_path;
|
|
Karsten Hopp |
5a8c97 |
***************
|
|
Karsten Hopp |
5a8c97 |
*** 1035,1041 ****
|
|
Karsten Hopp |
5a8c97 |
|
|
Karsten Hopp |
5a8c97 |
if (!(module = call_load_module(
|
|
Karsten Hopp |
5a8c97 |
fullname,
|
|
Karsten Hopp |
5a8c97 |
! STRLEN(fullname),
|
|
Karsten Hopp |
5a8c97 |
find_module_result)))
|
|
Karsten Hopp |
5a8c97 |
{
|
|
Karsten Hopp |
5a8c97 |
Py_DECREF(find_module_result);
|
|
Karsten Hopp |
5a8c97 |
--- 1035,1041 ----
|
|
Karsten Hopp |
5a8c97 |
|
|
Karsten Hopp |
5a8c97 |
if (!(module = call_load_module(
|
|
Karsten Hopp |
5a8c97 |
fullname,
|
|
Karsten Hopp |
5a8c97 |
! (int)STRLEN(fullname),
|
|
Karsten Hopp |
5a8c97 |
find_module_result)))
|
|
Karsten Hopp |
5a8c97 |
{
|
|
Karsten Hopp |
5a8c97 |
Py_DECREF(find_module_result);
|
|
Karsten Hopp |
5a8c97 |
*** ../vim-7.3.1175/src/version.c 2013-06-12 17:12:19.000000000 +0200
|
|
Karsten Hopp |
5a8c97 |
--- src/version.c 2013-06-12 18:07:10.000000000 +0200
|
|
Karsten Hopp |
5a8c97 |
***************
|
|
Karsten Hopp |
5a8c97 |
*** 730,731 ****
|
|
Karsten Hopp |
5a8c97 |
--- 730,733 ----
|
|
Karsten Hopp |
5a8c97 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
5a8c97 |
+ /**/
|
|
Karsten Hopp |
5a8c97 |
+ 1176,
|
|
Karsten Hopp |
5a8c97 |
/**/
|
|
Karsten Hopp |
5a8c97 |
|
|
Karsten Hopp |
5a8c97 |
--
|
|
Karsten Hopp |
5a8c97 |
Living in Hollywood is like living in a bowl of granola. What ain't
|
|
Karsten Hopp |
5a8c97 |
fruits and nuts is flakes.
|
|
Karsten Hopp |
5a8c97 |
|
|
Karsten Hopp |
5a8c97 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
5a8c97 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
5a8c97 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
5a8c97 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|