Karsten Hopp 9bad99
To: vim_dev@googlegroups.com
Karsten Hopp 9bad99
Subject: Patch 7.3.562
Karsten Hopp 9bad99
Fcc: outbox
Karsten Hopp 9bad99
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 9bad99
Mime-Version: 1.0
Karsten Hopp 9bad99
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 9bad99
Content-Transfer-Encoding: 8bit
Karsten Hopp 9bad99
------------
Karsten Hopp 9bad99
Karsten Hopp 9bad99
Patch 7.3.562
Karsten Hopp 9bad99
Problem:    ":profdel" should not work when the +profile feature is disabled.
Karsten Hopp 9bad99
Solution:   Call ex_ni(). (Yasuhiro Matsumoto)
Karsten Hopp 9bad99
Files:	    src/ex_cmds2.c
Karsten Hopp 9bad99
Karsten Hopp 9bad99
Karsten Hopp 9bad99
*** ../vim-7.3.561/src/ex_cmds2.c	2012-06-13 14:28:16.000000000 +0200
Karsten Hopp 9bad99
--- src/ex_cmds2.c	2012-06-20 15:43:44.000000000 +0200
Karsten Hopp 9bad99
***************
Karsten Hopp 9bad99
*** 596,605 ****
Karsten Hopp 9bad99
      garray_T	*gap;
Karsten Hopp 9bad99
  
Karsten Hopp 9bad99
      gap = &dbg_breakp;
Karsten Hopp 9bad99
- #ifdef FEAT_PROFILE
Karsten Hopp 9bad99
      if (eap->cmdidx == CMD_profdel)
Karsten Hopp 9bad99
  	gap = &prof_ga;
Karsten Hopp 9bad99
  #endif
Karsten Hopp 9bad99
  
Karsten Hopp 9bad99
      if (vim_isdigit(*eap->arg))
Karsten Hopp 9bad99
      {
Karsten Hopp 9bad99
--- 596,610 ----
Karsten Hopp 9bad99
      garray_T	*gap;
Karsten Hopp 9bad99
  
Karsten Hopp 9bad99
      gap = &dbg_breakp;
Karsten Hopp 9bad99
      if (eap->cmdidx == CMD_profdel)
Karsten Hopp 9bad99
+     {
Karsten Hopp 9bad99
+ #ifdef FEAT_PROFILE
Karsten Hopp 9bad99
  	gap = &prof_ga;
Karsten Hopp 9bad99
+ #else
Karsten Hopp 9bad99
+ 	ex_ni(eap);
Karsten Hopp 9bad99
+ 	return;
Karsten Hopp 9bad99
  #endif
Karsten Hopp 9bad99
+     }
Karsten Hopp 9bad99
  
Karsten Hopp 9bad99
      if (vim_isdigit(*eap->arg))
Karsten Hopp 9bad99
      {
Karsten Hopp 9bad99
*** ../vim-7.3.561/src/version.c	2012-06-20 14:26:30.000000000 +0200
Karsten Hopp 9bad99
--- src/version.c	2012-06-20 15:44:00.000000000 +0200
Karsten Hopp 9bad99
***************
Karsten Hopp 9bad99
*** 716,717 ****
Karsten Hopp 9bad99
--- 716,719 ----
Karsten Hopp 9bad99
  {   /* Add new patch number below this line */
Karsten Hopp 9bad99
+ /**/
Karsten Hopp 9bad99
+     562,
Karsten Hopp 9bad99
  /**/
Karsten Hopp 9bad99
Karsten Hopp 9bad99
-- 
Karsten Hopp 9bad99
hundred-and-one symptoms of being an internet addict:
Karsten Hopp 9bad99
42. Your virtual girlfriend finds a new net sweetheart with a larger bandwidth.
Karsten Hopp 9bad99
Karsten Hopp 9bad99
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 9bad99
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 9bad99
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp 9bad99
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///