]> git.pld-linux.org Git - packages/vim.git/blob - 7.2.027
- new
[packages/vim.git] / 7.2.027
1 To: vim-dev@vim.org
2 Subject: Patch 7.2.027
3 Fcc: outbox
4 From: Bram Moolenaar <Bram@moolenaar.net>
5 Mime-Version: 1.0
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
8 ------------
9
10 Patch 7.2.027
11 Problem:    Can use cscope commands in the sandbox.
12 Solution:   Disallow them, they might not be safe.
13 Files:      src/ex_cmds.h
14
15
16 *** ../vim-7.2.026/src/ex_cmds.h        Thu Sep 18 12:43:21 2008
17 --- src/ex_cmds.h       Thu Sep 18 22:18:14 2008
18 ***************
19 *** 278,284 ****
20   EX(CMD_crewind,               "crewind",      ex_cc,
21                         RANGE|NOTADR|COUNT|TRLBAR|BANG),
22   EX(CMD_cscope,                "cscope",       do_cscope,
23 !                       EXTRA|NOTRLCOM|SBOXOK|XFILE),
24   EX(CMD_cstag,         "cstag",        do_cstag,
25                         BANG|TRLBAR|WORD1),
26   EX(CMD_cunmap,                "cunmap",       ex_unmap,
27 --- 278,284 ----
28   EX(CMD_crewind,               "crewind",      ex_cc,
29                         RANGE|NOTADR|COUNT|TRLBAR|BANG),
30   EX(CMD_cscope,                "cscope",       do_cscope,
31 !                       EXTRA|NOTRLCOM|XFILE),
32   EX(CMD_cstag,         "cstag",        do_cstag,
33                         BANG|TRLBAR|WORD1),
34   EX(CMD_cunmap,                "cunmap",       ex_unmap,
35 ***************
36 *** 506,512 ****
37   EX(CMD_lclose,                "lclose",       ex_cclose,
38                         RANGE|NOTADR|COUNT|TRLBAR),
39   EX(CMD_lcscope,               "lcscope",      do_cscope,
40 !                       EXTRA|NOTRLCOM|SBOXOK|XFILE),
41   EX(CMD_left,          "left",         ex_align,
42                         TRLBAR|RANGE|WHOLEFOLD|EXTRA|CMDWIN|MODIFY),
43   EX(CMD_leftabove,     "leftabove",    ex_wrongmodifier,
44 --- 506,512 ----
45   EX(CMD_lclose,                "lclose",       ex_cclose,
46                         RANGE|NOTADR|COUNT|TRLBAR),
47   EX(CMD_lcscope,               "lcscope",      do_cscope,
48 !                       EXTRA|NOTRLCOM|XFILE),
49   EX(CMD_left,          "left",         ex_align,
50                         TRLBAR|RANGE|WHOLEFOLD|EXTRA|CMDWIN|MODIFY),
51   EX(CMD_leftabove,     "leftabove",    ex_wrongmodifier,
52 ***************
53 *** 653,658 ****
54 --- 653,660 ----
55                         EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN),
56   EX(CMD_open,          "open",         ex_open,
57                         RANGE|EXTRA),
58 + EX(CMD_oldfiles,      "oldfiles",     ex_oldfiles,
59 +                       BANG|TRLBAR|SBOXOK|CMDWIN),
60   EX(CMD_omap,          "omap",         ex_map,
61                         EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN),
62   EX(CMD_omapclear,     "omapclear",    ex_mapclear,
63 ***************
64 *** 804,810 ****
65   EX(CMD_scriptencoding,        "scriptencoding", ex_scriptencoding,
66                         WORD1|TRLBAR|CMDWIN),
67   EX(CMD_scscope,               "scscope",      do_scscope,
68 !                       EXTRA|NOTRLCOM|SBOXOK),
69   EX(CMD_set,           "set",          ex_set,
70                         TRLBAR|EXTRA|CMDWIN|SBOXOK),
71   EX(CMD_setfiletype,   "setfiletype",  ex_setfiletype,
72 --- 806,812 ----
73   EX(CMD_scriptencoding,        "scriptencoding", ex_scriptencoding,
74                         WORD1|TRLBAR|CMDWIN),
75   EX(CMD_scscope,               "scscope",      do_scscope,
76 !                       EXTRA|NOTRLCOM),
77   EX(CMD_set,           "set",          ex_set,
78                         TRLBAR|EXTRA|CMDWIN|SBOXOK),
79   EX(CMD_setfiletype,   "setfiletype",  ex_setfiletype,
80 *** ../vim-7.2.026/src/version.c        Sat Nov  1 13:51:57 2008
81 --- src/version.c       Thu Nov  6 10:21:21 2008
82 ***************
83 *** 678,679 ****
84 --- 678,681 ----
85   {   /* Add new patch number below this line */
86 + /**/
87 +     27,
88   /**/
89
90 -- 
91 hundred-and-one symptoms of being an internet addict:
92 179. You wonder why your household garbage can doesn't have an
93      "empty recycle bin" button.
94
95  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
96 ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
97 \\\        download, build and distribute -- http://www.A-A-P.org        ///
98  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
This page took 0.037768 seconds and 3 git commands to generate.