|
Karsten Hopp |
274a5b |
To: vim-dev@vim.org
|
|
Karsten Hopp |
274a5b |
Subject: Patch 7.1.146 (extra)
|
|
Karsten Hopp |
274a5b |
Fcc: outbox
|
|
Karsten Hopp |
274a5b |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
274a5b |
Mime-Version: 1.0
|
|
Karsten Hopp |
274a5b |
Content-Type: text/plain; charset=ISO-8859-1
|
|
Karsten Hopp |
274a5b |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
274a5b |
------------
|
|
Karsten Hopp |
274a5b |
|
|
Karsten Hopp |
274a5b |
Patch 7.1.146 (extra)
|
|
Karsten Hopp |
274a5b |
Problem: VMS: Files with a very rare record organization (VFC) cannot be
|
|
Karsten Hopp |
274a5b |
properly written by Vim.
|
|
Karsten Hopp |
274a5b |
On older VAX systems mms runs into a syntax error.
|
|
Karsten Hopp |
274a5b |
Solution: Check for this special situation. Do not wrap a comment, make it
|
|
Karsten Hopp |
274a5b |
one long line. (Zoltan Arpadffy)
|
|
Karsten Hopp |
274a5b |
Files: src/fileio.c, src/Make_vms.mms
|
|
Karsten Hopp |
274a5b |
|
|
Karsten Hopp |
274a5b |
|
|
Karsten Hopp |
274a5b |
*** ../vim-7.1.145/src/fileio.c Wed Oct 3 12:49:24 2007
|
|
Karsten Hopp |
274a5b |
--- src/fileio.c Mon Oct 22 21:10:00 2007
|
|
Karsten Hopp |
274a5b |
***************
|
|
Karsten Hopp |
274a5b |
*** 4251,4257 ****
|
|
Karsten Hopp |
274a5b |
* they don't it adds one.
|
|
Karsten Hopp |
274a5b |
* With other RMS structures it works perfect without this fix.
|
|
Karsten Hopp |
274a5b |
*/
|
|
Karsten Hopp |
274a5b |
! if ((buf->b_fab_rat & (FAB$M_FTN | FAB$M_CR)) != 0)
|
|
Karsten Hopp |
274a5b |
{
|
|
Karsten Hopp |
274a5b |
int b2write;
|
|
Karsten Hopp |
274a5b |
|
|
Karsten Hopp |
274a5b |
--- 4252,4259 ----
|
|
Karsten Hopp |
274a5b |
* they don't it adds one.
|
|
Karsten Hopp |
274a5b |
* With other RMS structures it works perfect without this fix.
|
|
Karsten Hopp |
274a5b |
*/
|
|
Karsten Hopp |
274a5b |
! if (buf->b_fab_rfm == FAB$C_VFC
|
|
Karsten Hopp |
274a5b |
! || ((buf->b_fab_rat & (FAB$M_FTN | FAB$M_CR)) != 0))
|
|
Karsten Hopp |
274a5b |
{
|
|
Karsten Hopp |
274a5b |
int b2write;
|
|
Karsten Hopp |
274a5b |
|
|
Karsten Hopp |
274a5b |
*** ../vim-7.1.145/src/Make_vms.mms Thu May 10 20:47:35 2007
|
|
Karsten Hopp |
274a5b |
--- src/Make_vms.mms Mon Oct 22 21:13:08 2007
|
|
Karsten Hopp |
274a5b |
***************
|
|
Karsten Hopp |
274a5b |
*** 2,8 ****
|
|
Karsten Hopp |
274a5b |
# Makefile for Vim on OpenVMS
|
|
Karsten Hopp |
274a5b |
#
|
|
Karsten Hopp |
274a5b |
# Maintainer: Zoltan Arpadffy <arpadffy@polarhome.com>
|
|
Karsten Hopp |
274a5b |
! # Last change: 2007 May 07
|
|
Karsten Hopp |
274a5b |
#
|
|
Karsten Hopp |
274a5b |
# This has script been tested on VMS 6.2 to 8.2 on DEC Alpha, VAX and IA64
|
|
Karsten Hopp |
274a5b |
# with MMS and MMK
|
|
Karsten Hopp |
274a5b |
--- 2,8 ----
|
|
Karsten Hopp |
274a5b |
# Makefile for Vim on OpenVMS
|
|
Karsten Hopp |
274a5b |
#
|
|
Karsten Hopp |
274a5b |
# Maintainer: Zoltan Arpadffy <arpadffy@polarhome.com>
|
|
Karsten Hopp |
274a5b |
! # Last change: 2007 Oct 22
|
|
Karsten Hopp |
274a5b |
#
|
|
Karsten Hopp |
274a5b |
# This has script been tested on VMS 6.2 to 8.2 on DEC Alpha, VAX and IA64
|
|
Karsten Hopp |
274a5b |
# with MMS and MMK
|
|
Karsten Hopp |
274a5b |
***************
|
|
Karsten Hopp |
274a5b |
*** 96,103 ****
|
|
Karsten Hopp |
274a5b |
|
|
Karsten Hopp |
274a5b |
.IFDEF MMSVAX
|
|
Karsten Hopp |
274a5b |
.IFDEF DECC # VAX with DECC
|
|
Karsten Hopp |
274a5b |
! CC_DEF = cc # /decc # some system requires this switch
|
|
Karsten Hopp |
274a5b |
! # but when it is not required /ver might fail
|
|
Karsten Hopp |
274a5b |
PREFIX = /prefix=all
|
|
Karsten Hopp |
274a5b |
.ELSE # VAX with VAXC
|
|
Karsten Hopp |
274a5b |
CC_DEF = cc
|
|
Karsten Hopp |
274a5b |
--- 96,102 ----
|
|
Karsten Hopp |
274a5b |
|
|
Karsten Hopp |
274a5b |
.IFDEF MMSVAX
|
|
Karsten Hopp |
274a5b |
.IFDEF DECC # VAX with DECC
|
|
Karsten Hopp |
274a5b |
! CC_DEF = cc # /decc # some system requires this switch but when it is not required /ver might fail
|
|
Karsten Hopp |
274a5b |
PREFIX = /prefix=all
|
|
Karsten Hopp |
274a5b |
.ELSE # VAX with VAXC
|
|
Karsten Hopp |
274a5b |
CC_DEF = cc
|
|
Karsten Hopp |
274a5b |
*** ../vim-7.1.145/src/version.c Fri Oct 19 20:39:56 2007
|
|
Karsten Hopp |
274a5b |
--- src/version.c Mon Oct 29 22:36:20 2007
|
|
Karsten Hopp |
274a5b |
***************
|
|
Karsten Hopp |
274a5b |
*** 668,669 ****
|
|
Karsten Hopp |
274a5b |
--- 668,671 ----
|
|
Karsten Hopp |
274a5b |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
274a5b |
+ /**/
|
|
Karsten Hopp |
274a5b |
+ 146,
|
|
Karsten Hopp |
274a5b |
/**/
|
|
Karsten Hopp |
274a5b |
|
|
Karsten Hopp |
274a5b |
--
|
|
Karsten Hopp |
274a5b |
Be thankful to be in a traffic jam, because it means you own a car.
|
|
Karsten Hopp |
274a5b |
|
|
Karsten Hopp |
274a5b |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
274a5b |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
274a5b |
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
|
Karsten Hopp |
274a5b |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|