changeset 3604:b2763055bdf2 v7.3.562

updated for version 7.3.562 Problem: ":profdel" should not work when the +profile feature is disabled. Solution: Call ex_ni(). (Yasuhiro Matsumoto)
author Bram Moolenaar <bram@vim.org>
date Wed, 20 Jun 2012 15:48:57 +0200
parents d2c707d39aa1
children b38ed929e1f4
files src/ex_cmds2.c src/version.c
diffstat 2 files changed, 8 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ex_cmds2.c
+++ b/src/ex_cmds2.c
@@ -596,10 +596,15 @@ ex_breakdel(eap)
     garray_T	*gap;
 
     gap = &dbg_breakp;
+    if (eap->cmdidx == CMD_profdel)
+    {
 #ifdef FEAT_PROFILE
-    if (eap->cmdidx == CMD_profdel)
 	gap = &prof_ga;
+#else
+	ex_ni(eap);
+	return;
 #endif
+    }
 
     if (vim_isdigit(*eap->arg))
     {
--- a/src/version.c
+++ b/src/version.c
@@ -715,6 +715,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    562,
+/**/
     561,
 /**/
     560,