| To: vim-dev@vim.org |
| Subject: patch 7.0.180 (extra) |
| 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.0.180 (extra, after 7.0.171) |
| Problem: VMS: build failed. Problem with swapfiles. |
| Solution: Add "compiled_arch". Always expand path and pass it to |
| buf_modname(). (Zoltan Arpadffy) |
| Files: src/globals.h, src/memline.c, src/os_unix.c, runtime/menu.vim |
| |
| |
| |
| |
| |
| *** 1092,1097 **** |
| --- 1092,1098 ---- |
| extern char_u *all_lflags; |
| # ifdef VMS |
| extern char_u *compiler_version; |
| + extern char_u *compiled_arch; |
| # endif |
| extern char_u *compiled_user; |
| extern char_u *compiled_sys; |
| |
| |
| |
| *** 3572,3579 **** |
| #else |
| (buf->b_p_sn || buf->b_shortname), |
| #endif |
| ! #ifdef RISCOS |
| ! /* Avoid problems if fname has special chars, eg <Wimp$Scrap> */ |
| ffname, |
| #else |
| # ifdef HAVE_READLINK |
| --- 3572,3580 ---- |
| #else |
| (buf->b_p_sn || buf->b_shortname), |
| #endif |
| ! #if defined(VMS) || defined(RISCOS) |
| ! /* Avoid problems if fname has special chars, eg <Wimp$Scrap>. |
| ! * For VMS always use full path for swapfile. */ |
| ffname, |
| #else |
| # ifdef HAVE_READLINK |
| |
| |
| |
| *** 2221,2227 **** |
| * behaviour should be avoided for the existing files and we need to find |
| * the exact path of the edited file. |
| */ |
| - if (force || !mch_isFullName(fname)) |
| { |
| char_u *fixed_fname = vms_fixfilename(fname); |
| int fd = mch_open((char *)fixed_fname, O_RDONLY | O_EXTRA, 0); |
| --- 2221,2226 ---- |
| |
| |
| |
| *** 384,390 **** |
| " Programming menu |
| if !exists("g:ctags_command") |
| if has("vms") |
| ! let g:ctags_command = "mc vim:ctags ." |
| else |
| let g:ctags_command = "ctags -R ." |
| endif |
| --- 384,390 ---- |
| " Programming menu |
| if !exists("g:ctags_command") |
| if has("vms") |
| ! let g:ctags_command = "mc vim:ctags *.*" |
| else |
| let g:ctags_command = "ctags -R ." |
| endif |
| |
| |
| |
| *** 668,669 **** |
| --- 668,671 ---- |
| { /* Add new patch number below this line */ |
| + /**/ |
| + 180, |
| /**/ |
| |
| -- |
| The Feynman problem solving Algorithm: |
| 1) Write down the problem |
| 2) Think real hard |
| 3) Write down the answer |
| |
| /// 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 /// |