Patch 7.4.2138
Problem:    Test 86 and 87 fail.
Solution:   Call func_ref() also for regular functions.
Files:      src/if_py_both.h


*** ../vim-7.4.2137/src/if_py_both.h    2016-08-01 15:40:24.183878405 +0200
--- src/if_py_both.h    2016-08-01 16:23:38.623433443 +0200
***************
*** 2863,2869 ****
            return NULL;
        }
        self->name = vim_strsave(name);
-       func_ref(self->name);
      }
      else
        if ((self->name = get_expanded_name(name,
--- 2863,2868 ----
***************
*** 2875,2880 ****
--- 2874,2880 ----
            return NULL;
        }
  
+     func_ref(self->name);
      self->argc = argc;
      self->argv = argv;
      self->self = selfdict;
*** ../vim-7.4.2137/src/version.c       2016-08-01 15:40:24.191878330 +0200
--- src/version.c       2016-08-01 15:52:16.261234948 +0200
***************
*** 765,766 ****
--- 765,768 ----
  {   /* Add new patch number below this line */
+ /**/
+     2138,
  /**/

-- 
Every time I lose weight, it finds me again!

 /// Bram Moolenaar -- [email protected] -- 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    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui