1 To: [email protected] |
|
2 Subject: Patch 7.2.415 |
|
3 Fcc: outbox |
|
4 From: Bram Moolenaar <[email protected]> |
|
5 Mime-Version: 1.0 |
|
6 Content-Type: text/plain; charset=UTF-8 |
|
7 Content-Transfer-Encoding: 8bit |
|
8 ------------ |
|
9 |
|
10 Patch 7.2.415 |
|
11 Problem: Win32: Can't open a remote file when starting Vim. |
|
12 Solution: Don't invoke cygwin_conv_path() for URLs. (Tomoya Adachi) |
|
13 Files: src/main.c |
|
14 |
|
15 |
|
16 *** ../vim-7.2.414/src/main.c 2009-12-16 18:27:29.000000000 +0100 |
|
17 --- src/main.c 2010-04-12 20:57:44.000000000 +0200 |
|
18 *************** |
|
19 *** 1477,1483 **** |
|
20 ++initstr; |
|
21 } |
|
22 |
|
23 ! /* Avoid using evim mode for "editor". */ |
|
24 if (TOLOWER_ASC(initstr[0]) == 'e' |
|
25 && (TOLOWER_ASC(initstr[1]) == 'v' |
|
26 || TOLOWER_ASC(initstr[1]) == 'g')) |
|
27 --- 1477,1483 ---- |
|
28 ++initstr; |
|
29 } |
|
30 |
|
31 ! /* Use evim mode for "evim" and "egvim", not for "editor". */ |
|
32 if (TOLOWER_ASC(initstr[0]) == 'e' |
|
33 && (TOLOWER_ASC(initstr[1]) == 'v' |
|
34 || TOLOWER_ASC(initstr[1]) == 'g')) |
|
35 *************** |
|
36 *** 2262,2268 **** |
|
37 * Look for evidence of non-Cygwin paths before we bother. |
|
38 * This is only for when using the Unix files. |
|
39 */ |
|
40 ! if (strpbrk(p, "\\:") != NULL) |
|
41 { |
|
42 char posix_path[PATH_MAX]; |
|
43 |
|
44 --- 2262,2268 ---- |
|
45 * Look for evidence of non-Cygwin paths before we bother. |
|
46 * This is only for when using the Unix files. |
|
47 */ |
|
48 ! if (strpbrk(p, "\\:") != NULL && !path_with_url(p)) |
|
49 { |
|
50 char posix_path[PATH_MAX]; |
|
51 |
|
52 *** ../vim-7.2.414/src/version.c 2010-05-07 16:18:08.000000000 +0200 |
|
53 --- src/version.c 2010-05-07 16:34:22.000000000 +0200 |
|
54 *************** |
|
55 *** 683,684 **** |
|
56 --- 683,686 ---- |
|
57 { /* Add new patch number below this line */ |
|
58 + /**/ |
|
59 + 415, |
|
60 /**/ |
|
61 |
|
62 -- |
|
63 How To Keep A Healthy Level Of Insanity: |
|
64 6. In the memo field of all your checks, write "for sexual favors". |
|
65 |
|
66 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\ |
|
67 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ |
|
68 \\\ download, build and distribute -- http://www.A-A-P.org /// |
|
69 \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |
|