| To: vim-dev@vim.org |
| Subject: Patch 7.1.146 (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.1.146 (extra) |
| Problem: VMS: Files with a very rare record organization (VFC) cannot be |
| properly written by Vim. |
| On older VAX systems mms runs into a syntax error. |
| Solution: Check for this special situation. Do not wrap a comment, make it |
| one long line. (Zoltan Arpadffy) |
| Files: src/fileio.c, src/Make_vms.mms |
| |
| |
| |
| |
| |
| *** 4251,4257 **** |
| * they don't it adds one. |
| * With other RMS structures it works perfect without this fix. |
| */ |
| ! if ((buf->b_fab_rat & (FAB$M_FTN | FAB$M_CR)) != 0) |
| { |
| int b2write; |
| |
| --- 4252,4259 ---- |
| * they don't it adds one. |
| * With other RMS structures it works perfect without this fix. |
| */ |
| ! if (buf->b_fab_rfm == FAB$C_VFC |
| ! || ((buf->b_fab_rat & (FAB$M_FTN | FAB$M_CR)) != 0)) |
| { |
| int b2write; |
| |
| |
| |
| |
| *** 2,8 **** |
| # Makefile for Vim on OpenVMS |
| # |
| # Maintainer: Zoltan Arpadffy <arpadffy@polarhome.com> |
| ! # Last change: 2007 May 07 |
| # |
| # This has script been tested on VMS 6.2 to 8.2 on DEC Alpha, VAX and IA64 |
| # with MMS and MMK |
| --- 2,8 ---- |
| # Makefile for Vim on OpenVMS |
| # |
| # Maintainer: Zoltan Arpadffy <arpadffy@polarhome.com> |
| ! # Last change: 2007 Oct 22 |
| # |
| # This has script been tested on VMS 6.2 to 8.2 on DEC Alpha, VAX and IA64 |
| # with MMS and MMK |
| |
| *** 96,103 **** |
| |
| .IFDEF MMSVAX |
| .IFDEF DECC # VAX with DECC |
| ! CC_DEF = cc # /decc # some system requires this switch |
| ! # but when it is not required /ver might fail |
| PREFIX = /prefix=all |
| .ELSE # VAX with VAXC |
| CC_DEF = cc |
| --- 96,102 ---- |
| |
| .IFDEF MMSVAX |
| .IFDEF DECC # VAX with DECC |
| ! CC_DEF = cc # /decc # some system requires this switch but when it is not required /ver might fail |
| PREFIX = /prefix=all |
| .ELSE # VAX with VAXC |
| CC_DEF = cc |
| |
| |
| |
| *** 668,669 **** |
| --- 668,671 ---- |
| { /* Add new patch number below this line */ |
| + /**/ |
| + 146, |
| /**/ |
| |
| -- |
| Be thankful to be in a traffic jam, because it means you own a car. |
| |
| /// 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 /// |