summaryrefslogtreecommitdiffstats
path: root/source/ap/vim/patches/7.3.562
blob: 626de4950c8e2fe2a4030a6cb7bb554861489e76 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
To: vim_dev@googlegroups.com
Subject: Patch 7.3.562
Fcc: outbox
From: Bram Moolenaar <Bram@moolenaar.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
------------

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);
+ 	return;
  #endif
+     }
  
      if (vim_isdigit(*eap->arg))
      {
*** ../vim-7.3.561/src/version.c	2012-06-20 14:26:30.000000000 +0200
--- src/version.c	2012-06-20 15:44:00.000000000 +0200
***************
*** 716,717 ****
--- 716,719 ----
  {   /* Add new patch number below this line */
+ /**/
+     562,
  /**/

-- 
hundred-and-one symptoms of being an internet addict:
42. Your virtual girlfriend finds a new net sweetheart with a larger bandwidth.

 /// Bram Moolenaar -- Bram@Moolenaar.net -- 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    ///