20 Jun 2012 15:49
Patch 7.3.562
Bram Moolenaar <Bram <at> Moolenaar.net>
2012-06-20 13:49:12 GMT
2012-06-20 13:49:12 GMT
Patch 7.3.562
Problem: ":profdel" should not work when the +profile feature is disabled.
Solution: Call ex_ni(). (Yasuhiro Matsumoto)
Files: src/ex_cmds2.c
*** ../vim-7.3.561/src/ex_cmds2.c 2012-06-13 14:28:16.000000000 +0200
--- src/ex_cmds2.c 2012-06-20 15:43:44.000000000 +0200
***************
*** 596,605 ****
garray_T *gap;
gap = &dbg_breakp;
- #ifdef FEAT_PROFILE
if (eap->cmdidx == CMD_profdel)
gap = &prof_ga;
#endif
if (vim_isdigit(*eap->arg))
{
--- 596,610 ----
garray_T *gap;
gap = &dbg_breakp;
if (eap->cmdidx == CMD_profdel)
+ {
+ #ifdef FEAT_PROFILE
gap = &prof_ga;
+ #else
+ ex_ni(eap);
(Continue reading)
RSS Feed