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