| To: vim-dev@vim.org |
| Subject: Patch 7.2.087 |
| Fcc: outbox |
| From: Bram Moolenaar <Bram@moolenaar.net> |
| Mime-Version: 1.0 |
| Content-Type: text/plain; charset=ISO-8859-1 |
| Content-Transfer-Encoding: 8bit |
| |
| |
| Patch 7.2.087 |
| Problem: Adding URL to 'path' doesn't work to edit a file. |
| Solution: Skip simplify_filename() for URLs. (Matt Wosniski) |
| Files: src/misc2.c |
| |
| |
| |
| |
| |
| *** 4696,4702 **** |
| stackp->ffs_filearray_cur = i + 1; |
| ff_push(search_ctx, stackp); |
| |
| ! simplify_filename(file_path); |
| if (mch_dirname(ff_expand_buffer, MAXPATHL) |
| == OK) |
| { |
| --- 4696,4703 ---- |
| stackp->ffs_filearray_cur = i + 1; |
| ff_push(search_ctx, stackp); |
| |
| ! if (!path_with_url(file_path)) |
| ! simplify_filename(file_path); |
| if (mch_dirname(ff_expand_buffer, MAXPATHL) |
| == OK) |
| { |
| |
| |
| |
| *** 678,679 **** |
| --- 678,681 ---- |
| { /* Add new patch number below this line */ |
| + /**/ |
| + 87, |
| /**/ |
| |
| -- |
| hundred-and-one symptoms of being an internet addict: |
| 21. Your dog has its own home page. |
| |
| /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ |
| /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ |
| \\\ download, build and distribute -- http://www.A-A-P.org /// |
| \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |