Karsten Hopp f2c4b9
To: vim-dev@vim.org
Karsten Hopp f2c4b9
Subject: Patch 7.2.415
Karsten Hopp f2c4b9
Fcc: outbox
Karsten Hopp f2c4b9
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp f2c4b9
Mime-Version: 1.0
Karsten Hopp f2c4b9
Content-Type: text/plain; charset=UTF-8
Karsten Hopp f2c4b9
Content-Transfer-Encoding: 8bit
Karsten Hopp f2c4b9
------------
Karsten Hopp f2c4b9
Karsten Hopp f2c4b9
Patch 7.2.415
Karsten Hopp f2c4b9
Problem:    Win32: Can't open a remote file when starting Vim.
Karsten Hopp f2c4b9
Solution:   Don't invoke cygwin_conv_path() for URLs. (Tomoya Adachi)
Karsten Hopp f2c4b9
Files:	    src/main.c
Karsten Hopp f2c4b9
Karsten Hopp f2c4b9
Karsten Hopp f2c4b9
*** ../vim-7.2.414/src/main.c	2009-12-16 18:27:29.000000000 +0100
Karsten Hopp f2c4b9
--- src/main.c	2010-04-12 20:57:44.000000000 +0200
Karsten Hopp f2c4b9
***************
Karsten Hopp f2c4b9
*** 1477,1483 ****
Karsten Hopp f2c4b9
  	++initstr;
Karsten Hopp f2c4b9
      }
Karsten Hopp f2c4b9
  
Karsten Hopp f2c4b9
!     /* Avoid using evim mode for "editor". */
Karsten Hopp f2c4b9
      if (TOLOWER_ASC(initstr[0]) == 'e'
Karsten Hopp f2c4b9
  	    && (TOLOWER_ASC(initstr[1]) == 'v'
Karsten Hopp f2c4b9
  		|| TOLOWER_ASC(initstr[1]) == 'g'))
Karsten Hopp f2c4b9
--- 1477,1483 ----
Karsten Hopp f2c4b9
  	++initstr;
Karsten Hopp f2c4b9
      }
Karsten Hopp f2c4b9
  
Karsten Hopp f2c4b9
!     /* Use evim mode for "evim" and "egvim", not for "editor". */
Karsten Hopp f2c4b9
      if (TOLOWER_ASC(initstr[0]) == 'e'
Karsten Hopp f2c4b9
  	    && (TOLOWER_ASC(initstr[1]) == 'v'
Karsten Hopp f2c4b9
  		|| TOLOWER_ASC(initstr[1]) == 'g'))
Karsten Hopp f2c4b9
***************
Karsten Hopp f2c4b9
*** 2262,2268 ****
Karsten Hopp f2c4b9
  	     * Look for evidence of non-Cygwin paths before we bother.
Karsten Hopp f2c4b9
  	     * This is only for when using the Unix files.
Karsten Hopp f2c4b9
  	     */
Karsten Hopp f2c4b9
! 	    if (strpbrk(p, "\\:") != NULL)
Karsten Hopp f2c4b9
  	    {
Karsten Hopp f2c4b9
  		char posix_path[PATH_MAX];
Karsten Hopp f2c4b9
  
Karsten Hopp f2c4b9
--- 2262,2268 ----
Karsten Hopp f2c4b9
  	     * Look for evidence of non-Cygwin paths before we bother.
Karsten Hopp f2c4b9
  	     * This is only for when using the Unix files.
Karsten Hopp f2c4b9
  	     */
Karsten Hopp f2c4b9
! 	    if (strpbrk(p, "\\:") != NULL && !path_with_url(p))
Karsten Hopp f2c4b9
  	    {
Karsten Hopp f2c4b9
  		char posix_path[PATH_MAX];
Karsten Hopp f2c4b9
  
Karsten Hopp f2c4b9
*** ../vim-7.2.414/src/version.c	2010-05-07 16:18:08.000000000 +0200
Karsten Hopp f2c4b9
--- src/version.c	2010-05-07 16:34:22.000000000 +0200
Karsten Hopp f2c4b9
***************
Karsten Hopp f2c4b9
*** 683,684 ****
Karsten Hopp f2c4b9
--- 683,686 ----
Karsten Hopp f2c4b9
  {   /* Add new patch number below this line */
Karsten Hopp f2c4b9
+ /**/
Karsten Hopp f2c4b9
+     415,
Karsten Hopp f2c4b9
  /**/
Karsten Hopp f2c4b9
Karsten Hopp f2c4b9
-- 
Karsten Hopp f2c4b9
How To Keep A Healthy Level Of Insanity:
Karsten Hopp f2c4b9
6. In the memo field of all your checks, write "for sexual favors".
Karsten Hopp f2c4b9
Karsten Hopp f2c4b9
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp f2c4b9
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp f2c4b9
\\\        download, build and distribute -- http://www.A-A-P.org        ///
Karsten Hopp f2c4b9
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///