]> granicus.if.org Git - vim/commitdiff
updated for version 7.2.415 v7.2.415
authorBram Moolenaar <Bram@vim.org>
Fri, 7 May 2010 14:35:04 +0000 (16:35 +0200)
committerBram Moolenaar <Bram@vim.org>
Fri, 7 May 2010 14:35:04 +0000 (16:35 +0200)
Problem:    Win32: Can't open a remote file when starting Vim.
Solution:   Don't invoke cygwin_conv_path() for URLs. (Tomoya Adachi)

src/main.c
src/version.c

index 4e027ab8c7f3867f306cea1982169f96dcff3252..0330f6abcf22c28f18226ff288525a09f0a3a3b0 100644 (file)
@@ -1477,7 +1477,7 @@ parse_command_name(parmp)
        ++initstr;
     }
 
-    /* Avoid using evim mode for "editor". */
+    /* Use evim mode for "evim" and "egvim", not for "editor". */
     if (TOLOWER_ASC(initstr[0]) == 'e'
            && (TOLOWER_ASC(initstr[1]) == 'v'
                || TOLOWER_ASC(initstr[1]) == 'g'))
@@ -2262,7 +2262,7 @@ scripterror:
             * Look for evidence of non-Cygwin paths before we bother.
             * This is only for when using the Unix files.
             */
-           if (strpbrk(p, "\\:") != NULL)
+           if (strpbrk(p, "\\:") != NULL && !path_with_url(p))
            {
                char posix_path[PATH_MAX];
 
index a49ba72c90eccd61d0c1da5773c4538da83ddb44..3a4648b38332f39d8adf0ce585fdf7b32db8b751 100644 (file)
@@ -681,6 +681,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    415,
 /**/
     414,
 /**/