1 To: [email protected] |
|
2 Subject: Patch 7.2.087 |
|
3 Fcc: outbox |
|
4 From: Bram Moolenaar <[email protected]> |
|
5 Mime-Version: 1.0 |
|
6 Content-Type: text/plain; charset=ISO-8859-1 |
|
7 Content-Transfer-Encoding: 8bit |
|
8 ------------ |
|
9 |
|
10 Patch 7.2.087 |
|
11 Problem: Adding URL to 'path' doesn't work to edit a file. |
|
12 Solution: Skip simplify_filename() for URLs. (Matt Wosniski) |
|
13 Files: src/misc2.c |
|
14 |
|
15 |
|
16 *** ../vim-7.2.086/src/misc2.c Wed Dec 24 12:53:33 2008 |
|
17 --- src/misc2.c Sun Jan 18 12:26:20 2009 |
|
18 *************** |
|
19 *** 4696,4702 **** |
|
20 stackp->ffs_filearray_cur = i + 1; |
|
21 ff_push(search_ctx, stackp); |
|
22 |
|
23 ! simplify_filename(file_path); |
|
24 if (mch_dirname(ff_expand_buffer, MAXPATHL) |
|
25 == OK) |
|
26 { |
|
27 --- 4696,4703 ---- |
|
28 stackp->ffs_filearray_cur = i + 1; |
|
29 ff_push(search_ctx, stackp); |
|
30 |
|
31 ! if (!path_with_url(file_path)) |
|
32 ! simplify_filename(file_path); |
|
33 if (mch_dirname(ff_expand_buffer, MAXPATHL) |
|
34 == OK) |
|
35 { |
|
36 *** ../vim-7.2.086/src/version.c Thu Jan 22 20:48:07 2009 |
|
37 --- src/version.c Thu Jan 22 21:30:36 2009 |
|
38 *************** |
|
39 *** 678,679 **** |
|
40 --- 678,681 ---- |
|
41 { /* Add new patch number below this line */ |
|
42 + /**/ |
|
43 + 87, |
|
44 /**/ |
|
45 |
|
46 -- |
|
47 hundred-and-one symptoms of being an internet addict: |
|
48 21. Your dog has its own home page. |
|
49 |
|
50 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\ |
|
51 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ |
|
52 \\\ download, build and distribute -- http://www.A-A-P.org /// |
|
53 \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |
|