]> git.pld-linux.org Git - packages/vim.git/blame - 7.0.193
- new
[packages/vim.git] / 7.0.193
CommitLineData
9b1d76b7
AG
1To: vim-dev@vim.org
2Subject: patch 7.0.193
3Fcc: outbox
4From: Bram Moolenaar <Bram@moolenaar.net>
5Mime-Version: 1.0
6Content-Type: text/plain; charset=ISO-8859-1
7Content-Transfer-Encoding: 8bit
8------------
9
10Patch 7.0.193
11Problem: Using --remote or --remote-tab with an argument that matches
12 'wildignore' causes a crash.
13Solution: Check the argument count before using ARGLIST[0].
14Files: src/ex_cmds.c
15
16
17*** ../vim-7.0.192/src/ex_cmds.c Tue Sep 5 18:28:45 2006
18--- src/ex_cmds.c Tue Feb 13 03:47:52 2007
19***************
20*** 6967,6972 ****
21--- 6967,6980 ----
22 */
23 set_arglist(eap->arg);
24
25+ /*
26+ * Expanding wildcards may result in an empty argument list. E.g. when
27+ * editing "foo.pyc" and ".pyc" is in 'wildignore'. Assume that we
28+ * already did an error message for this.
29+ */
30+ if (ARGCOUNT == 0)
31+ return;
32+
33 # ifdef FEAT_WINDOWS
34 if (cmdmod.tab)
35 {
36*** ../vim-7.0.192/src/version.c Wed Feb 7 03:42:37 2007
37--- src/version.c Tue Feb 13 03:47:08 2007
38***************
39*** 668,669 ****
40--- 668,671 ----
41 { /* Add new patch number below this line */
42+ /**/
43+ 193,
44 /**/
45
46--
47hundred-and-one symptoms of being an internet addict:
48113. You are asked about a bus schedule, you wonder if it is 16 or 32 bits.
49
50 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
51/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
52\\\ download, build and distribute -- http://www.A-A-P.org ///
53 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///
This page took 0.034201 seconds and 4 git commands to generate.