|
Karsten Hopp |
5a04c1 |
To: vim-dev@vim.org
|
|
Karsten Hopp |
5a04c1 |
Subject: patch 7.0.193
|
|
Karsten Hopp |
5a04c1 |
Fcc: outbox
|
|
Karsten Hopp |
5a04c1 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
5a04c1 |
Mime-Version: 1.0
|
|
Karsten Hopp |
5a04c1 |
Content-Type: text/plain; charset=ISO-8859-1
|
|
Karsten Hopp |
5a04c1 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
5a04c1 |
------------
|
|
Karsten Hopp |
5a04c1 |
|
|
Karsten Hopp |
5a04c1 |
Patch 7.0.193
|
|
Karsten Hopp |
5a04c1 |
Problem: Using --remote or --remote-tab with an argument that matches
|
|
Karsten Hopp |
5a04c1 |
'wildignore' causes a crash.
|
|
Karsten Hopp |
5a04c1 |
Solution: Check the argument count before using ARGLIST[0].
|
|
Karsten Hopp |
5a04c1 |
Files: src/ex_cmds.c
|
|
Karsten Hopp |
5a04c1 |
|
|
Karsten Hopp |
5a04c1 |
|
|
Karsten Hopp |
5a04c1 |
*** ../vim-7.0.192/src/ex_cmds.c Tue Sep 5 18:28:45 2006
|
|
Karsten Hopp |
5a04c1 |
--- src/ex_cmds.c Tue Feb 13 03:47:52 2007
|
|
Karsten Hopp |
5a04c1 |
***************
|
|
Karsten Hopp |
5a04c1 |
*** 6967,6972 ****
|
|
Karsten Hopp |
5a04c1 |
--- 6967,6980 ----
|
|
Karsten Hopp |
5a04c1 |
*/
|
|
Karsten Hopp |
5a04c1 |
set_arglist(eap->arg);
|
|
Karsten Hopp |
5a04c1 |
|
|
Karsten Hopp |
5a04c1 |
+ /*
|
|
Karsten Hopp |
5a04c1 |
+ * Expanding wildcards may result in an empty argument list. E.g. when
|
|
Karsten Hopp |
5a04c1 |
+ * editing "foo.pyc" and ".pyc" is in 'wildignore'. Assume that we
|
|
Karsten Hopp |
5a04c1 |
+ * already did an error message for this.
|
|
Karsten Hopp |
5a04c1 |
+ */
|
|
Karsten Hopp |
5a04c1 |
+ if (ARGCOUNT == 0)
|
|
Karsten Hopp |
5a04c1 |
+ return;
|
|
Karsten Hopp |
5a04c1 |
+
|
|
Karsten Hopp |
5a04c1 |
# ifdef FEAT_WINDOWS
|
|
Karsten Hopp |
5a04c1 |
if (cmdmod.tab)
|
|
Karsten Hopp |
5a04c1 |
{
|
|
Karsten Hopp |
5a04c1 |
*** ../vim-7.0.192/src/version.c Wed Feb 7 03:42:37 2007
|
|
Karsten Hopp |
5a04c1 |
--- src/version.c Tue Feb 13 03:47:08 2007
|
|
Karsten Hopp |
5a04c1 |
***************
|
|
Karsten Hopp |
5a04c1 |
*** 668,669 ****
|
|
Karsten Hopp |
5a04c1 |
--- 668,671 ----
|
|
Karsten Hopp |
5a04c1 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
5a04c1 |
+ /**/
|
|
Karsten Hopp |
5a04c1 |
+ 193,
|
|
Karsten Hopp |
5a04c1 |
/**/
|
|
Karsten Hopp |
5a04c1 |
|
|
Karsten Hopp |
5a04c1 |
--
|
|
Karsten Hopp |
5a04c1 |
hundred-and-one symptoms of being an internet addict:
|
|
Karsten Hopp |
5a04c1 |
113. You are asked about a bus schedule, you wonder if it is 16 or 32 bits.
|
|
Karsten Hopp |
5a04c1 |
|
|
Karsten Hopp |
5a04c1 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
5a04c1 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
5a04c1 |
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
|
Karsten Hopp |
5a04c1 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|