|
Karsten Hopp |
49f701 |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
49f701 |
Subject: Patch 7.3.917
|
|
Karsten Hopp |
49f701 |
Fcc: outbox
|
|
Karsten Hopp |
49f701 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
49f701 |
Mime-Version: 1.0
|
|
Karsten Hopp |
49f701 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
49f701 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
49f701 |
------------
|
|
Karsten Hopp |
49f701 |
|
|
Karsten Hopp |
49f701 |
Patch 7.3.917
|
|
Karsten Hopp |
49f701 |
Problem: When a path ends in a backslash appending a comma has the wrong
|
|
Karsten Hopp |
49f701 |
effect.
|
|
Karsten Hopp |
49f701 |
Solution: Replace a trailing backslash with a slash. (Nazri Ramliy)
|
|
Karsten Hopp |
49f701 |
Files: src/misc1.c, src/testdir/test73.in, src/testdir/test73.ok
|
|
Karsten Hopp |
49f701 |
|
|
Karsten Hopp |
49f701 |
|
|
Karsten Hopp |
49f701 |
*** ../vim-7.3.916/src/misc1.c 2013-04-15 15:47:07.000000000 +0200
|
|
Karsten Hopp |
49f701 |
--- src/misc1.c 2013-04-24 17:25:45.000000000 +0200
|
|
Karsten Hopp |
49f701 |
***************
|
|
Karsten Hopp |
49f701 |
*** 10135,10140 ****
|
|
Karsten Hopp |
49f701 |
--- 10135,10149 ----
|
|
Karsten Hopp |
49f701 |
|
|
Karsten Hopp |
49f701 |
if (ga_grow(gap, 1) == FAIL)
|
|
Karsten Hopp |
49f701 |
break;
|
|
Karsten Hopp |
49f701 |
+
|
|
Karsten Hopp |
49f701 |
+ # if defined(MSWIN) || defined(MSDOS)
|
|
Karsten Hopp |
49f701 |
+ /* Avoid the path ending in a backslash, it fails when a comma is
|
|
Karsten Hopp |
49f701 |
+ * appended. */
|
|
Karsten Hopp |
49f701 |
+ len = STRLEN(buf);
|
|
Karsten Hopp |
49f701 |
+ if (buf[len - 1] == '\\')
|
|
Karsten Hopp |
49f701 |
+ buf[len - 1] = '/';
|
|
Karsten Hopp |
49f701 |
+ # endif
|
|
Karsten Hopp |
49f701 |
+
|
|
Karsten Hopp |
49f701 |
p = vim_strsave(buf);
|
|
Karsten Hopp |
49f701 |
if (p == NULL)
|
|
Karsten Hopp |
49f701 |
break;
|
|
Karsten Hopp |
49f701 |
*** ../vim-7.3.916/src/testdir/test73.in 2010-08-15 21:57:29.000000000 +0200
|
|
Karsten Hopp |
49f701 |
--- src/testdir/test73.in 2013-04-24 17:22:14.000000000 +0200
|
|
Karsten Hopp |
49f701 |
***************
|
|
Karsten Hopp |
49f701 |
*** 158,163 ****
|
|
Karsten Hopp |
49f701 |
--- 158,173 ----
|
|
Karsten Hopp |
49f701 |
:" Find the file containing 'E.T.' in the Xfind/in/path directory
|
|
Karsten Hopp |
49f701 |
:find file
|
|
Karsten Hopp |
49f701 |
:exec "w >>" . test_out
|
|
Karsten Hopp |
49f701 |
+ :"
|
|
Karsten Hopp |
49f701 |
+ :" Test that completion works when path=.,,
|
|
Karsten Hopp |
49f701 |
+ :"
|
|
Karsten Hopp |
49f701 |
+ :set path=.,,
|
|
Karsten Hopp |
49f701 |
+ :" Open Jimmy Hoffa file
|
|
Karsten Hopp |
49f701 |
+ :e in/file.txt
|
|
Karsten Hopp |
49f701 |
+ :exec "w >>" . test_out
|
|
Karsten Hopp |
49f701 |
+ :" Search for the file containing Holy Grail in same directory as in/path.txt
|
|
Karsten Hopp |
49f701 |
+ :find stu
|
|
Karsten Hopp |
49f701 |
+ :exec "w >>" . test_out
|
|
Karsten Hopp |
49f701 |
:q
|
|
Karsten Hopp |
49f701 |
:exec "cd " . cwd
|
|
Karsten Hopp |
49f701 |
:call DeleteDirectory("Xfind")
|
|
Karsten Hopp |
49f701 |
*** ../vim-7.3.916/src/testdir/test73.ok 2010-08-15 21:57:29.000000000 +0200
|
|
Karsten Hopp |
49f701 |
--- src/testdir/test73.ok 2013-04-24 17:22:28.000000000 +0200
|
|
Karsten Hopp |
49f701 |
***************
|
|
Karsten Hopp |
49f701 |
*** 17,19 ****
|
|
Karsten Hopp |
49f701 |
--- 17,21 ----
|
|
Karsten Hopp |
49f701 |
Voyager 2
|
|
Karsten Hopp |
49f701 |
Jimmy Hoffa
|
|
Karsten Hopp |
49f701 |
E.T.
|
|
Karsten Hopp |
49f701 |
+ Jimmy Hoffa
|
|
Karsten Hopp |
49f701 |
+ Another Holy Grail
|
|
Karsten Hopp |
49f701 |
*** ../vim-7.3.916/src/version.c 2013-04-24 16:52:28.000000000 +0200
|
|
Karsten Hopp |
49f701 |
--- src/version.c 2013-04-24 17:27:55.000000000 +0200
|
|
Karsten Hopp |
49f701 |
***************
|
|
Karsten Hopp |
49f701 |
*** 730,731 ****
|
|
Karsten Hopp |
49f701 |
--- 730,733 ----
|
|
Karsten Hopp |
49f701 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
49f701 |
+ /**/
|
|
Karsten Hopp |
49f701 |
+ 917,
|
|
Karsten Hopp |
49f701 |
/**/
|
|
Karsten Hopp |
49f701 |
|
|
Karsten Hopp |
49f701 |
--
|
|
Karsten Hopp |
49f701 |
hundred-and-one symptoms of being an internet addict:
|
|
Karsten Hopp |
49f701 |
229. You spend so much time thinking what to add on this list.
|
|
Karsten Hopp |
49f701 |
|
|
Karsten Hopp |
49f701 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
49f701 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
49f701 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
49f701 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|